mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-16 00:41:24 +01:00
b86bec8109
- Reduce vertical space usage, so more information is available on the screen without the need to scroll. - Show information for lines with higher values at the top of the legend under the graph. This should simplify graph analysis when it contains many lines.
2 lines
307 KiB
JavaScript
2 lines
307 KiB
JavaScript
/*! For license information please see main.02178f4b.js.LICENSE.txt */
|
|
!function(){var e={680:function(e,t,n){"use strict";var r=n(476),i=n(962),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&o(e,".prototype.")>-1?i(n):n}},962:function(e,t,n){"use strict";var r=n(199),i=n(476),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),u=i("%Reflect.apply%",!0)||r.call(a,o),l=i("%Object.getOwnPropertyDescriptor%",!0),c=i("%Object.defineProperty%",!0),s=i("%Math.max%");if(c)try{c({},"a",{value:1})}catch(p){c=null}e.exports=function(e){var t=u(r,a,arguments);l&&c&&(l(t,"length").configurable&&c(t,"length",{value:1+s(0,e.length-(arguments.length-1))}));return t};var f=function(){return u(r,o,arguments)};c?c(e.exports,"apply",{value:f}):e.exports.apply=f},123:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var u in n)r.call(n,u)&&n[u]&&e.push(u)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},658:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",o="minute",a="hour",u="day",l="week",c="month",s="quarter",f="year",p="date",d="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},g=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+g(r,2,"0")+":"+g(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,c),o=n-i<0,a=t.clone().add(r+(o?-1:1),c);return+(-(r+(n-i)/(o?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:f,w:l,d:u,D:p,h:a,m:o,s:i,ms:r,Q:s}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},_="en",b={};b[_]=m;var D=function(e){return e instanceof x},w=function e(t,n,r){var i;if(!t)return _;if("string"==typeof t){var o=t.toLowerCase();b[o]&&(i=o),n&&(b[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var u=t.name;b[u]=t,i=u}return!r&&i&&(_=i),i||!r&&_},A=function(e,t){if(D(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new x(n)},k=y;k.l=w,k.i=D,k.w=function(e,t){return A(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var x=function(){function m(e){this.$L=w(e.locale,null,!0),this.parse(e)}var g=m.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(k.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return k},g.isValid=function(){return!(this.$d.toString()===d)},g.isSame=function(e,t){var n=A(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return A(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<A(e)},g.$g=function(e,t,n){return k.u(e)?this[t]:this.set(n,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var n=this,r=!!k.u(t)||t,s=k.p(e),d=function(e,t){var i=k.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(u)},h=function(e,t){return k.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},v=this.$W,m=this.$M,g=this.$D,y="set"+(this.$u?"UTC":"");switch(s){case f:return r?d(1,0):d(31,11);case c:return r?d(1,m):d(0,m+1);case l:var _=this.$locale().weekStart||0,b=(v<_?v+7:v)-_;return d(r?g-b:g+(6-b),m);case u:case p:return h(y+"Hours",0);case a:return h(y+"Minutes",1);case o:return h(y+"Seconds",2);case i:return h(y+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var n,l=k.p(e),s="set"+(this.$u?"UTC":""),d=(n={},n[u]=s+"Date",n[p]=s+"Date",n[c]=s+"Month",n[f]=s+"FullYear",n[a]=s+"Hours",n[o]=s+"Minutes",n[i]=s+"Seconds",n[r]=s+"Milliseconds",n)[l],h=l===u?this.$D+(t-this.$W):t;if(l===c||l===f){var v=this.clone().set(p,1);v.$d[d](h),v.init(),this.$d=v.set(p,Math.min(this.$D,v.daysInMonth())).$d}else d&&this.$d[d](h);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[k.p(e)]()},g.add=function(r,s){var p,d=this;r=Number(r);var h=k.p(s),v=function(e){var t=A(d);return k.w(t.date(t.date()+Math.round(e*r)),d)};if(h===c)return this.set(c,this.$M+r);if(h===f)return this.set(f,this.$y+r);if(h===u)return v(1);if(h===l)return v(7);var m=(p={},p[o]=t,p[a]=n,p[i]=e,p)[h]||1,g=this.$d.getTime()+r*m;return k.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||d;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=k.z(this),o=this.$H,a=this.$m,u=this.$M,l=n.weekdays,c=n.months,s=n.meridiem,f=function(e,n,i,o){return e&&(e[n]||e(t,r))||i[n].slice(0,o)},p=function(e){return k.s(o%12||12,e,"0")},h=s||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(v,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return k.s(t.$y,4,"0");case"M":return u+1;case"MM":return k.s(u+1,2,"0");case"MMM":return f(n.monthsShort,u,c,3);case"MMMM":return f(c,u);case"D":return t.$D;case"DD":return k.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(n.weekdaysMin,t.$W,l,2);case"ddd":return f(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(o);case"HH":return k.s(o,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return h(o,a,!0);case"A":return h(o,a,!1);case"m":return String(a);case"mm":return k.s(a,2,"0");case"s":return String(t.$s);case"ss":return k.s(t.$s,2,"0");case"SSS":return k.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(r,p,d){var h,v=this,m=k.p(p),g=A(r),y=(g.utcOffset()-this.utcOffset())*t,_=this-g,b=function(){return k.m(v,g)};switch(m){case f:h=b()/12;break;case c:h=b();break;case s:h=b()/3;break;case l:h=(_-y)/6048e5;break;case u:h=(_-y)/864e5;break;case a:h=_/n;break;case o:h=_/t;break;case i:h=_/e;break;default:h=_}return d?h:k.a(h)},g.daysInMonth=function(){return this.endOf(c).$D},g.$locale=function(){return b[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=w(e,t,!0);return r&&(n.$L=r),n},g.clone=function(){return k.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},m}(),E=x.prototype;return A.prototype=E,[["$ms",r],["$s",i],["$m",o],["$H",a],["$W",u],["$M",c],["$y",f],["$D",p]].forEach((function(e){E[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),A.extend=function(e,t){return e.$i||(e(t,x,A),e.$i=!0),A},A.locale=w,A.isDayjs=D,A.unix=function(e){return A(1e3*e)},A.en=b[_],A.Ls=b,A.p={},A}()},446:function(e){e.exports=function(){"use strict";var e,t,n=1e3,r=6e4,i=36e5,o=864e5,a=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,u=31536e6,l=2592e6,c=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,s={years:u,months:l,days:o,hours:i,minutes:r,seconds:n,milliseconds:1,weeks:6048e5},f=function(e){return e instanceof y},p=function(e,t,n){return new y(e,n,t.$l)},d=function(e){return t.p(e)+"s"},h=function(e){return e<0},v=function(e){return h(e)?Math.ceil(e):Math.floor(e)},m=function(e){return Math.abs(e)},g=function(e,t){return e?h(e)?{negative:!0,format:""+m(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},y=function(){function h(e,t,n){var r=this;if(this.$d={},this.$l=n,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t)return p(e*s[d(t)],this);if("number"==typeof e)return this.$ms=e,this.parseFromMilliseconds(),this;if("object"==typeof e)return Object.keys(e).forEach((function(t){r.$d[d(t)]=e[t]})),this.calMilliseconds(),this;if("string"==typeof e){var i=e.match(c);if(i){var o=i.slice(2).map((function(e){return null!=e?Number(e):0}));return this.$d.years=o[0],this.$d.months=o[1],this.$d.weeks=o[2],this.$d.days=o[3],this.$d.hours=o[4],this.$d.minutes=o[5],this.$d.seconds=o[6],this.calMilliseconds(),this}}return this}var m=h.prototype;return m.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*s[n]}),0)},m.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=v(e/u),e%=u,this.$d.months=v(e/l),e%=l,this.$d.days=v(e/o),e%=o,this.$d.hours=v(e/i),e%=i,this.$d.minutes=v(e/r),e%=r,this.$d.seconds=v(e/n),e%=n,this.$d.milliseconds=e},m.toISOString=function(){var e=g(this.$d.years,"Y"),t=g(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=g(n,"D"),i=g(this.$d.hours,"H"),o=g(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3);var u=g(a,"S"),l=e.negative||t.negative||r.negative||i.negative||o.negative||u.negative,c=i.format||o.format||u.format?"T":"",s=(l?"-":"")+"P"+e.format+t.format+r.format+c+i.format+o.format+u.format;return"P"===s||"-P"===s?"P0D":s},m.toJSON=function(){return this.toISOString()},m.format=function(e){var n=e||"YYYY-MM-DDTHH:mm:ss",r={Y:this.$d.years,YY:t.s(this.$d.years,2,"0"),YYYY:t.s(this.$d.years,4,"0"),M:this.$d.months,MM:t.s(this.$d.months,2,"0"),D:this.$d.days,DD:t.s(this.$d.days,2,"0"),H:this.$d.hours,HH:t.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,"0"),SSS:t.s(this.$d.milliseconds,3,"0")};return n.replace(a,(function(e,t){return t||String(r[e])}))},m.as=function(e){return this.$ms/s[d(e)]},m.get=function(e){var t=this.$ms,n=d(e);return"milliseconds"===n?t%=1e3:t="weeks"===n?v(t/s[n]):this.$d[n],0===t?0:t},m.add=function(e,t,n){var r;return r=t?e*s[d(t)]:f(e)?e.$ms:p(e,this).$ms,p(this.$ms+r*(n?-1:1),this)},m.subtract=function(e,t){return this.add(e,t,!0)},m.locale=function(e){var t=this.clone();return t.$l=e,t},m.clone=function(){return p(this.$ms,this)},m.humanize=function(t){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},m.valueOf=function(){return this.asMilliseconds()},m.milliseconds=function(){return this.get("milliseconds")},m.asMilliseconds=function(){return this.as("milliseconds")},m.seconds=function(){return this.get("seconds")},m.asSeconds=function(){return this.as("seconds")},m.minutes=function(){return this.get("minutes")},m.asMinutes=function(){return this.as("minutes")},m.hours=function(){return this.get("hours")},m.asHours=function(){return this.as("hours")},m.days=function(){return this.get("days")},m.asDays=function(){return this.as("days")},m.weeks=function(){return this.get("weeks")},m.asWeeks=function(){return this.as("weeks")},m.months=function(){return this.get("months")},m.asMonths=function(){return this.as("months")},m.years=function(){return this.get("years")},m.asYears=function(){return this.as("years")},h}(),_=function(e,t,n){return e.add(t.years()*n,"y").add(t.months()*n,"M").add(t.days()*n,"d").add(t.hours()*n,"h").add(t.minutes()*n,"m").add(t.seconds()*n,"s").add(t.milliseconds()*n,"ms")};return function(n,r,i){e=i,t=i().$utils(),i.duration=function(e,t){var n=i.locale();return p(e,{$l:n},t)},i.isDuration=f;var o=r.prototype.add,a=r.prototype.subtract;r.prototype.add=function(e,t){return f(e)?_(this,e,1):o.bind(this)(e,t)},r.prototype.subtract=function(e,t){return f(e)?_(this,e,-1):a.bind(this)(e,t)}}}()},443:function(e){e.exports=function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,i){var o,a=function(e,n,r){void 0===r&&(r={});var i=new Date(e),o=function(e,n){void 0===n&&(n={});var r=n.timeZoneName||"short",i=e+"|"+r,o=t[i];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:r}),t[i]=o),o}(n,r);return o.formatToParts(i)},u=function(t,n){for(var r=a(t,n),o=[],u=0;u<r.length;u+=1){var l=r[u],c=l.type,s=l.value,f=e[c];f>=0&&(o[f]=parseInt(s,10))}var p=o[3],d=24===p?0:p,h=o[0]+"-"+o[1]+"-"+o[2]+" "+d+":"+o[4]+":"+o[5]+":000",v=+t;return(i.utc(h).valueOf()-(v-=v%1e3))/6e4},l=r.prototype;l.tz=function(e,t){void 0===e&&(e=o);var n=this.utcOffset(),r=this.toDate(),a=r.toLocaleString("en-US",{timeZone:e}),u=Math.round((r-new Date(a))/1e3/60),l=i(a).$set("millisecond",this.$ms).utcOffset(15*-Math.round(r.getTimezoneOffset()/15)-u,!0);if(t){var c=l.utcOffset();l=l.add(n-c,"minute")}return l.$x.$timezone=e,l},l.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),n=a(this.valueOf(),t,{timeZoneName:e}).find((function(e){return"timezonename"===e.type.toLowerCase()}));return n&&n.value};var c=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var n=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return c.call(n,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,n){var r=n&&t,a=n||t||o,l=u(+i(),a);if("string"!=typeof e)return i(e).tz(a);var c=function(e,t,n){var r=e-60*t*1e3,i=u(r,n);if(t===i)return[r,t];var o=u(r-=60*(i-t)*1e3,n);return i===o?[r,i]:[e-60*Math.min(i,o)*1e3,Math.max(i,o)]}(i.utc(e,r).valueOf(),l,a),s=c[0],f=c[1],p=i(s).utcOffset(f);return p.$x.$timezone=a,p},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){o=e}}}()},635:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,o){var a=i.prototype;o.utc=function(e){return new i({date:e,utc:!0,args:arguments})},a.utc=function(t){var n=o(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var u=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),u.call(this,e)};var l=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var c=a.utcOffset;a.utcOffset=function(r,i){var o=this.$utils().u;if(o(r))return this.$u?0:o(this.$offset)?c.call(this):this.$offset;if("string"==typeof r&&(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var i=(""+r[0]).match(n)||["-",0,0],o=i[0],a=60*+i[1]+ +i[2];return 0===a?0:"+"===o?a:-a}(r),null===r))return this;var a=Math.abs(r)<=16?60*r:r,u=this;if(i)return u.$offset=a,u.$u=0===r,u;if(0!==r){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(u=this.local().add(a+l,e)).$offset=a,u.$x.$localOffset=l}else u=this.utc();return u};var s=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return s.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var f=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var p=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return p.call(this,e,t,n);var r=this.local(),i=o(e).local();return p.call(r,i,t,n)}}}()},781:function(e){"use strict";var t=Array.prototype.slice,n=Object.prototype.toString;e.exports=function(e){var r=this;if("function"!==typeof r||"[object Function]"!==n.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var i,o=t.call(arguments,1),a=Math.max(0,r.length-o.length),u=[],l=0;l<a;l++)u.push("$"+l);if(i=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof i){var n=r.apply(this,o.concat(t.call(arguments)));return Object(n)===n?n:this}return r.apply(e,o.concat(t.call(arguments)))})),r.prototype){var c=function(){};c.prototype=r.prototype,i.prototype=new c,c.prototype=null}return i}},199:function(e,t,n){"use strict";var r=n(781);e.exports=Function.prototype.bind||r},476:function(e,t,n){"use strict";var r,i=SyntaxError,o=Function,a=TypeError,u=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(t){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(M){l=null}var c=function(){throw new a},s=l?function(){try{return c}catch(e){try{return l(arguments,"callee").get}catch(t){return c}}}():c,f=n(520)(),p=n(593)(),d=Object.getPrototypeOf||(p?function(e){return e.__proto__}:null),h={},v="undefined"!==typeof Uint8Array&&d?d(Uint8Array):r,m={"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":f&&d?d([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"===typeof Atomics?r:Atomics,"%BigInt%":"undefined"===typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f&&d?d(d([][Symbol.iterator]())):r,"%JSON%":"object"===typeof JSON?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&f&&d?d((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?r:Promise,"%Proxy%":"undefined"===typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&f&&d?d((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f&&d?d(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":s,"%TypedArray%":v,"%TypeError%":a,"%Uint8Array%":"undefined"===typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?r:WeakSet};if(d)try{null.error}catch(M){var g=d(d(M));m["%Error.prototype%"]=g}var y=function e(t){var n;if("%AsyncFunction%"===t)n=u("async function () {}");else if("%GeneratorFunction%"===t)n=u("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=u("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&d&&(n=d(i.prototype))}return m[t]=n,n},_={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=n(199),D=n(838),w=b.call(Function.call,Array.prototype.concat),A=b.call(Function.apply,Array.prototype.splice),k=b.call(Function.call,String.prototype.replace),x=b.call(Function.call,String.prototype.slice),E=b.call(Function.call,RegExp.prototype.exec),C=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,S=/\\(\\)?/g,F=function(e,t){var n,r=e;if(D(_,r)&&(r="%"+(n=_[r])[0]+"%"),D(m,r)){var o=m[r];if(o===h&&(o=y(r)),"undefined"===typeof o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===E(/^%?[^%]*%?$/,e))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=x(e,0,1),n=x(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return k(e,C,(function(e,t,n,i){r[r.length]=n?k(i,S,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=F("%"+r+"%",t),u=o.name,c=o.value,s=!1,f=o.alias;f&&(r=f[0],A(n,w([0,1],f)));for(var p=1,d=!0;p<n.length;p+=1){var h=n[p],v=x(h,0,1),g=x(h,-1);if(('"'===v||"'"===v||"`"===v||'"'===g||"'"===g||"`"===g)&&v!==g)throw new i("property names with quotes must have matching quotes");if("constructor"!==h&&d||(s=!0),D(m,u="%"+(r+="."+h)+"%"))c=m[u];else if(null!=c){if(!(h in c)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&p+1>=n.length){var y=l(c,h);c=(d=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:c[h]}else d=D(c,h),c=c[h];d&&!s&&(m[u]=c)}}return c}},593:function(e){"use strict";var t={foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof n)}},520:function(e,t,n){"use strict";var r="undefined"!==typeof Symbol&&Symbol,i=n(541);e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&i())))}},541:function(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},838:function(e,t,n){"use strict";var r=n(199);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},7:function(e,t,n){var r="__lodash_hash_undefined__",i=1/0,o="[object Function]",a="[object GeneratorFunction]",u="[object Symbol]",l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/,s=/^\./,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p=/\\(\\)?/g,d=/^\[object .+?Constructor\]$/,h="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,v="object"==typeof self&&self&&self.Object===Object&&self,m=h||v||Function("return this")();var g=Array.prototype,y=Function.prototype,_=Object.prototype,b=m["__core-js_shared__"],D=function(){var e=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),w=y.toString,A=_.hasOwnProperty,k=_.toString,x=RegExp("^"+w.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),E=m.Symbol,C=g.splice,S=I(m,"Map"),F=I(Object,"create"),M=E?E.prototype:void 0,O=M?M.toString:void 0;function T(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function B(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function P(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function N(e,t){for(var n,r,i=e.length;i--;)if((n=e[i][0])===(r=t)||n!==n&&r!==r)return i;return-1}function L(e,t){var n;t=function(e,t){if(U(e))return!1;var n=typeof e;if("number"==n||"symbol"==n||"boolean"==n||null==e||W(e))return!0;return c.test(e)||!l.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:U(n=t)?n:j(n);for(var r=0,i=t.length;null!=e&&r<i;)e=e[z(t[r++])];return r&&r==i?e:void 0}function $(e){if(!V(e)||(t=e,D&&D in t))return!1;var t,n=function(e){var t=V(e)?k.call(e):"";return t==o||t==a}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}(e)?x:d;return n.test(function(e){if(null!=e){try{return w.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e))}function R(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function I(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return $(n)?n:void 0}T.prototype.clear=function(){this.__data__=F?F(null):{}},T.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},T.prototype.get=function(e){var t=this.__data__;if(F){var n=t[e];return n===r?void 0:n}return A.call(t,e)?t[e]:void 0},T.prototype.has=function(e){var t=this.__data__;return F?void 0!==t[e]:A.call(t,e)},T.prototype.set=function(e,t){return this.__data__[e]=F&&void 0===t?r:t,this},B.prototype.clear=function(){this.__data__=[]},B.prototype.delete=function(e){var t=this.__data__,n=N(t,e);return!(n<0)&&(n==t.length-1?t.pop():C.call(t,n,1),!0)},B.prototype.get=function(e){var t=this.__data__,n=N(t,e);return n<0?void 0:t[n][1]},B.prototype.has=function(e){return N(this.__data__,e)>-1},B.prototype.set=function(e,t){var n=this.__data__,r=N(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},P.prototype.clear=function(){this.__data__={hash:new T,map:new(S||B),string:new T}},P.prototype.delete=function(e){return R(this,e).delete(e)},P.prototype.get=function(e){return R(this,e).get(e)},P.prototype.has=function(e){return R(this,e).has(e)},P.prototype.set=function(e,t){return R(this,e).set(e,t),this};var j=H((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(W(e))return O?O.call(e):"";var t=e+"";return"0"==t&&1/e==-i?"-0":t}(t);var n=[];return s.test(e)&&n.push(""),e.replace(f,(function(e,t,r,i){n.push(r?i.replace(p,"$1"):t||e)})),n}));function z(e){if("string"==typeof e||W(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}function H(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(H.Cache||P),n}H.Cache=P;var U=Array.isArray;function V(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function W(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&k.call(e)==u}e.exports=function(e,t,n){var r=null==e?void 0:L(e,t);return void 0===r?n:r}},154:function(e,t,n){var r="function"===typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"===typeof i.get?i.get:null,a=r&&Map.prototype.forEach,u="function"===typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&u?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=u&&l&&"function"===typeof l.get?l.get:null,s=u&&Set.prototype.forEach,f="function"===typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"===typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"===typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,v=Object.prototype.toString,m=Function.prototype.toString,g=String.prototype.match,y=String.prototype.slice,_=String.prototype.replace,b=String.prototype.toUpperCase,D=String.prototype.toLowerCase,w=RegExp.prototype.test,A=Array.prototype.concat,k=Array.prototype.join,x=Array.prototype.slice,E=Math.floor,C="function"===typeof BigInt?BigInt.prototype.valueOf:null,S=Object.getOwnPropertySymbols,F="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,M="function"===typeof Symbol&&"object"===typeof Symbol.iterator,O="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===M||"symbol")?Symbol.toStringTag:null,T=Object.prototype.propertyIsEnumerable,B=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function P(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||w.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var r=e<0?-E(-e):E(e);if(r!==e){var i=String(r),o=y.call(t,i.length+1);return _.call(i,n,"$&_")+"."+_.call(_.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _.call(t,n,"$&_")}var N=n(654),L=N.custom,$=H(L)?L:null;function R(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function I(e){return _.call(String(e),/"/g,""")}function j(e){return"[object Array]"===W(e)&&(!O||!("object"===typeof e&&O in e))}function z(e){return"[object RegExp]"===W(e)&&(!O||!("object"===typeof e&&O in e))}function H(e){if(M)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!F)return!1;try{return F.call(e),!0}catch(t){}return!1}e.exports=function e(t,n,r,i){var u=n||{};if(V(u,"quoteStyle")&&"single"!==u.quoteStyle&&"double"!==u.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(u,"maxStringLength")&&("number"===typeof u.maxStringLength?u.maxStringLength<0&&u.maxStringLength!==1/0:null!==u.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!V(u,"customInspect")||u.customInspect;if("boolean"!==typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(u,"indent")&&null!==u.indent&&"\t"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(u,"numericSeparator")&&"boolean"!==typeof u.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var v=u.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return Y(t,u);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var b=String(t);return v?P(t,b):b}if("bigint"===typeof t){var w=String(t)+"n";return v?P(t,w):w}var E="undefined"===typeof u.depth?5:u.depth;if("undefined"===typeof r&&(r=0),r>=E&&E>0&&"object"===typeof t)return j(t)?"[Array]":"[Object]";var S=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=k.call(Array(e.indent+1)," ")}return{base:n,prev:k.call(Array(t+1),n)}}(u,r);if("undefined"===typeof i)i=[];else if(Z(i,t)>=0)return"[Circular]";function L(t,n,o){if(n&&(i=x.call(i)).push(n),o){var a={depth:u.depth};return V(u,"quoteStyle")&&(a.quoteStyle=u.quoteStyle),e(t,a,r+1,i)}return e(t,u,r+1,i)}if("function"===typeof t&&!z(t)){var U=function(e){if(e.name)return e.name;var t=g.call(m.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),q=X(t,L);return"[Function"+(U?": "+U:" (anonymous)")+"]"+(q.length>0?" { "+k.call(q,", ")+" }":"")}if(H(t)){var ee=M?_.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):F.call(t);return"object"!==typeof t||M?ee:G(ee)}if(function(e){if(!e||"object"!==typeof e)return!1;if("undefined"!==typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"===typeof e.nodeName&&"function"===typeof e.getAttribute}(t)){for(var te="<"+D.call(String(t.nodeName)),ne=t.attributes||[],re=0;re<ne.length;re++)te+=" "+ne[re].name+"="+R(I(ne[re].value),"double",u);return te+=">",t.childNodes&&t.childNodes.length&&(te+="..."),te+="</"+D.call(String(t.nodeName))+">"}if(j(t)){if(0===t.length)return"[]";var ie=X(t,L);return S&&!function(e){for(var t=0;t<e.length;t++)if(Z(e[t],"\n")>=0)return!1;return!0}(ie)?"["+K(ie,S)+"]":"[ "+k.call(ie,", ")+" ]"}if(function(e){return"[object Error]"===W(e)&&(!O||!("object"===typeof e&&O in e))}(t)){var oe=X(t,L);return"cause"in Error.prototype||!("cause"in t)||T.call(t,"cause")?0===oe.length?"["+String(t)+"]":"{ ["+String(t)+"] "+k.call(oe,", ")+" }":"{ ["+String(t)+"] "+k.call(A.call("[cause]: "+L(t.cause),oe),", ")+" }"}if("object"===typeof t&&l){if($&&"function"===typeof t[$]&&N)return N(t,{depth:E-r});if("symbol"!==l&&"function"===typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!==typeof e)return!1;try{o.call(e);try{c.call(e)}catch(te){return!0}return e instanceof Map}catch(t){}return!1}(t)){var ae=[];return a&&a.call(t,(function(e,n){ae.push(L(n,t,!0)+" => "+L(e,t))})),J("Map",o.call(t),ae,S)}if(function(e){if(!c||!e||"object"!==typeof e)return!1;try{c.call(e);try{o.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}(t)){var ue=[];return s&&s.call(t,(function(e){ue.push(L(e,t))})),J("Set",c.call(t),ue,S)}if(function(e){if(!f||!e||"object"!==typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(te){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return Q("WeakMap");if(function(e){if(!p||!e||"object"!==typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(te){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return Q("WeakSet");if(function(e){if(!d||!e||"object"!==typeof e)return!1;try{return d.call(e),!0}catch(t){}return!1}(t))return Q("WeakRef");if(function(e){return"[object Number]"===W(e)&&(!O||!("object"===typeof e&&O in e))}(t))return G(L(Number(t)));if(function(e){if(!e||"object"!==typeof e||!C)return!1;try{return C.call(e),!0}catch(t){}return!1}(t))return G(L(C.call(t)));if(function(e){return"[object Boolean]"===W(e)&&(!O||!("object"===typeof e&&O in e))}(t))return G(h.call(t));if(function(e){return"[object String]"===W(e)&&(!O||!("object"===typeof e&&O in e))}(t))return G(L(String(t)));if(!function(e){return"[object Date]"===W(e)&&(!O||!("object"===typeof e&&O in e))}(t)&&!z(t)){var le=X(t,L),ce=B?B(t)===Object.prototype:t instanceof Object||t.constructor===Object,se=t instanceof Object?"":"null prototype",fe=!ce&&O&&Object(t)===t&&O in t?y.call(W(t),8,-1):se?"Object":"",pe=(ce||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(fe||se?"["+k.call(A.call([],fe||[],se||[]),": ")+"] ":"");return 0===le.length?pe+"{}":S?pe+"{"+K(le,S)+"}":pe+"{ "+k.call(le,", ")+" }"}return String(t)};var U=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return U.call(e,t)}function W(e){return v.call(e)}function Z(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function Y(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Y(y.call(e,0,t.maxStringLength),t)+r}return R(_.call(_.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,q),"single",t)}function q(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+b.call(t.toString(16))}function G(e){return"Object("+e+")"}function Q(e){return e+" { ? }"}function J(e,t,n,r){return e+" ("+t+") {"+(r?K(n,r):k.call(n,", "))+"}"}function K(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+k.call(e,","+n)+"\n"+t.prev}function X(e,t){var n=j(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=V(e,i)?t(e[i],e):""}var o,a="function"===typeof S?S(e):[];if(M){o={};for(var u=0;u<a.length;u++)o["$"+a[u]]=a[u]}for(var l in e)V(e,l)&&(n&&String(Number(l))===l&&l<e.length||M&&o["$"+l]instanceof Symbol||(w.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"===typeof S)for(var c=0;c<a.length;c++)T.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}},609:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC1738",i="RFC3986";e.exports={default:i,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r,RFC3986:i}},776:function(e,t,n){"use strict";var r=n(816),i=n(668),o=n(609);e.exports={formats:o,parse:i,stringify:r}},668:function(e,t,n){"use strict";var r=n(837),i=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},u=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"===typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,u=n.depth>0&&/(\[[^[\]]*])/.exec(o),c=u?o.slice(0,u.index):o,s=[];if(c){if(!n.plainObjects&&i.call(Object.prototype,c)&&!n.allowPrototypes)return;s.push(c)}for(var f=0;n.depth>0&&null!==(u=a.exec(o))&&f<n.depth;){if(f+=1,!n.plainObjects&&i.call(Object.prototype,u[1].slice(1,-1))&&!n.allowPrototypes)return;s.push(u[1])}return u&&s.push("["+o.slice(u.index)+"]"),function(e,t,n,r){for(var i=r?t:l(t,n),o=e.length-1;o>=0;--o){var a,u=e[o];if("[]"===u&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var c="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,s=parseInt(c,10);n.parseArrays||""!==c?!isNaN(s)&&u!==c&&String(s)===c&&s>=0&&n.parseArrays&&s<=n.arrayLimit?(a=[])[s]=i:"__proto__"!==c&&(a[c]=i):a={0:i}}i=a}return i}(s,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t="undefined"===typeof e.charset?a.charset:e.charset;return{allowDots:"undefined"===typeof e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:a.comma,decoder:"function"===typeof e.decoder?e.decoder:a.decoder,delimiter:"string"===typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null===e||"undefined"===typeof e)return n.plainObjects?Object.create(null):{};for(var s="string"===typeof e?function(e,t){var n,c={__proto__:null},s=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,p=s.split(t.delimiter,f),d=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n<p.length;++n)0===p[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[n]?h="utf-8":"utf8=%26%2310003%3B"===p[n]&&(h="iso-8859-1"),d=n,n=p.length);for(n=0;n<p.length;++n)if(n!==d){var v,m,g=p[n],y=g.indexOf("]="),_=-1===y?g.indexOf("="):y+1;-1===_?(v=t.decoder(g,a.decoder,h,"key"),m=t.strictNullHandling?null:""):(v=t.decoder(g.slice(0,_),a.decoder,h,"key"),m=r.maybeMap(l(g.slice(_+1),t),(function(e){return t.decoder(e,a.decoder,h,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===h&&(m=u(m)),g.indexOf("[]=")>-1&&(m=o(m)?[m]:m),i.call(c,v)?c[v]=r.combine(c[v],m):c[v]=m}return c}(e,n):e,f=n.plainObjects?Object.create(null):{},p=Object.keys(s),d=0;d<p.length;++d){var h=p[d],v=c(h,s[h],n,"string"===typeof e);f=r.merge(f,v,n)}return!0===n.allowSparse?f:r.compact(f)}},816:function(e,t,n){"use strict";var r=n(170),i=n(837),o=n(609),a=Object.prototype.hasOwnProperty,u={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,s=function(e,t){c.apply(e,l(t)?t:[t])},f=Date.prototype.toISOString,p=o.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:p,formatter:o.formatters[p],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},h={},v=function e(t,n,o,a,u,c,f,p,v,m,g,y,_,b,D,w){for(var A,k=t,x=w,E=0,C=!1;void 0!==(x=x.get(h))&&!C;){var S=x.get(t);if(E+=1,"undefined"!==typeof S){if(S===E)throw new RangeError("Cyclic object value");C=!0}"undefined"===typeof x.get(h)&&(E=0)}if("function"===typeof p?k=p(n,k):k instanceof Date?k=g(k):"comma"===o&&l(k)&&(k=i.maybeMap(k,(function(e){return e instanceof Date?g(e):e}))),null===k){if(u)return f&&!b?f(n,d.encoder,D,"key",y):n;k=""}if("string"===typeof(A=k)||"number"===typeof A||"boolean"===typeof A||"symbol"===typeof A||"bigint"===typeof A||i.isBuffer(k))return f?[_(b?n:f(n,d.encoder,D,"key",y))+"="+_(f(k,d.encoder,D,"value",y))]:[_(n)+"="+_(String(k))];var F,M=[];if("undefined"===typeof k)return M;if("comma"===o&&l(k))b&&f&&(k=i.maybeMap(k,f)),F=[{value:k.length>0?k.join(",")||null:void 0}];else if(l(p))F=p;else{var O=Object.keys(k);F=v?O.sort(v):O}for(var T=a&&l(k)&&1===k.length?n+"[]":n,B=0;B<F.length;++B){var P=F[B],N="object"===typeof P&&"undefined"!==typeof P.value?P.value:k[P];if(!c||null!==N){var L=l(k)?"function"===typeof o?o(T,P):T:T+(m?"."+P:"["+P+"]");w.set(t,E);var $=r();$.set(h,w),s(M,e(N,L,o,a,u,c,"comma"===o&&b&&l(k)?null:f,p,v,m,g,y,_,b,D,$))}}return M};e.exports=function(e,t){var n,i=e,c=function(e){if(!e)return d;if(null!==e.encoder&&"undefined"!==typeof e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||d.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if("undefined"!==typeof e.format){if(!a.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],i=d.filter;return("function"===typeof e.filter||l(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:"undefined"===typeof e.allowDots?d.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,delimiter:"undefined"===typeof e.delimiter?d.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:d.encode,encoder:"function"===typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"===typeof c.filter?i=(0,c.filter)("",i):l(c.filter)&&(n=c.filter);var f,p=[];if("object"!==typeof i||null===i)return"";f=t&&t.arrayFormat in u?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var h=u[f];if(t&&"commaRoundTrip"in t&&"boolean"!==typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var m="comma"===h&&t&&t.commaRoundTrip;n||(n=Object.keys(i)),c.sort&&n.sort(c.sort);for(var g=r(),y=0;y<n.length;++y){var _=n[y];c.skipNulls&&null===i[_]||s(p,v(i[_],_,h,m,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,g))}var b=p.join(c.delimiter),D=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?D+="utf8=%26%2310003%3B&":D+="utf8=%E2%9C%93&"),b.length>0?D+b:""}},837:function(e,t,n){"use strict";var r=n(609),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),u=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)"undefined"!==typeof e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:u,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],u=Object.keys(a),l=0;l<u.length;++l){var c=u[l],s=a[c];"object"===typeof s&&null!==s&&-1===n.indexOf(s)&&(t.push({obj:a,prop:c}),n.push(s))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)"undefined"!==typeof n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(i){return r}},encode:function(e,t,n,i,o){if(0===e.length)return e;var u=e;if("symbol"===typeof e?u=Symbol.prototype.toString.call(e):"string"!==typeof e&&(u=String(e)),"iso-8859-1"===n)return escape(u).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",c=0;c<u.length;++c){var s=u.charCodeAt(c);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||o===r.RFC1738&&(40===s||41===s)?l+=u.charAt(c):s<128?l+=a[s]:s<2048?l+=a[192|s>>6]+a[128|63&s]:s<55296||s>=57344?l+=a[224|s>>12]+a[128|s>>6&63]+a[128|63&s]:(c+=1,s=65536+((1023&s)<<10|1023&u.charCodeAt(c)),l+=a[240|s>>18]+a[128|s>>12&63]+a[128|s>>6&63]+a[128|63&s])}return l},isBuffer:function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!==typeof n){if(o(t))t.push(n);else{if(!t||"object"!==typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!==typeof t)return[t].concat(n);var a=t;return o(t)&&!o(n)&&(a=u(t,r)),o(t)&&o(n)?(n.forEach((function(n,o){if(i.call(t,o)){var a=t[o];a&&"object"===typeof a&&n&&"object"===typeof n?t[o]=e(a,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return i.call(t,o)?t[o]=e(t[o],a,r):t[o]=a,t}),a)}}},170:function(e,t,n){"use strict";var r=n(476),i=n(680),o=n(154),a=r("%TypeError%"),u=r("%WeakMap%",!0),l=r("%Map%",!0),c=i("WeakMap.prototype.get",!0),s=i("WeakMap.prototype.set",!0),f=i("WeakMap.prototype.has",!0),p=i("Map.prototype.get",!0),d=i("Map.prototype.set",!0),h=i("Map.prototype.has",!0),v=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+o(e))},get:function(r){if(u&&r&&("object"===typeof r||"function"===typeof r)){if(e)return c(e,r)}else if(l){if(t)return p(t,r)}else if(n)return function(e,t){var n=v(e,t);return n&&n.value}(n,r)},has:function(r){if(u&&r&&("object"===typeof r||"function"===typeof r)){if(e)return f(e,r)}else if(l){if(t)return h(t,r)}else if(n)return function(e,t){return!!v(e,t)}(n,r);return!1},set:function(r,i){u&&r&&("object"===typeof r||"function"===typeof r)?(e||(e=new u),s(e,r,i)):l?(t||(t=new l),d(t,r,i)):(n||(n={key:{},next:null}),function(e,t,n){var r=v(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,i))}};return r}},654:function(){}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.m=e,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/js/"+e+".b5ae4365.chunk.js"},n.miniCssF=function(e){},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="vmui:";n.l=function(r,i,o,a){if(e[r])e[r].push(i);else{var u,l;if(void 0!==o)for(var c=document.getElementsByTagName("script"),s=0;s<c.length;s++){var f=c[s];if(f.getAttribute("src")==r||f.getAttribute("data-webpack")==t+o){u=f;break}}u||(l=!0,(u=document.createElement("script")).charset="utf-8",u.timeout=120,n.nc&&u.setAttribute("nonce",n.nc),u.setAttribute("data-webpack",t+o),u.src=r),e[r]=[i];var p=function(t,n){u.onerror=u.onload=null,clearTimeout(d);var i=e[r];if(delete e[r],u.parentNode&&u.parentNode.removeChild(u),i&&i.forEach((function(e){return e(n)})),t)return t(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=p.bind(null,u.onerror),u.onload=p.bind(null,u.onload),l&&document.head.appendChild(u)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="./",function(){var e={179:0};n.f.j=function(t,r){var i=n.o(e,t)?e[t]:void 0;if(0!==i)if(i)r.push(i[2]);else{var o=new Promise((function(n,r){i=e[t]=[n,r]}));r.push(i[2]=o);var a=n.p+n.u(t),u=new Error;n.l(a,(function(r){if(n.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;u.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",u.name="ChunkLoadError",u.type=o,u.request=a,i[1](u)}}),"chunk-"+t,t)}};var t=function(t,r){var i,o,a=r[0],u=r[1],l=r[2],c=0;if(a.some((function(t){return 0!==e[t]}))){for(i in u)n.o(u,i)&&(n.m[i]=u[i]);if(l)l(n)}for(t&&t(r);c<a.length;c++)o=a[c],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self.webpackChunkvmui=self.webpackChunkvmui||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}(),function(){"use strict";var e={};n.r(e),n.d(e,{Children:function(){return Oe},Component:function(){return b},Fragment:function(){return _},PureComponent:function(){return xe},StrictMode:function(){return mt},Suspense:function(){return Le},SuspenseList:function(){return Ie},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:function(){return ut},cloneElement:function(){return ft},createContext:function(){return U},createElement:function(){return m},createFactory:function(){return ct},createPortal:function(){return Ue},createRef:function(){return y},default:function(){return At},findDOMNode:function(){return dt},flushSync:function(){return vt},forwardRef:function(){return Fe},hydrate:function(){return Je},isValidElement:function(){return st},lazy:function(){return Re},memo:function(){return Ee},render:function(){return Qe},startTransition:function(){return gt},unmountComponentAtNode:function(){return pt},unstable_batchedUpdates:function(){return ht},useCallback:function(){return se},useContext:function(){return fe},useDebugValue:function(){return pe},useDeferredValue:function(){return yt},useEffect:function(){return oe},useErrorBoundary:function(){return de},useId:function(){return he},useImperativeHandle:function(){return le},useInsertionEffect:function(){return bt},useLayoutEffect:function(){return ae},useMemo:function(){return ce},useReducer:function(){return ie},useRef:function(){return ue},useState:function(){return re},useSyncExternalStore:function(){return Dt},useTransition:function(){return _t},version:function(){return lt}});var t,r,i,o,a,u,l,c,s={},f=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,d=Array.isArray;function h(e,t){for(var n in t)e[n]=t[n];return e}function v(e){var t=e.parentNode;t&&t.removeChild(e)}function m(e,n,r){var i,o,a,u={};for(a in n)"key"==a?i=n[a]:"ref"==a?o=n[a]:u[a]=n[a];if(arguments.length>2&&(u.children=arguments.length>3?t.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===u[a]&&(u[a]=e.defaultProps[a]);return g(e,u,i,o,null)}function g(e,t,n,o,a){var u={type:e,props:t,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++i:a};return null==a&&null!=r.vnode&&r.vnode(u),u}function y(){return{current:null}}function _(e){return e.children}function b(e,t){this.props=e,this.context=t}function D(e,t){if(null==t)return e.__?D(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?D(e):null}function w(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return w(e)}}function A(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!k.__r++||a!==r.debounceRendering)&&((a=r.debounceRendering)||u)(k)}function k(){var e,t,n,r,i,a,u,c,s;for(o.sort(l);e=o.shift();)e.__d&&(t=o.length,r=void 0,i=void 0,a=void 0,c=(u=(n=e).__v).__e,(s=n.__P)&&(r=[],i=[],(a=h({},u)).__v=u.__v+1,P(s,u,a,n.__n,void 0!==s.ownerSVGElement,null!=u.__h?[c]:null,r,null==c?D(u):c,u.__h,i),N(r,u,i),u.__e!=c&&w(u)),o.length>t&&o.sort(l));k.__r=0}function x(e,t,n,r,i,o,a,u,l,c,p){var h,v,m,y,b,D,w,A,k,x,C=0,M=r&&r.__k||f,O=M.length,T=O,B=t.length;for(n.__k=[],h=0;h<B;h++)null!=(y=n.__k[h]=null==(y=t[h])||"boolean"==typeof y||"function"==typeof y?null:"string"==typeof y||"number"==typeof y||"bigint"==typeof y?g(null,y,null,null,y):d(y)?g(_,{children:y},null,null,null):y.__b>0?g(y.type,y.props,y.key,y.ref?y.ref:null,y.__v):y)&&(y.__=n,y.__b=n.__b+1,-1===(A=F(y,M,w=h+C,T))?m=s:(m=M[A]||s,M[A]=void 0,T--),P(e,y,m,i,o,a,u,l,c,p),b=y.__e,(v=y.ref)&&m.ref!=v&&(m.ref&&$(m.ref,null,y),p.push(v,y.__c||b,y)),null!=b&&(null==D&&(D=b),x=!(k=m===s||null===m.__v)&&A===w,k?-1==A&&C--:A!==w&&(A===w+1?(C++,x=!0):A>w?T>B-w?(C+=A-w,x=!0):C--:C=A<w&&A==w-1?A-w:0),w=h+C,x=x||A==h&&!k,"function"!=typeof y.type||A===w&&m.__k!==y.__k?"function"==typeof y.type||x?void 0!==y.__d?(l=y.__d,y.__d=void 0):l=b.nextSibling:l=S(e,b,l):l=E(y,l,e),"function"==typeof n.type&&(n.__d=l)));for(n.__e=D,h=O;h--;)null!=M[h]&&("function"==typeof n.type&&null!=M[h].__e&&M[h].__e==n.__d&&(n.__d=M[h].__e.nextSibling),R(M[h],M[h]))}function E(e,t,n){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,t="function"==typeof r.type?E(r,t,n):S(n,r.__e,t));return t}function C(e,t){return t=t||[],null==e||"boolean"==typeof e||(d(e)?e.some((function(e){C(e,t)})):t.push(e)),t}function S(e,t,n){return null==n||n.parentNode!==e?e.insertBefore(t,null):t==n&&null!=t.parentNode||e.insertBefore(t,n),t.nextSibling}function F(e,t,n,r){var i=e.key,o=e.type,a=n-1,u=n+1,l=t[n];if(null===l||l&&i==l.key&&o===l.type)return n;if(r>(null!=l?1:0))for(;a>=0||u<t.length;){if(a>=0){if((l=t[a])&&i==l.key&&o===l.type)return a;a--}if(u<t.length){if((l=t[u])&&i==l.key&&o===l.type)return u;u++}}return-1}function M(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||p.test(t)?n:n+"px"}function O(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||M(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||M(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r||e.addEventListener(t,o?B:T,o):e.removeEventListener(t,o?B:T,o);else if("dangerouslySetInnerHTML"!==t){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function T(e){return this.l[e.type+!1](r.event?r.event(e):e)}function B(e){return this.l[e.type+!0](r.event?r.event(e):e)}function P(e,t,n,i,o,a,u,l,c,s){var f,p,v,m,g,y,D,w,A,k,E,C,S,F,M,O=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(c=n.__h,l=t.__e=n.__e,t.__h=null,a=[l]),(f=r.__b)&&f(t);try{e:if("function"==typeof O){if(w=t.props,A=(f=O.contextType)&&i[f.__c],k=f?A?A.props.value:f.__:i,n.__c?D=(p=t.__c=n.__c).__=p.__E:("prototype"in O&&O.prototype.render?t.__c=p=new O(w,k):(t.__c=p=new b(w,k),p.constructor=O,p.render=I),A&&A.sub(p),p.props=w,p.state||(p.state={}),p.context=k,p.__n=i,v=p.__d=!0,p.__h=[],p._sb=[]),null==p.__s&&(p.__s=p.state),null!=O.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=h({},p.__s)),h(p.__s,O.getDerivedStateFromProps(w,p.__s))),m=p.props,g=p.state,p.__v=t,v)null==O.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==O.getDerivedStateFromProps&&w!==m&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(w,k),!p.__e&&(null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(w,p.__s,k)||t.__v===n.__v)){for(t.__v!==n.__v&&(p.props=w,p.state=p.__s,p.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),E=0;E<p._sb.length;E++)p.__h.push(p._sb[E]);p._sb=[],p.__h.length&&u.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(w,p.__s,k),null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(m,g,y)}))}if(p.context=k,p.props=w,p.__P=e,p.__e=!1,C=r.__r,S=0,"prototype"in O&&O.prototype.render){for(p.state=p.__s,p.__d=!1,C&&C(t),f=p.render(p.props,p.state,p.context),F=0;F<p._sb.length;F++)p.__h.push(p._sb[F]);p._sb=[]}else do{p.__d=!1,C&&C(t),f=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++S<25);p.state=p.__s,null!=p.getChildContext&&(i=h(h({},i),p.getChildContext())),v||null==p.getSnapshotBeforeUpdate||(y=p.getSnapshotBeforeUpdate(m,g)),x(e,d(M=null!=f&&f.type===_&&null==f.key?f.props.children:f)?M:[M],t,n,i,o,a,u,l,c,s),p.base=t.__e,t.__h=null,p.__h.length&&u.push(p),D&&(p.__E=p.__=null)}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=L(n.__e,t,n,i,o,a,u,c,s);(f=r.diffed)&&f(t)}catch(e){t.__v=null,(c||null!=a)&&(t.__e=l,t.__h=!!c,a[a.indexOf(l)]=null),r.__e(e,t,n)}}function N(e,t,n){for(var i=0;i<n.length;i++)$(n[i],n[++i],n[++i]);r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function L(e,n,r,i,o,a,u,l,c){var f,p,h,m=r.props,g=n.props,y=n.type,_=0;if("svg"===y&&(o=!0),null!=a)for(;_<a.length;_++)if((f=a[_])&&"setAttribute"in f==!!y&&(y?f.localName===y:3===f.nodeType)){e=f,a[_]=null;break}if(null==e){if(null===y)return document.createTextNode(g);e=o?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,g.is&&g),a=null,l=!1}if(null===y)m===g||l&&e.data===g||(e.data=g);else{if(a=a&&t.call(e.childNodes),p=(m=r.props||s).dangerouslySetInnerHTML,h=g.dangerouslySetInnerHTML,!l){if(null!=a)for(m={},_=0;_<e.attributes.length;_++)m[e.attributes[_].name]=e.attributes[_].value;(h||p)&&(h&&(p&&h.__html==p.__html||h.__html===e.innerHTML)||(e.innerHTML=h&&h.__html||""))}if(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||O(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||O(e,o,t[o],n[o],r)}(e,g,m,o,l),h)n.__k=[];else if(x(e,d(_=n.props.children)?_:[_],n,r,i,o&&"foreignObject"!==y,a,u,a?a[0]:r.__k&&D(r,0),l,c),null!=a)for(_=a.length;_--;)null!=a[_]&&v(a[_]);l||("value"in g&&void 0!==(_=g.value)&&(_!==e.value||"progress"===y&&!_||"option"===y&&_!==m.value)&&O(e,"value",_,m.value,!1),"checked"in g&&void 0!==(_=g.checked)&&_!==e.checked&&O(e,"checked",_,m.checked,!1))}return e}function $(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function R(e,t,n){var i,o;if(r.unmount&&r.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||$(i,null,t)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){r.__e(e,t)}i.base=i.__P=null,e.__c=void 0}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&R(i[o],t,n||"function"!=typeof e.type);n||null==e.__e||v(e.__e),e.__=e.__e=e.__d=void 0}function I(e,t,n){return this.constructor(e,n)}function j(e,n,i){var o,a,u,l;r.__&&r.__(e,n),a=(o="function"==typeof i)?null:i&&i.__k||n.__k,u=[],l=[],P(n,e=(!o&&i||n).__k=m(_,null,[e]),a||s,s,void 0!==n.ownerSVGElement,!o&&i?[i]:a?null:n.firstChild?t.call(n.childNodes):null,u,!o&&i?i:a?a.__e:n.firstChild,o,l),N(u,e,l)}function z(e,t){j(e,t,z)}function H(e,n,r){var i,o,a,u,l=h({},e.props);for(a in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),n)"key"==a?i=n[a]:"ref"==a?o=n[a]:l[a]=void 0===n[a]&&void 0!==u?u[a]:n[a];return arguments.length>2&&(l.children=arguments.length>3?t.call(arguments,2):r),g(e.type,l,i||e.key,o||e.ref,null)}function U(e,t){var n={__c:t="__cC"+c++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,A(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}t=f.slice,r={__e:function(e,t,n,r){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),a=i.__d),a)return i.__E=i}catch(t){e=t}throw e}},i=0,b.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof e&&(e=e(h({},n),this.props)),e&&h(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),A(this))},b.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),A(this))},b.prototype.render=_,o=[],u="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,l=function(e,t){return e.__v.__b-t.__v.__b},k.__r=0,c=0;var V,W,Z,Y,q=0,G=[],Q=[],J=r.__b,K=r.__r,X=r.diffed,ee=r.__c,te=r.unmount;function ne(e,t){r.__h&&r.__h(W,e,q||t),q=0;var n=W.__H||(W.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Q}),n.__[e]}function re(e){return q=1,ie(De,e)}function ie(e,t,n){var r=ne(V++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):De(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=W,!W.u)){var i=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(e){return e.__c}));if(i.every((function(e){return!e.__N})))return!o||o.call(this,e,t,n);var a=!1;return i.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&r.__c.props===e)&&(!o||o.call(this,e,t,n))};W.u=!0;var o=W.shouldComponentUpdate,a=W.componentWillUpdate;W.componentWillUpdate=function(e,t,n){if(this.__e){var r=o;o=void 0,i(e,t,n),o=r}a&&a.call(this,e,t,n)},W.shouldComponentUpdate=i}return r.__N||r.__}function oe(e,t){var n=ne(V++,3);!r.__s&&be(n.__H,t)&&(n.__=e,n.i=t,W.__H.__h.push(n))}function ae(e,t){var n=ne(V++,4);!r.__s&&be(n.__H,t)&&(n.__=e,n.i=t,W.__h.push(n))}function ue(e){return q=5,ce((function(){return{current:e}}),[])}function le(e,t,n){q=6,ae((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function ce(e,t){var n=ne(V++,7);return be(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function se(e,t){return q=8,ce((function(){return e}),t)}function fe(e){var t=W.context[e.__c],n=ne(V++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(W)),t.props.value):e.__}function pe(e,t){r.useDebugValue&&r.useDebugValue(t?t(e):e)}function de(e){var t=ne(V++,10),n=re();return t.__=e,W.componentDidCatch||(W.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]}function he(){var e=ne(V++,11);if(!e.__){for(var t=W.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function ve(){for(var e;e=G.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ye),e.__H.__h.forEach(_e),e.__H.__h=[]}catch(u){e.__H.__h=[],r.__e(u,e.__v)}}r.__b=function(e){W=null,J&&J(e)},r.__r=function(e){K&&K(e),V=0;var t=(W=e.__c).__H;t&&(Z===W?(t.__h=[],W.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=Q,e.__N=e.i=void 0}))):(t.__h.forEach(ye),t.__h.forEach(_e),t.__h=[],V=0)),Z=W},r.diffed=function(e){X&&X(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==G.push(t)&&Y===r.requestAnimationFrame||((Y=r.requestAnimationFrame)||ge)(ve)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==Q&&(e.__=e.__V),e.i=void 0,e.__V=Q}))),Z=W=null},r.__c=function(e,t){t.some((function(e){try{e.__h.forEach(ye),e.__h=e.__h.filter((function(e){return!e.__||_e(e)}))}catch(i){t.some((function(e){e.__h&&(e.__h=[])})),t=[],r.__e(i,e.__v)}})),ee&&ee(e,t)},r.unmount=function(e){te&&te(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{ye(e)}catch(e){t=e}})),n.__H=void 0,t&&r.__e(t,n.__v))};var me="function"==typeof requestAnimationFrame;function ge(e){var t,n=function(){clearTimeout(r),me&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);me&&(t=requestAnimationFrame(n))}function ye(e){var t=W,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),W=t}function _e(e){var t=W;e.__c=e.__(),W=t}function be(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function De(e,t){return"function"==typeof t?t(e):t}function we(e,t){for(var n in t)e[n]=t[n];return e}function Ae(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function ke(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}function xe(e){this.props=e}function Ee(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:Ae(this.props,e)}function r(t){return this.shouldComponentUpdate=n,m(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(xe.prototype=new b).isPureReactComponent=!0,xe.prototype.shouldComponentUpdate=function(e,t){return Ae(this.props,e)||Ae(this.state,t)};var Ce=r.__b;r.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ce&&Ce(e)};var Se="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Fe(e){function t(t){var n=we({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Se,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Me=function(e,t){return null==e?null:C(C(e).map(t))},Oe={map:Me,forEach:Me,count:function(e){return e?C(e).length:0},only:function(e){var t=C(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:C},Te=r.__e;r.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);Te(e,t,n,r)};var Be=r.unmount;function Pe(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=we({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Pe(e,t,n)}))),e}function Ne(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Ne(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function Le(){this.__u=0,this.t=null,this.__b=null}function $e(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Re(e){var t,n,r;function i(i){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return m(n,i)}return i.displayName="Lazy",i.__f=!0,i}function Ie(){this.u=null,this.o=null}r.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),Be&&Be(e)},(Le.prototype=new b).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=$e(r.__v),o=!1,a=function(){o||(o=!0,n.__R=null,i?i(u):u())};n.__R=a;var u=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Ne(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Le.prototype.componentWillUnmount=function(){this.t=[]},Le.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Pe(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&m(_,null,e.fallback);return i&&(i.__h=null),[m(_,null,t.__a?null:e.children),i]};var je=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function ze(e){return this.getChildContext=function(){return e.context},e.children}function He(e){var t=this,n=e.i;t.componentWillUnmount=function(){j(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),j(m(ze,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function Ue(e,t){var n=m(He,{__v:e,i:t});return n.containerInfo=t,n}(Ie.prototype=new b).__a=function(e){var t=this,n=$e(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),je(t,e,r)):i()};n?n(o):o()}},Ie.prototype.render=function(e){this.u=null,this.o=new Map;var t=C(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Ie.prototype.componentDidUpdate=Ie.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){je(e,n,t)}))};var Ve="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,We=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ze=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ye=/[A-Z0-9]/g,qe="undefined"!=typeof document,Ge=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function Qe(e,t,n){return null==t.__k&&(t.textContent=""),j(e,t),"function"==typeof n&&n(),e?e.__c:null}function Je(e,t,n){return z(e,t),"function"==typeof n&&n(),e?e.__c:null}b.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(b.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Ke=r.event;function Xe(){}function et(){return this.cancelBubble}function tt(){return this.defaultPrevented}r.event=function(e){return Ke&&(e=Ke(e)),e.persist=Xe,e.isPropagationStopped=et,e.isDefaultPrevented=tt,e.nativeEvent=e};var nt,rt={enumerable:!1,configurable:!0,get:function(){return this.class}},it=r.vnode;r.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var i in t){var o=t[i];if(!("value"===i&&"defaultValue"in t&&null==o||qe&&"children"===i&&"noscript"===n||"class"===i||"className"===i)){var a=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===o?o="":"ondoubleclick"===a?i="ondblclick":"onchange"!==a||"input"!==n&&"textarea"!==n||Ge(t.type)?"onfocus"===a?i="onfocusin":"onblur"===a?i="onfocusout":Ze.test(i)?i=a:-1===n.indexOf("-")&&We.test(i)?i=i.replace(Ye,"-$&").toLowerCase():null===o&&(o=void 0):a=i="oninput","oninput"===a&&r[i=a]&&(i="oninputCapture"),r[i]=o}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=C(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=C(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",rt)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Ve,it&&it(e)};var ot=r.__r;r.__r=function(e){ot&&ot(e),nt=e.__c};var at=r.diffed;r.diffed=function(e){at&&at(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),nt=null};var ut={ReactCurrentDispatcher:{current:{readContext:function(e){return nt.__n[e.__c].props.value}}}},lt="17.0.2";function ct(e){return m.bind(null,e)}function st(e){return!!e&&e.$$typeof===Ve}function ft(e){return st(e)?H.apply(null,arguments):e}function pt(e){return!!e.__k&&(j(null,e),!0)}function dt(e){return e&&(e.base||1===e.nodeType&&e)||null}var ht=function(e,t){return e(t)},vt=function(e,t){return e(t)},mt=_;function gt(e){e()}function yt(e){return e}function _t(){return[!1,gt]}var bt=ae;function Dt(e,t){var n=t(),r=re({h:{__:n,v:t}}),i=r[0].h,o=r[1];return ae((function(){i.__=n,i.v=t,ke(i.__,t())||o({h:i})}),[e,n,t]),oe((function(){return ke(i.__,i.v())||o({h:i}),e((function(){ke(i.__,i.v())||o({h:i})}))}),[e]),n}var wt,At={useState:re,useId:he,useReducer:ie,useEffect:oe,useLayoutEffect:ae,useInsertionEffect:bt,useTransition:_t,useDeferredValue:yt,useSyncExternalStore:Dt,startTransition:gt,useRef:ue,useImperativeHandle:le,useMemo:ce,useCallback:se,useContext:fe,useDebugValue:pe,version:"17.0.2",Children:Oe,render:Qe,hydrate:Je,unmountComponentAtNode:pt,createPortal:Ue,createElement:m,createContext:U,createFactory:ct,cloneElement:ft,createRef:y,Fragment:_,isValidElement:st,findDOMNode:dt,Component:b,PureComponent:xe,memo:Ee,forwardRef:Fe,flushSync:vt,unstable_batchedUpdates:ht,StrictMode:mt,Suspense:Le,SuspenseList:Ie,lazy:Re,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ut},kt=n(658),xt=n.n(kt),Et=n(443),Ct=n.n(Et),St=n(446),Ft=n.n(St),Mt=n(635),Ot=n.n(Mt);function Tt(e){if(Array.isArray(e))return e}function Bt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Pt(e,t){if(e){if("string"===typeof e)return Bt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bt(e,t):void 0}}function Nt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Lt(e,t){return Tt(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(s){c=!0,i=s}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||Pt(e,t)||Nt()}function $t(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Pt(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}function Rt(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function It(e){return function(e){if(Array.isArray(e))return Bt(e)}(e)||Rt(e)||Pt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zt(e){return zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zt(e)}function Ht(e){var t=function(e,t){if("object"!==zt(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==zt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===zt(t)?t:String(t)}function Ut(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ht(r.key),r)}}function Vt(e,t,n){return t&&Ut(e.prototype,t),n&&Ut(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Wt(e,t){return Wt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Wt(e,t)}function Zt(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Wt(e,t)}function Yt(e){return Yt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Yt(e)}function qt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(c){return!1}}function Gt(e,t){if(t&&("object"===zt(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Qt(e){var t=qt();return function(){var n,r=Yt(e);if(t){var i=Yt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Gt(this,n)}}function Jt(e,t,n){return qt()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&Wt(i,n.prototype),i},Jt.apply(null,arguments)}function Kt(e){var t="function"===typeof Map?new Map:void 0;return function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Jt(e,arguments,Yt(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Wt(n,e)},Kt(e)}function Xt(){return Xt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xt.apply(this,arguments)}xt().extend(Ct()),xt().extend(Ft()),xt().extend(Ot()),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(wt||(wt={}));var en,tn="popstate";function nn(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function rn(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(c){}}}function on(e,t){return{usr:e.state,key:e.key,idx:t}}function an(e,t,n,r){return void 0===n&&(n=null),Xt({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?ln(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function un(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,i=void 0===r?"":r,o=e.hash,a=void 0===o?"":o;return i&&"?"!==i&&(n+="?"===i.charAt(0)?i:"?"+i),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function ln(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function cn(e,t,n,r){void 0===r&&(r={});var i=r,o=i.window,a=void 0===o?document.defaultView:o,u=i.v5Compat,l=void 0!==u&&u,c=a.history,s=wt.Pop,f=null,p=d();function d(){return(c.state||{idx:null}).idx}function h(){s=wt.Pop;var e=d(),t=null==e?null:e-p;p=e,f&&f({action:s,location:m.location,delta:t})}function v(e){var t="null"!==a.location.origin?a.location.origin:a.location.href,n="string"===typeof e?e:un(e);return nn(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==p&&(p=0,c.replaceState(Xt({},c.state,{idx:p}),""));var m={get action(){return s},get location(){return e(a,c)},listen:function(e){if(f)throw new Error("A history only accepts one active listener");return a.addEventListener(tn,h),f=e,function(){a.removeEventListener(tn,h),f=null}},createHref:function(e){return t(a,e)},createURL:v,encodeLocation:function(e){var t=v(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s=wt.Push;var r=an(m.location,e,t);n&&n(r,e);var i=on(r,p=d()+1),o=m.createHref(r);try{c.pushState(i,"",o)}catch(u){if(u instanceof DOMException&&"DataCloneError"===u.name)throw u;a.location.assign(o)}l&&f&&f({action:s,location:m.location,delta:1})},replace:function(e,t){s=wt.Replace;var r=an(m.location,e,t);n&&n(r,e);var i=on(r,p=d()),o=m.createHref(r);c.replaceState(i,"",o),l&&f&&f({action:s,location:m.location,delta:0})},go:function(e){return c.go(e)}};return m}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(en||(en={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function sn(e,t,n){void 0===n&&(n="/");var r=kn(("string"===typeof t?ln(t):t).pathname||"/",n);if(null==r)return null;var i=fn(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(i);for(var o=null,a=0;null==o&&a<i.length;++a)o=Dn(i[a],An(r));return o}function fn(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");var i=function(e,i,o){var a={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};a.relativePath.startsWith("/")&&(nn(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));var u=Sn([r,a.relativePath]),l=n.concat(a);e.children&&e.children.length>0&&(nn(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+u+'".'),fn(e.children,t,l,u)),(null!=e.path||e.index)&&t.push({path:u,score:bn(u,e.index),routesMeta:l})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,o=$t(pn(e.path));try{for(o.s();!(r=o.n()).done;){var a=r.value;i(e,t,a)}}catch(u){o.e(u)}finally{o.f()}}else i(e,t)})),t}function pn(e){var t=e.split("/");if(0===t.length)return[];var n,r=Tt(n=t)||Rt(n)||Pt(n)||Nt(),i=r[0],o=r.slice(1),a=i.endsWith("?"),u=i.replace(/\?$/,"");if(0===o.length)return a?[u,""]:[u];var l=pn(o.join("/")),c=[];return c.push.apply(c,It(l.map((function(e){return""===e?u:[u,e].join("/")})))),a&&c.push.apply(c,It(l)),c.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var dn=/^:\w+$/,hn=3,vn=2,mn=1,gn=10,yn=-2,_n=function(e){return"*"===e};function bn(e,t){var n=e.split("/"),r=n.length;return n.some(_n)&&(r+=yn),t&&(r+=vn),n.filter((function(e){return!_n(e)})).reduce((function(e,t){return e+(dn.test(t)?hn:""===t?mn:gn)}),r)}function Dn(e,t){for(var n=e.routesMeta,r={},i="/",o=[],a=0;a<n.length;++a){var u=n[a],l=a===n.length-1,c="/"===i?t:t.slice(i.length)||"/",s=wn({path:u.relativePath,caseSensitive:u.caseSensitive,end:l},c);if(!s)return null;Object.assign(r,s.params);var f=u.route;o.push({params:r,pathname:Sn([i,s.pathname]),pathnameBase:Fn(Sn([i,s.pathnameBase])),route:f}),"/"!==s.pathnameBase&&(i=Sn([i,s.pathnameBase]))}return o}function wn(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var n=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);rn("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');var r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(function(e,t){return r.push(t),"/([^\\/]+)"}));e.endsWith("*")?(r.push("*"),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))");var o=new RegExp(i,t?void 0:"i");return[o,r]}(e.path,e.caseSensitive,e.end),r=Lt(n,2),i=r[0],o=r[1],a=t.match(i);if(!a)return null;var u=a[0],l=u.replace(/(.)\/+$/,"$1"),c=a.slice(1);return{params:o.reduce((function(e,t,n){if("*"===t){var r=c[n]||"";l=u.slice(0,u.length-r.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return rn(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(c[n]||"",t),e}),{}),pathname:u,pathnameBase:l,pattern:e}}function An(e){try{return decodeURI(e)}catch(t){return rn(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function kn(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function xn(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function En(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function Cn(e,t,n,r){var i;void 0===r&&(r=!1),"string"===typeof e?i=ln(e):(nn(!(i=Xt({},e)).pathname||!i.pathname.includes("?"),xn("?","pathname","search",i)),nn(!i.pathname||!i.pathname.includes("#"),xn("#","pathname","hash",i)),nn(!i.search||!i.search.includes("#"),xn("#","search","hash",i)));var o,a=""===e||""===i.pathname,u=a?"/":i.pathname;if(r||null==u)o=n;else{var l=t.length-1;if(u.startsWith("..")){for(var c=u.split("/");".."===c[0];)c.shift(),l-=1;i.pathname=c.join("/")}o=l>=0?t[l]:"/"}var s=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?ln(e):e,r=n.pathname,i=n.search,o=void 0===i?"":i,a=n.hash,u=void 0===a?"":a,l=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:l,search:Mn(o),hash:On(u)}}(i,o),f=u&&"/"!==u&&u.endsWith("/"),p=(a||"."===u)&&n.endsWith("/");return s.pathname.endsWith("/")||!f&&!p||(s.pathname+="/"),s}var Sn=function(e){return e.join("/").replace(/\/\/+/g,"/")},Fn=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},Mn=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},On=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""};Error;function Tn(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var Bn=["post","put","patch","delete"],Pn=(new Set(Bn),["get"].concat(Bn));new Set(Pn),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function Nn(){return Nn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nn.apply(this,arguments)}var Ln=U(null);var $n=U(null);var Rn=U(null);var In=U(null);var jn=U({outlet:null,matches:[],isDataRoute:!1});var zn=U(null);function Hn(){return null!=fe(In)}function Un(){return Hn()||nn(!1),fe(In).location}function Vn(e){fe(Rn).static||ae(e)}function Wn(){return fe(jn).isDataRoute?function(){var e=nr(Qn.UseNavigateStable).router,t=ir(Jn.UseNavigateStable),n=ue(!1);Vn((function(){n.current=!0}));var r=se((function(r,i){void 0===i&&(i={}),n.current&&("number"===typeof r?e.navigate(r):e.navigate(r,Nn({fromRouteId:t},i)))}),[e,t]);return r}():function(){Hn()||nn(!1);var e=fe(Ln),t=fe(Rn),n=t.basename,r=t.navigator,i=fe(jn).matches,o=Un().pathname,a=JSON.stringify(En(i).map((function(e){return e.pathnameBase}))),u=ue(!1);Vn((function(){u.current=!0}));var l=se((function(t,i){if(void 0===i&&(i={}),u.current)if("number"!==typeof t){var l=Cn(t,JSON.parse(a),o,"path"===i.relative);null==e&&"/"!==n&&(l.pathname="/"===l.pathname?n:Sn([n,l.pathname])),(i.replace?r.replace:r.push)(l,i.state,i)}else r.go(t)}),[n,r,a,o,e]);return l}()}var Zn=U(null);function Yn(e,t){var n=(void 0===t?{}:t).relative,r=fe(jn).matches,i=Un().pathname,o=JSON.stringify(En(r).map((function(e){return e.pathnameBase})));return ce((function(){return Cn(e,JSON.parse(o),i,"path"===n)}),[e,o,i,n])}function qn(e,t,n){Hn()||nn(!1);var r,i=fe(Rn).navigator,o=fe(jn).matches,a=o[o.length-1],u=a?a.params:{},l=(a&&a.pathname,a?a.pathnameBase:"/"),c=(a&&a.route,Un());if(t){var s,f="string"===typeof t?ln(t):t;"/"===l||(null==(s=f.pathname)?void 0:s.startsWith(l))||nn(!1),r=f}else r=c;var p=r.pathname||"/",d=sn(e,{pathname:"/"===l?p:p.slice(l.length)||"/"});var h=tr(d&&d.map((function(e){return Object.assign({},e,{params:Object.assign({},u,e.params),pathname:Sn([l,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?l:Sn([l,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})})),o,n);return t&&h?m(In.Provider,{value:{location:Nn({pathname:"/",search:"",hash:"",state:null,key:"default"},r),navigationType:wt.Pop}},h):h}function Gn(){var e=function(){var e,t=fe(zn),n=rr(Jn.UseRouteError),r=ir(Jn.UseRouteError);if(t)return t;return null==(e=n.errors)?void 0:e[r]}(),t=Tn(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r};return m(_,null,m("h2",null,"Unexpected Application Error!"),m("h3",{style:{fontStyle:"italic"}},t),n?m("pre",{style:i},n):null,null)}var Qn,Jn,Kn=m(Gn,null),Xn=function(e){Zt(n,e);var t=Qt(n);function n(e){var r;return jt(this,n),(r=t.call(this,e)).state={location:e.location,revalidation:e.revalidation,error:e.error},r}return Vt(n,[{key:"componentDidCatch",value:function(e,t){console.error("React Router caught the following error during render",e,t)}},{key:"render",value:function(){return this.state.error?m(jn.Provider,{value:this.props.routeContext},m(zn.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error||t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}}]),n}(b);function er(e){var t=e.routeContext,n=e.match,r=e.children,i=fe(Ln);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),m(jn.Provider,{value:t},r)}function tr(e,t,n){var r;if(void 0===t&&(t=[]),void 0===n&&(n=null),null==e){var i;if(null==(i=n)||!i.errors)return null;e=n.matches}var o=e,a=null==(r=n)?void 0:r.errors;if(null!=a){var u=o.findIndex((function(e){return e.route.id&&(null==a?void 0:a[e.route.id])}));u>=0||nn(!1),o=o.slice(0,Math.min(o.length,u+1))}return o.reduceRight((function(e,r,i){var u=r.route.id?null==a?void 0:a[r.route.id]:null,l=null;n&&(l=r.route.errorElement||Kn);var c=t.concat(o.slice(0,i+1)),s=function(){var t;return t=u?l:r.route.Component?m(r.route.Component,null):r.route.element?r.route.element:e,m(er,{match:r,routeContext:{outlet:e,matches:c,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===i)?m(Xn,{location:n.location,revalidation:n.revalidation,component:l,error:u,children:s(),routeContext:{outlet:null,matches:c,isDataRoute:!0}}):s()}),null)}function nr(e){var t=fe(Ln);return t||nn(!1),t}function rr(e){var t=fe($n);return t||nn(!1),t}function ir(e){var t=function(e){var t=fe(jn);return t||nn(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||nn(!1),n.route.id}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"}(Qn||(Qn={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"}(Jn||(Jn={}));var or;function ar(e){return function(e){var t=fe(jn).outlet;return t?m(Zn.Provider,{value:e},t):t}(e.context)}function ur(e){nn(!1)}function lr(e){var t=e.basename,n=void 0===t?"/":t,r=e.children,i=void 0===r?null:r,o=e.location,a=e.navigationType,u=void 0===a?wt.Pop:a,l=e.navigator,c=e.static,s=void 0!==c&&c;Hn()&&nn(!1);var f=n.replace(/^\/*/,"/"),p=ce((function(){return{basename:f,navigator:l,static:s}}),[f,l,s]);"string"===typeof o&&(o=ln(o));var d=o,h=d.pathname,v=void 0===h?"/":h,g=d.search,y=void 0===g?"":g,_=d.hash,b=void 0===_?"":_,D=d.state,w=void 0===D?null:D,A=d.key,k=void 0===A?"default":A,x=ce((function(){var e=kn(v,f);return null==e?null:{location:{pathname:e,search:y,hash:b,state:w,key:k},navigationType:u}}),[f,v,y,b,w,k,u]);return null==x?null:m(Rn.Provider,{value:p},m(In.Provider,{children:i,value:x}))}function cr(e){var t=e.children,n=e.location;return qn(sr(t),n)}!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(or||(or={}));new Promise((function(){}));function sr(e,t){void 0===t&&(t=[]);var n=[];return Oe.forEach(e,(function(e,r){if(st(e)){var i=[].concat(It(t),[r]);if(e.type!==_){e.type!==ur&&nn(!1),e.props.index&&e.props.children&&nn(!1);var o={id:e.props.id||i.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=sr(e.props.children,i)),n.push(o)}else n.push.apply(n,sr(e.props.children,i))}})),n}function fr(){return fr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fr.apply(this,arguments)}function pr(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function dr(e){return void 0===e&&(e=""),new URLSearchParams("string"===typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((function(t,n){var r=e[n];return t.concat(Array.isArray(r)?r.map((function(e){return[n,e]})):[[n,r]])}),[]))}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);var hr=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],vr=["aria-current","caseSensitive","className","end","style","to","children"];var mr=e.startTransition;function gr(e){var t=e.basename,n=e.children,r=e.future,i=e.window,o=ue();null==o.current&&(o.current=function(e){return void 0===e&&(e={}),cn((function(e,t){var n=ln(e.location.hash.substr(1)),r=n.pathname,i=void 0===r?"/":r,o=n.search,a=void 0===o?"":o,u=n.hash;return an("",{pathname:i,search:a,hash:void 0===u?"":u},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){var n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){var i=e.location.href,o=i.indexOf("#");r=-1===o?i:i.slice(0,o)}return r+"#"+("string"===typeof t?t:un(t))}),(function(e,t){rn("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}({window:i,v5Compat:!0}));var a=o.current,u=Lt(re({action:a.action,location:a.location}),2),l=u[0],c=u[1],s=(r||{}).v7_startTransition,f=se((function(e){s&&mr?mr((function(){return c(e)})):c(e)}),[c,s]);return ae((function(){return a.listen(f)}),[a,f]),m(lr,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:a})}var yr="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,_r=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,br=Fe((function(e,t){var n,r=e.onClick,i=e.relative,o=e.reloadDocument,a=e.replace,u=e.state,l=e.target,s=e.to,f=e.preventScrollReset,p=pr(e,hr),d=fe(Rn).basename,h=!1;if("string"===typeof s&&_r.test(s)&&(n=s,yr))try{var v=new URL(window.location.href),g=s.startsWith("//")?new URL(v.protocol+s):new URL(s),y=kn(g.pathname,d);g.origin===v.origin&&null!=y?s=y+g.search+g.hash:h=!0}catch(c){}var _=function(e,t){var n=(void 0===t?{}:t).relative;Hn()||nn(!1);var r=fe(Rn),i=r.basename,o=r.navigator,a=Yn(e,{relative:n}),u=a.hash,l=a.pathname,c=a.search,s=l;return"/"!==i&&(s="/"===l?i:Sn([i,l])),o.createHref({pathname:s,search:c,hash:u})}(s,{relative:i}),b=function(e,t){var n=void 0===t?{}:t,r=n.target,i=n.replace,o=n.state,a=n.preventScrollReset,u=n.relative,l=Wn(),c=Un(),s=Yn(e,{relative:u});return se((function(t){if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,r)){t.preventDefault();var n=void 0!==i?i:un(c)===un(s);l(e,{replace:n,state:o,preventScrollReset:a,relative:u})}}),[c,l,s,i,o,r,e,a,u])}(s,{replace:a,state:u,target:l,preventScrollReset:f,relative:i});return m("a",fr({},p,{href:n||_,onClick:h||o?r:function(e){r&&r(e),e.defaultPrevented||b(e)},ref:t,target:l}))}));var Dr=Fe((function(e,t){var n=e["aria-current"],r=void 0===n?"page":n,i=e.caseSensitive,o=void 0!==i&&i,a=e.className,u=void 0===a?"":a,l=e.end,c=void 0!==l&&l,s=e.style,f=e.to,p=e.children,d=pr(e,vr),h=Yn(f,{relative:d.relative}),v=Un(),g=fe($n),y=fe(Rn).navigator,_=y.encodeLocation?y.encodeLocation(h).pathname:h.pathname,b=v.pathname,D=g&&g.navigation&&g.navigation.location?g.navigation.location.pathname:null;o||(b=b.toLowerCase(),D=D?D.toLowerCase():null,_=_.toLowerCase());var w,A=b===_||!c&&b.startsWith(_)&&"/"===b.charAt(_.length),k=null!=D&&(D===_||!c&&D.startsWith(_)&&"/"===D.charAt(_.length)),x=A?r:void 0;w="function"===typeof u?u({isActive:A,isPending:k}):[u,A?"active":null,k?"pending":null].filter(Boolean).join(" ");var E="function"===typeof s?s({isActive:A,isPending:k}):s;return m(br,fr({},d,{"aria-current":x,className:w,ref:t,style:E,to:f}),"function"===typeof p?p({isActive:A,isPending:k}):p)}));var wr,Ar;function kr(e){var t=ue(dr(e)),n=ue(!1),r=Un(),i=ce((function(){return function(e,t){var n=dr(e);if(t){var r,i=$t(t.keys());try{var o=function(){var e=r.value;n.has(e)||t.getAll(e).forEach((function(t){n.append(e,t)}))};for(i.s();!(r=i.n()).done;)o()}catch(a){i.e(a)}finally{i.f()}}return n}(r.search,n.current?null:t.current)}),[r.search]),o=Wn(),a=se((function(e,t){var r=dr("function"===typeof e?e(i):e);n.current=!0,o("?"+r,t)}),[o,i]);return[i,a]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(wr||(wr={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Ar||(Ar={}));function xr(e,t,n){return(t=Ht(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Er(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Er(Object(n),!0).forEach((function(t){xr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Er(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Sr=function(){var e,t=(null===(e=document.getElementById("root"))||void 0===e?void 0:e.dataset.params)||"{}";try{return JSON.parse(t)}catch(c){return console.error(c),{}}},Fr=function(){return!!Object.keys(Sr()).length},Mr=/(\/select\/)(\d+|\d.+)(\/)(.+)/,Or=function(e){var t;return(null===(t=e.match(Mr))||void 0===t?void 0:t[2])||""},Tr=n(776),Br=n.n(Tr),Pr=n(7),Nr=n.n(Pr),Lr={table:100,chart:20,code:1e3},$r=function(e,t){var n=window.location.hash.split("?")[1],r=Br().parse(n,{ignoreQueryPrefix:!0});return Nr()(r,e,t||"")},Rr=function(e,t){t?window.localStorage.setItem(e,JSON.stringify({value:t})):jr([e]),window.dispatchEvent(new Event("storage"))},Ir=function(e){var t=window.localStorage.getItem(e);if(null!==t)try{var n;return null===(n=JSON.parse(t))||void 0===n?void 0:n.value}catch(c){return t}},jr=function(e){return e.forEach((function(e){return window.localStorage.removeItem(e)}))},zr=function(e){return e.emptyServer="Please enter Server URL",e.validServer="Please provide a valid Server URL",e.validQuery="Please enter a valid Query and execute it",e.traceNotFound="Not found the tracing information",e.emptyTitle="Please enter title",e.positiveNumber="Please enter positive number",e.validStep="Please enter a valid step",e}({}),Hr=function(e){return e.system="system",e.light="light",e.dark="dark",e}({}),Ur=function(e){return getComputedStyle(document.documentElement).getPropertyValue("--".concat(e))},Vr=function(e,t){document.documentElement.style.setProperty("--".concat(e),t)},Wr=function(){return window.matchMedia("(prefers-color-scheme: dark)").matches},Zr=$r("g0.tenantID",""),Yr={serverUrl:function(e){var t=Sr().serverURL,n=window.location.href.replace(/\/(select\/)?(vmui)\/.*/,"");t||window.location.href.replace(/\/(?:prometheus\/)?(?:graph|vmui)\/.*/,"/prometheus");return n}(),tenantId:Zr,theme:Ir("THEME")||Hr.system,isDarkTheme:null};function qr(e,t){switch(t.type){case"SET_SERVER":return Cr(Cr({},e),{},{serverUrl:t.payload});case"SET_TENANT_ID":return Cr(Cr({},e),{},{tenantId:t.payload});case"SET_THEME":return Rr("THEME",t.payload),Cr(Cr({},e),{},{theme:t.payload});case"SET_DARK_THEME":return Cr(Cr({},e),{},{isDarkTheme:(n=e.theme,n===Hr.system&&Wr()||n===Hr.dark)});default:throw new Error}var n}var Gr=0;function Qr(e,t,n,i,o,a){var u,l,c={};for(l in t)"ref"==l?u=t[l]:c[l]=t[l];var s={type:e,props:c,key:n,ref:u,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Gr,__source:o,__self:a};if("function"==typeof e&&(u=e.defaultProps))for(l in u)void 0===c[l]&&(c[l]=u[l]);return r.vnode&&r.vnode(s),s}var Jr=U({}),Kr=function(){return fe(Jr).state},Xr=function(){return fe(Jr).dispatch},ei=Object.entries(Yr).reduce((function(e,t){var n=Lt(t,2),r=n[0],i=n[1];return Cr(Cr({},e),{},xr({},r,$r(r)||i))}),{}),ti="YYYY-MM-DD[T]HH:mm:ss",ni=window.innerWidth/4,ri=window.innerWidth/40,ii=Intl.supportedValuesOf,oi=ii?ii("timeZone"):["Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmera","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/La_Rioja","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Buenos_Aires","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Catamarca","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Coral_Harbour","America/Cordoba","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Fort_Nelson","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indianapolis","America/Inuvik","America/Iqaluit","America/Jamaica","America/Jujuy","America/Juneau","America/Kentucky/Monticello","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Louisville","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Mendoza","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Montreal","America/Montserrat","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Santa_Isabel","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Arctic/Longyearbyen","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Atyrau","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Calcutta","Asia/Chita","Asia/Choibalsan","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Hebron","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Katmandu","Asia/Khandyga","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Rangoon","Asia/Riyadh","Asia/Saigon","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faeroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Currie","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/Perth","Australia/Sydney","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Saratov","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zaporozhye","Europe/Zurich","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Johnston","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Ponape","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Truk","Pacific/Wake","Pacific/Wallis"],ai=[{long:"years",short:"y",possible:"year"},{long:"weeks",short:"w",possible:"week"},{long:"days",short:"d",possible:"day"},{long:"hours",short:"h",possible:"hour"},{long:"minutes",short:"m",possible:"min"},{long:"seconds",short:"s",possible:"sec"},{long:"milliseconds",short:"ms",possible:"millisecond"}],ui=ai.map((function(e){return e.short})),li=function(e){var t,n=(t=e,Math.round(1e3*t)/1e3),r=Math.round(e);e>=100&&(n=r-r%10),e<100&&e>=10&&(n=r-r%5),e<10&&e>=1&&(n=r),e<1&&e>.01&&(n=Math.round(40*e)/40);var i=function(e){return di(xt().duration(e,"seconds").asMilliseconds())}(n||.001);return i.replace(/\s/g,"")},ci=function(e){var t=e.match(/\d+/g),n=e.match(/[a-zA-Z]+/g);if(n&&t&&ui.includes(n[0]))return xr({},n[0],t[0])},si=function(e,t){return li(e/(t?ri:ni))},fi=function(e,t){var n=(t||xt()().toDate()).valueOf()/1e3,r=function(e){var t=ai.map((function(e){return e.short})).join("|"),n=new RegExp("\\d+[".concat(t,"]+"),"g"),r=(e.match(n)||[]).reduce((function(e,t){var n=ci(t);return n?Cr(Cr({},e),n):Cr({},e)}),{});return xt().duration(r).asSeconds()}(e);return{start:n-r,end:n,step:si(r),date:pi(t||xt()().toDate())}},pi=function(e){return xt().tz(e).utc().format(ti)},di=function(e){var t=Math.floor(e%1e3),n=Math.floor(e/1e3%60),r=Math.floor(e/1e3/60%60),i=Math.floor(e/1e3/3600%24),o=Math.floor(e/864e5),a=["d","h","m","s","ms"],u=[o,i,r,n,t].map((function(e,t){return e?"".concat(e).concat(a[t]):""}));return u.filter((function(e){return e})).join("")},hi=function(e){var t=xt()(1e3*e);return t.isValid()?t.toDate():new Date},vi=[{title:"Last 5 minutes",duration:"5m"},{title:"Last 15 minutes",duration:"15m"},{title:"Last 30 minutes",duration:"30m",isDefault:!0},{title:"Last 1 hour",duration:"1h"},{title:"Last 3 hours",duration:"3h"},{title:"Last 6 hours",duration:"6h"},{title:"Last 12 hours",duration:"12h"},{title:"Last 24 hours",duration:"24h"},{title:"Last 2 days",duration:"2d"},{title:"Last 7 days",duration:"7d"},{title:"Last 30 days",duration:"30d"},{title:"Last 90 days",duration:"90d"},{title:"Last 180 days",duration:"180d"},{title:"Last 1 year",duration:"1y"},{title:"Yesterday",duration:"1d",until:function(){return xt()().tz().subtract(1,"day").endOf("day").toDate()}},{title:"Today",duration:"1d",until:function(){return xt()().tz().endOf("day").toDate()}}].map((function(e){return Cr({id:e.title.replace(/\s/g,"_").toLocaleLowerCase(),until:e.until?e.until:function(){return xt()().tz().toDate()}},e)})),mi=function(e){var t,n=e.relativeTimeId,r=e.defaultDuration,i=e.defaultEndInput,o=null===(t=vi.find((function(e){return e.isDefault})))||void 0===t?void 0:t.id,a=n||$r("g0.relative_time",o),u=vi.find((function(e){return e.id===a}));return{relativeTimeId:u?a:"none",duration:u?u.duration:r,endInput:u?u.until():i}},gi=function(e){var t=xt()().tz(e);return"UTC".concat(t.format("Z"))},yi=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=new RegExp(e,"i");return oi.reduce((function(n,r){var i=(r.match(/^(.*?)\//)||[])[1]||"unknown",o=gi(r),a=o.replace(/UTC|0/,""),u=r.replace(/[/_]/g," "),l={region:r,utc:o,search:"".concat(r," ").concat(o," ").concat(u," ").concat(a)},c=!e||e&&t.test(l.search);return c&&n[i]?n[i].push(l):c&&(n[i]=[l]),n}),{})},_i=function(e){xt().tz.setDefault(e)},bi=Ir("TIMEZONE")||xt().tz.guess();_i(bi);var Di,wi=$r("g0.range_input"),Ai=mi({defaultDuration:wi||"1h",defaultEndInput:(Di=$r("g0.end_input",xt()().utc().format(ti)),xt()(Di).utcOffset(0,!0).toDate()),relativeTimeId:wi?$r("g0.relative_time","none"):void 0}),ki=Ai.duration,xi=Ai.endInput,Ei=Ai.relativeTimeId,Ci={duration:ki,period:fi(ki,xi),relativeTime:Ei,timezone:bi};function Si(e,t){switch(t.type){case"SET_DURATION":return Cr(Cr({},e),{},{duration:t.payload,period:fi(t.payload,hi(e.period.end)),relativeTime:"none"});case"SET_RELATIVE_TIME":return Cr(Cr({},e),{},{duration:t.payload.duration,period:fi(t.payload.duration,t.payload.until),relativeTime:t.payload.id});case"SET_PERIOD":var n=function(e){var t=e.to.valueOf()-e.from.valueOf();return di(t)}(t.payload);return Cr(Cr({},e),{},{duration:n,period:fi(n,t.payload.to),relativeTime:"none"});case"RUN_QUERY":var r=mi({relativeTimeId:e.relativeTime,defaultDuration:e.duration,defaultEndInput:hi(e.period.end)}),i=r.duration,o=r.endInput;return Cr(Cr({},e),{},{period:fi(i,o)});case"RUN_QUERY_TO_NOW":return Cr(Cr({},e),{},{period:fi(e.duration)});case"SET_TIMEZONE":return _i(t.payload),Rr("TIMEZONE",t.payload),Cr(Cr({},e),{},{timezone:t.payload});default:throw new Error}}var Fi=U({}),Mi=function(){return fe(Fi).state},Oi=function(e){var t=e.map((function(e){return e.values[e.index]})),n=function(e){var t=Ir(e);return t?JSON.parse(t):[]}("QUERY_HISTORY");n[0]||(n[0]=[]);var r=n[0];t.forEach((function(e){!r.includes(e)&&e&&r.unshift(e),r.length>100&&r.shift()})),Rr("QUERY_HISTORY",JSON.stringify(n))},Ti=function(){var e,t=(null===(e=(window.location.hash.split("?")[1]||"").match(/g\d+\.expr/g))||void 0===e?void 0:e.length)||1;return new Array(t>4?4:t).fill(1).map((function(e,t){return $r("g".concat(t,".expr"),"")}))}(),Bi={query:Ti,queryHistory:Ti.map((function(e){return{index:0,values:[e]}})),autocomplete:Ir("AUTOCOMPLETE")||!1};function Pi(e,t){switch(t.type){case"SET_QUERY":return Cr(Cr({},e),{},{query:t.payload.map((function(e){return e}))});case"SET_QUERY_HISTORY":return Oi(t.payload),Cr(Cr({},e),{},{queryHistory:t.payload});case"SET_QUERY_HISTORY_BY_INDEX":return e.queryHistory.splice(t.payload.queryNumber,1,t.payload.value),Cr(Cr({},e),{},{queryHistory:e.queryHistory});case"TOGGLE_AUTOCOMPLETE":return Rr("AUTOCOMPLETE",!e.autocomplete),Cr(Cr({},e),{},{autocomplete:!e.autocomplete});default:throw new Error}}var Ni=U({}),Li=function(){return Qr("svg",{viewBox:"0 0 74 24",fill:"currentColor",children:Qr("path",{d:"M6.12 10.48c.36.28.8.43 1.26.43h.05c.48 0 .96-.19 1.25-.44 1.5-1.28 5.88-5.29 5.88-5.29C15.73 4.1 12.46 3.01 7.43 3h-.06C2.33 3-.93 4.1.24 5.18c0 0 4.37 4 5.88 5.3Zm2.56 2.16c-.36.28-.8.44-1.26.45h-.04c-.46 0-.9-.17-1.26-.45-1.04-.88-4.74-4.22-6.12-5.5v1.94c0 .21.08.5.22.63l.07.06c1.05.96 4.55 4.16 5.83 5.25.36.28.8.43 1.26.44h.04c.49-.02.96-.2 1.26-.44 1.3-1.11 4.94-4.45 5.88-5.31.15-.14.23-.42.23-.63V7.15a454.94 454.94 0 0 1-6.11 5.5Zm-1.26 4.99c.46 0 .9-.16 1.26-.44a454.4 454.4 0 0 0 6.1-5.5v1.94c0 .2-.07.48-.22.62-.94.87-4.57 4.2-5.88 5.3-.3.26-.77.44-1.26.45h-.04c-.46 0-.9-.16-1.26-.44-1.2-1.02-4.38-3.92-5.62-5.06l-.28-.25c-.14-.14-.22-.42-.22-.62v-1.94c1.38 1.26 5.08 4.6 6.12 5.5.36.28.8.43 1.26.44h.04ZM35 5l-5.84 14.46h-2.43L20.89 5h2.16a.9.9 0 0 1 .9.61l3.41 8.82a18.8 18.8 0 0 1 .62 2.02 19.44 19.44 0 0 1 .57-2.02l3.39-8.82c.05-.15.16-.3.31-.42a.9.9 0 0 1 .58-.19H35Zm17.18 0v14.46H49.8v-9.34c0-.37.02-.78.06-1.21l-4.37 8.21c-.21.4-.53.59-.95.59h-.38c-.43 0-.75-.2-.95-.59L38.8 8.88a22.96 22.96 0 0 1 .07 1.24v9.34H36.5V5h2.03l.3.01c.1 0 .17.02.24.05.07.03.13.07.19.13a1 1 0 0 1 .17.24l4.33 8.03a16.97 16.97 0 0 1 .6 1.36 14.34 14.34 0 0 1 .6-1.38l4.28-8.01c.05-.1.1-.18.17-.24.06-.06.12-.1.19-.13a.9.9 0 0 1 .24-.05l.3-.01h2.04Zm8.88 13.73a4.5 4.5 0 0 0 1.82-.35 3.96 3.96 0 0 0 2.22-2.47c.2-.57.3-1.19.3-1.85V5.31h1.02v8.75c0 .78-.12 1.51-.37 2.19a4.88 4.88 0 0 1-2.76 2.95c-.66.29-1.4.43-2.23.43-.82 0-1.57-.14-2.24-.43a5.01 5.01 0 0 1-2.75-2.95 6.37 6.37 0 0 1-.37-2.19V5.31h1.03v8.74c0 .66.1 1.28.3 1.85a3.98 3.98 0 0 0 2.21 2.47c.53.24 1.14.36 1.82.36Zm10.38.73h-1.03V5.31h1.03v14.15Z"})})},$i=function(){return Qr("svg",{viewBox:"0 0 85 38",fill:"currentColor",children:[Qr("path",{d:"M11.12 10.48c.36.28.8.43 1.26.43h.05c.48 0 .96-.19 1.25-.44 1.5-1.28 5.88-5.29 5.88-5.29 1.17-1.09-2.1-2.17-7.13-2.18h-.06c-5.04 0-8.3 1.1-7.13 2.18 0 0 4.37 4 5.88 5.3Zm2.56 2.16c-.36.28-.8.44-1.26.45h-.04c-.46 0-.9-.17-1.26-.45-1.04-.88-4.74-4.22-6.12-5.5v1.94c0 .21.08.5.22.63l.07.06c1.05.96 4.55 4.16 5.83 5.25.36.28.8.43 1.26.44h.04c.49-.02.96-.2 1.26-.44 1.3-1.11 4.94-4.45 5.88-5.31.15-.14.23-.42.23-.63V7.15a455.13 455.13 0 0 1-6.11 5.5Zm-1.26 4.99c.46 0 .9-.16 1.26-.44 2.05-1.82 4.09-3.65 6.1-5.5v1.94c0 .2-.07.48-.22.62-.94.87-4.57 4.2-5.88 5.3-.3.26-.77.44-1.26.45h-.04c-.46 0-.9-.16-1.26-.44-1.2-1.02-4.38-3.92-5.62-5.06l-.28-.25c-.14-.14-.22-.42-.22-.62v-1.94c1.38 1.26 5.08 4.6 6.12 5.5.36.28.8.43 1.26.44h.04ZM40 5l-5.84 14.46h-2.43L25.89 5h2.16a.9.9 0 0 1 .9.61l3.41 8.82a18.8 18.8 0 0 1 .62 2.02 19.44 19.44 0 0 1 .57-2.02l3.39-8.82c.05-.15.16-.3.31-.42a.9.9 0 0 1 .58-.19H40Zm17.18 0v14.46H54.8v-9.34c0-.37.02-.78.06-1.21l-4.37 8.21c-.21.4-.53.59-.95.59h-.38c-.43 0-.75-.2-.95-.59L43.8 8.88a22.96 22.96 0 0 1 .07 1.24v9.34H41.5V5h2.03l.3.01c.1 0 .17.02.24.05.07.03.13.07.19.13a1 1 0 0 1 .17.24l4.33 8.03a16.97 16.97 0 0 1 .6 1.36 14.34 14.34 0 0 1 .6-1.38l4.28-8.01c.05-.1.1-.18.17-.24.06-.06.12-.1.19-.13a.9.9 0 0 1 .24-.05l.3-.01h2.04Zm8.88 13.73a4.5 4.5 0 0 0 1.82-.35 3.96 3.96 0 0 0 2.22-2.47c.2-.57.3-1.19.3-1.85V5.31h1.02v8.75c0 .78-.12 1.51-.37 2.19a4.88 4.88 0 0 1-2.76 2.95c-.66.29-1.4.43-2.23.43-.82 0-1.57-.14-2.24-.43a5.01 5.01 0 0 1-2.75-2.95 6.37 6.37 0 0 1-.37-2.19V5.31h1.03v8.74c0 .66.1 1.28.3 1.85a3.98 3.98 0 0 0 2.21 2.47c.53.24 1.14.36 1.82.36Zm10.38.73h-1.03V5.31h1.03v14.15ZM1.73 36v-5.17l-.67-.07a.6.6 0 0 1-.21-.1.23.23 0 0 1-.08-.18v-.44h.96v-.59c0-.34.05-.65.14-.92a1.79 1.79 0 0 1 1.08-1.11 2.45 2.45 0 0 1 1.62-.02l-.03.53c0 .1-.06.15-.16.16H4c-.18 0-.35.03-.5.08a.95.95 0 0 0-.39.23c-.1.11-.19.25-.25.43-.05.18-.08.4-.08.65v.56h1.75v.78H2.8V36H1.73Zm6.17-6.17c.45 0 .85.07 1.2.22a2.57 2.57 0 0 1 1.5 1.62c.13.38.2.81.2 1.29s-.07.91-.2 1.3a2.57 2.57 0 0 1-1.49 1.61c-.36.14-.76.21-1.2.21-.45 0-.86-.07-1.22-.21a2.57 2.57 0 0 1-1.5-1.62c-.12-.38-.19-.81-.19-1.3 0-.47.07-.9.2-1.28a2.57 2.57 0 0 1 1.5-1.62c.35-.15.76-.22 1.2-.22Zm0 5.42c.6 0 1.05-.2 1.35-.6.3-.4.44-.97.44-1.69s-.15-1.28-.44-1.69c-.3-.4-.75-.6-1.35-.6-.3 0-.57.05-.8.15-.22.1-.4.26-.56.45-.15.2-.26.44-.33.73-.08.28-.11.6-.11.96 0 .72.15 1.29.44 1.69.3.4.76.6 1.36.6Zm5.26-4.11c.2-.42.43-.74.71-.97.28-.24.62-.36 1.03-.36.13 0 .25.02.36.05.12.02.23.07.32.13l-.08.8c-.02.1-.08.15-.18.15l-.24-.04a1.7 1.7 0 0 0-.88.05c-.15.05-.29.14-.4.25-.12.1-.23.24-.32.4-.1.17-.18.35-.26.56V36h-1.07v-6.08h.61c.12 0 .2.02.24.07.05.04.08.12.1.23l.06.92Zm13.73-3.82L23.39 36h-1.46l-3.5-8.68h1.29a.54.54 0 0 1 .54.37l2.04 5.3a11.31 11.31 0 0 1 .37 1.21 11.65 11.65 0 0 1 .35-1.22l2.03-5.29c.03-.1.1-.18.19-.25.1-.08.21-.12.35-.12h1.3Zm2.2 2.52V36H27.6v-6.16h1.49Zm.2-1.79c0 .13-.02.25-.08.36a1 1 0 0 1-.51.5.96.96 0 0 1-.73 0 1.02 1.02 0 0 1-.5-.5.96.96 0 0 1 0-.73.93.93 0 0 1 .86-.58.9.9 0 0 1 .37.08c.12.05.22.11.3.2a.94.94 0 0 1 .3.67Zm5.72 3.1a.68.68 0 0 1-.13.13c-.04.03-.1.05-.18.05a.42.42 0 0 1-.22-.07 3.95 3.95 0 0 0-.62-.31c-.14-.05-.3-.07-.51-.07-.26 0-.5.04-.69.14-.2.1-.36.23-.49.4-.13.18-.22.4-.29.64-.06.25-.1.53-.1.85 0 .33.04.62.1.88.08.25.18.47.32.64.13.18.29.3.48.4.18.09.4.13.63.13a1.6 1.6 0 0 0 .94-.27l.26-.2a.4.4 0 0 1 .25-.09.3.3 0 0 1 .27.14l.43.54a2.76 2.76 0 0 1-1.77.96c-.22.03-.43.05-.65.05a2.57 2.57 0 0 1-1.96-.83c-.25-.28-.45-.6-.6-1-.14-.4-.21-.85-.21-1.35 0-.45.06-.87.2-1.25a2.61 2.61 0 0 1 1.51-1.67c.37-.16.8-.24 1.28-.24.46 0 .86.07 1.2.22.35.15.66.36.94.64l-.4.54Zm3.43 4.95c-.54 0-.95-.15-1.24-.45-.28-.3-.42-.73-.42-1.26v-3.44h-.63a.29.29 0 0 1-.2-.07c-.06-.06-.09-.13-.09-.24v-.59l.99-.16.31-1.68a.33.33 0 0 1 .12-.18.34.34 0 0 1 .21-.07h.77v1.94h1.64v1.05h-1.64v3.34c0 .2.05.34.14.45.1.1.22.16.39.16a.73.73 0 0 0 .39-.1l.12-.07a.2.2 0 0 1 .11-.03c.05 0 .08.01.11.03l.09.1.44.72c-.21.18-.46.32-.74.4-.28.1-.57.15-.87.15Zm5.09-6.35c.46 0 .87.07 1.24.22a2.7 2.7 0 0 1 1.58 1.63c.14.39.22.83.22 1.31 0 .49-.08.93-.22 1.32-.14.4-.35.73-.62 1-.26.28-.58.49-.96.64-.37.15-.78.22-1.24.22a3.4 3.4 0 0 1-1.25-.22 2.71 2.71 0 0 1-1.59-1.64 3.8 3.8 0 0 1-.21-1.32c0-.48.07-.92.21-1.31a2.75 2.75 0 0 1 1.58-1.63c.38-.15.8-.22 1.26-.22Zm0 5.2c.51 0 .89-.17 1.13-.52.25-.34.38-.84.38-1.5a2.6 2.6 0 0 0-.38-1.53c-.24-.34-.62-.52-1.13-.52-.52 0-.9.18-1.16.53-.25.35-.37.85-.37 1.51s.12 1.17.37 1.51c.25.35.64.52 1.16.52Zm5.56-4.04c.2-.37.42-.65.69-.86.26-.21.57-.32.94-.32.28 0 .5.06.68.19l-.1 1.1a.3.3 0 0 1-.09.16.24.24 0 0 1-.15.04 1.8 1.8 0 0 1-.27-.03 2.01 2.01 0 0 0-.34-.03c-.16 0-.3.03-.44.08a1.1 1.1 0 0 0-.34.2c-.1.1-.2.2-.27.33-.08.13-.15.27-.22.44V36H47.7v-6.16h.87c.15 0 .26.03.31.09.06.05.1.15.13.29l.09.7Zm4.62-1.07V36h-1.49v-6.16h1.49Zm.2-1.79c0 .13-.02.25-.07.36a1 1 0 0 1-.51.5.96.96 0 0 1-.74 0 1.02 1.02 0 0 1-.5-.5.96.96 0 0 1 0-.73.93.93 0 0 1 .86-.58.9.9 0 0 1 .38.08c.11.05.21.11.3.2a.94.94 0 0 1 .28.67Zm4.56 5.32a7.8 7.8 0 0 0-1.08.12c-.29.05-.52.12-.7.2a.92.92 0 0 0-.38.3.64.64 0 0 0-.11.36c0 .26.07.45.23.56.15.11.35.17.6.17.3 0 .57-.06.79-.17.22-.1.44-.28.65-.5v-1.04Zm-3.4-2.67c.71-.65 1.57-.97 2.56-.97.36 0 .68.06.97.18a1.99 1.99 0 0 1 1.16 1.24c.1.3.16.61.16.96V36h-.67a.7.7 0 0 1-.33-.06c-.07-.04-.13-.13-.18-.26l-.13-.44c-.16.14-.3.26-.46.37a2.8 2.8 0 0 1-.97.43 2.77 2.77 0 0 1-1.32-.05 1.62 1.62 0 0 1-.57-.31 1.41 1.41 0 0 1-.38-.53 1.85 1.85 0 0 1-.05-1.18c.05-.16.14-.3.25-.45.12-.14.28-.27.46-.4a3 3 0 0 1 .7-.32 9.19 9.19 0 0 1 2.2-.33v-.36c0-.41-.09-.71-.26-.91-.18-.2-.43-.3-.76-.3a1.84 1.84 0 0 0-1.02.28l-.33.18c-.1.06-.2.09-.32.09-.1 0-.2-.03-.27-.08a.72.72 0 0 1-.17-.2l-.26-.47Zm11.49 4.32V36h-4.88v-8.6h1.16v7.62h3.72Zm3.16-5.2c.44 0 .84.08 1.2.23a2.57 2.57 0 0 1 1.49 1.62c.13.38.2.81.2 1.29s-.07.91-.2 1.3a2.57 2.57 0 0 1-1.49 1.61c-.36.14-.76.21-1.2.21-.45 0-.85-.07-1.21-.21a2.57 2.57 0 0 1-1.5-1.62c-.13-.38-.2-.81-.2-1.3 0-.47.07-.9.2-1.28.14-.39.33-.72.59-1 .25-.26.55-.47.9-.62.37-.15.77-.22 1.22-.22Zm0 5.43c.6 0 1.05-.2 1.34-.6.3-.4.45-.97.45-1.69s-.15-1.28-.45-1.69c-.3-.4-.74-.6-1.34-.6-.3 0-.57.05-.8.15-.22.1-.4.26-.56.45-.15.2-.26.44-.34.73-.07.28-.1.6-.1.96 0 .72.14 1.29.44 1.69.3.4.75.6 1.36.6Zm6.33-2.22c.22 0 .4-.03.57-.09.16-.06.3-.14.41-.25.12-.11.2-.24.26-.39.05-.15.08-.31.08-.5 0-.37-.11-.66-.34-.88-.23-.22-.55-.33-.98-.33-.43 0-.76.1-.99.33-.22.22-.34.51-.34.89 0 .18.03.34.09.5a1.1 1.1 0 0 0 .67.63c.16.06.35.09.57.09Zm1.93 3.3a.51.51 0 0 0-.13-.36.84.84 0 0 0-.34-.22 8.57 8.57 0 0 0-1.73-.2 7.5 7.5 0 0 1-.62-.05c-.23.1-.41.23-.56.4a.8.8 0 0 0-.1.92c.07.12.18.22.32.3.14.1.32.16.54.21a3.5 3.5 0 0 0 1.55 0c.23-.05.42-.12.57-.22.16-.1.29-.21.37-.34a.8.8 0 0 0 .13-.44Zm1.08-6.17v.4c0 .13-.08.21-.25.25l-.69.09c.14.26.2.56.2.88a1.86 1.86 0 0 1-1.36 1.82 3.07 3.07 0 0 1-1.72.04c-.12.08-.22.16-.29.25a.44.44 0 0 0-.1.27c0 .15.06.26.17.33.12.08.28.13.47.16a5 5 0 0 0 .66.06 16.56 16.56 0 0 1 1.5.13c.26.05.48.12.67.22.19.1.34.24.46.41.12.18.18.4.18.69 0 .26-.07.5-.2.75s-.31.46-.56.65c-.24.2-.54.34-.9.46a4.57 4.57 0 0 1-2.36.04c-.33-.09-.6-.2-.82-.36a1.56 1.56 0 0 1-.5-.51c-.1-.2-.16-.4-.16-.6 0-.3.1-.56.28-.77.19-.2.45-.37.77-.5a1.15 1.15 0 0 1-.43-.32.88.88 0 0 1-.15-.54c0-.09.01-.18.04-.27.04-.1.08-.2.15-.28a1.55 1.55 0 0 1 .58-.5c-.3-.16-.53-.39-.7-.66-.17-.28-.25-.6-.25-.97 0-.3.05-.57.16-.8.12-.25.28-.46.48-.63.2-.17.45-.3.73-.4a3 3 0 0 1 2.3.21h1.64Zm4.65.76a.24.24 0 0 1-.23.14.42.42 0 0 1-.2-.07 3.59 3.59 0 0 0-.67-.3 1.8 1.8 0 0 0-1.03 0c-.14.05-.27.11-.37.2a.87.87 0 0 0-.23.27.75.75 0 0 0-.08.35c0 .15.04.28.13.39.1.1.21.19.36.27.15.07.32.14.5.2a13.63 13.63 0 0 1 1.16.4c.2.08.36.18.5.3a1.33 1.33 0 0 1 .5 1.07 2 2 0 0 1-.15.78c-.1.24-.25.44-.45.62-.2.17-.43.3-.72.4a3.1 3.1 0 0 1-2.14-.05 2.97 2.97 0 0 1-.87-.53l.25-.41c.04-.05.07-.1.12-.12a.3.3 0 0 1 .17-.04.4.4 0 0 1 .22.08l.3.19a1.91 1.91 0 0 0 1.03.27c.2 0 .38-.03.54-.08.16-.06.29-.13.4-.22a.96.96 0 0 0 .3-.7c0-.17-.05-.31-.14-.42-.09-.11-.2-.2-.36-.28a2.6 2.6 0 0 0-.5-.2l-.59-.19c-.2-.06-.39-.14-.58-.22a2.14 2.14 0 0 1-.5-.3 1.45 1.45 0 0 1-.36-.46c-.1-.19-.14-.41-.14-.67a1.6 1.6 0 0 1 .57-1.23c.18-.16.4-.3.68-.39.26-.1.57-.14.91-.14a2.84 2.84 0 0 1 1.9.7l-.23.4Z"}),Qr("defs",{children:Qr("path",{d:"M0 0h85v38H0z"})})]})},Ri=function(){return Qr("svg",{viewBox:"0 0 15 17",fill:"currentColor",children:Qr("path",{d:"M6.11767 7.47586C6.47736 7.75563 6.91931 7.90898 7.37503 7.91213H7.42681C7.90756 7.90474 8.38832 7.71987 8.67677 7.46846C10.1856 6.18921 14.5568 2.18138 14.5568 2.18138C15.7254 1.09438 12.4637 0.00739 7.42681 0H7.36764C2.3308 0.00739 -0.930935 1.09438 0.237669 2.18138C0.237669 2.18138 4.60884 6.18921 6.11767 7.47586ZM8.67677 9.64243C8.31803 9.92483 7.87599 10.0808 7.41941 10.0861H7.37503C6.91845 10.0808 6.47641 9.92483 6.11767 9.64243C5.0822 8.75513 1.38409 5.42018 0.000989555 4.14832V6.07829C0.000989555 6.29273 0.0823481 6.57372 0.222877 6.70682L0.293316 6.7712L0.293344 6.77122C1.33784 7.72579 4.83903 10.9255 6.11767 12.0161C6.47641 12.2985 6.91845 12.4545 7.37503 12.4597H7.41941C7.90756 12.4449 8.38092 12.2601 8.67677 12.0161C9.9859 10.9069 13.6249 7.57198 14.5642 6.70682C14.7121 6.57372 14.7861 6.29273 14.7861 6.07829V4.14832C12.7662 5.99804 10.7297 7.82949 8.67677 9.64243ZM7.41941 14.6263C7.87513 14.6232 8.31708 14.4698 8.67677 14.19C10.7298 12.3746 12.7663 10.5407 14.7861 8.68853V10.6259C14.7861 10.8329 14.7121 11.1139 14.5642 11.247C13.6249 12.1196 9.9859 15.4471 8.67677 16.5563C8.38092 16.8077 7.90756 16.9926 7.41941 17H7.37503C6.91931 16.9968 6.47736 16.8435 6.11767 16.5637C4.91427 15.5373 1.74219 12.6364 0.502294 11.5025C0.393358 11.4029 0.299337 11.3169 0.222877 11.247C0.0823481 11.1139 0.000989555 10.8329 0.000989555 10.6259V8.68853C1.38409 9.95303 5.0822 13.2953 6.11767 14.1827C6.47641 14.4651 6.91845 14.6211 7.37503 14.6263H7.41941Z"})})},Ii=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Qr("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"})})},ji=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Qr("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})})},zi=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Qr("path",{d:"M12 5V2L8 6l4 4V7c3.31 0 6 2.69 6 6 0 2.97-2.17 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93 0-4.42-3.58-8-8-8zm-6 8c0-1.65.67-3.15 1.76-4.24L6.34 7.34C4.9 8.79 4 10.79 4 13c0 4.08 3.05 7.44 7 7.93v-2.02c-2.83-.48-5-2.94-5-5.91z"})})},Hi=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Qr("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"})})},Ui=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Qr("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"})})},Vi=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Qr("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"})})},Wi=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Qr("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})})},Zi=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Qr("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"})})},Yi=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Qr("path",{d:"m7 10 5 5 5-5z"})})},qi=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Qr("path",{d:"M8 5v14l11-7z"})})},Gi=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Qr("path",{d:"m3.5 18.49 6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z"})})},Qi=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Qr("path",{d:"M10 10.02h5V21h-5zM17 21h3c1.1 0 2-.9 2-2v-9h-5v11zm3-18H5c-1.1 0-2 .9-2 2v3h19V5c0-1.1-.9-2-2-2zM3 19c0 1.1.9 2 2 2h3V10H3v9z"})})},Ji=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Qr("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"})})},Ki=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Qr("path",{d:"M8.9999 14.7854L18.8928 4.8925C19.0803 4.70497 19.3347 4.59961 19.5999 4.59961C19.8651 4.59961 20.1195 4.70497 20.307 4.8925L21.707 6.2925C22.0975 6.68303 22.0975 7.31619 21.707 7.70672L9.70701 19.7067C9.31648 20.0972 8.68332 20.0972 8.2928 19.7067L2.6928 14.1067C2.50526 13.9192 2.3999 13.6648 2.3999 13.3996C2.3999 13.1344 2.50526 12.88 2.6928 12.6925L4.0928 11.2925C4.48332 10.902 5.11648 10.902 5.50701 11.2925L8.9999 14.7854Z"})})},Xi=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Qr("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"})})},eo=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Qr("path",{d:"M20 9H4v2h16V9zM4 15h16v-2H4v2z"})})},to=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:[Qr("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 5C19.89 4.65 18.67 4.5 17.5 4.5C15.55 4.5 13.45 4.9 12 6C10.55 4.9 8.45 4.5 6.5 4.5C5.33 4.5 4.11 4.65 3 5C2.25 5.25 1.6 5.55 1 6V20.6C1 20.85 1.25 21.1 1.5 21.1C1.6 21.1 1.65 21.1 1.75 21.05C3.15 20.3 4.85 20 6.5 20C8.2 20 10.65 20.65 12 21.5C13.35 20.65 15.8 20 17.5 20C19.15 20 20.85 20.3 22.25 21.05C22.35 21.1 22.4 21.1 22.5 21.1C22.75 21.1 23 20.85 23 20.6V6C22.4 5.55 21.75 5.25 21 5ZM21 18.5C19.9 18.15 18.7 18 17.5 18C15.8 18 13.35 18.65 12 19.5C10.65 18.65 8.2 18 6.5 18C5.3 18 4.1 18.15 3 18.5V7C4.1 6.65 5.3 6.5 6.5 6.5C8.2 6.5 10.65 7.15 12 8C13.35 7.15 15.8 6.5 17.5 6.5C18.7 6.5 19.9 6.65 21 7V18.5Z"}),Qr("path",{d:"M17.5 10.5C18.38 10.5 19.23 10.59 20 10.76V9.24C19.21 9.09 18.36 9 17.5 9C15.8 9 14.26 9.29 13 9.83V11.49C14.13 10.85 15.7 10.5 17.5 10.5ZM13 12.49V14.15C14.13 13.51 15.7 13.16 17.5 13.16C18.38 13.16 19.23 13.25 20 13.42V11.9C19.21 11.75 18.36 11.66 17.5 11.66C15.8 11.66 14.26 11.96 13 12.49ZM17.5 14.33C15.8 14.33 14.26 14.62 13 15.16V16.82C14.13 16.18 15.7 15.83 17.5 15.83C18.38 15.83 19.23 15.92 20 16.09V14.57C19.21 14.41 18.36 14.33 17.5 14.33Z"}),Qr("path",{d:"M6.5 10.5C5.62 10.5 4.77 10.59 4 10.76V9.24C4.79 9.09 5.64 9 6.5 9C8.2 9 9.74 9.29 11 9.83V11.49C9.87 10.85 8.3 10.5 6.5 10.5ZM11 12.49V14.15C9.87 13.51 8.3 13.16 6.5 13.16C5.62 13.16 4.77 13.25 4 13.42V11.9C4.79 11.75 5.64 11.66 6.5 11.66C8.2 11.66 9.74 11.96 11 12.49ZM6.5 14.33C8.2 14.33 9.74 14.62 11 15.16V16.82C9.87 16.18 8.3 15.83 6.5 15.83C5.62 15.83 4.77 15.92 4 16.09V14.57C4.79 14.41 5.64 14.33 6.5 14.33Z"})]})},no=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Qr("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3-8c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3 3 1.34 3 3z"})})},ro=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Qr("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})})},io=function(){return Qr("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:Qr("path",{d:"M3 14h4v-4H3v4zm0 5h4v-4H3v4zM3 9h4V5H3v4zm5 5h13v-4H8v4zm0 5h13v-4H8v4zM8 5v4h13V5H8z"})})},oo=function(){return Qr("svg",{viewBox:"0 0 16 16",fill:Ur("color-error"),children:Qr("path",{d:"M13.5095 4L8.50952 1H7.50952L2.50952 4L2.01953 4.85999V10.86L2.50952 11.71L7.50952 14.71H8.50952L13.5095 11.71L13.9995 10.86V4.85999L13.5095 4ZM7.50952 13.5601L3.00952 10.86V5.69995L7.50952 8.15002V13.5601ZM3.26953 4.69995L8.00952 1.85999L12.7495 4.69995L8.00952 7.29004L3.26953 4.69995ZM13.0095 10.86L8.50952 13.5601V8.15002L13.0095 5.69995V10.86Z"})})},ao=function(){return Qr("svg",{viewBox:"0 0 16 16",fill:Ur("color-primary"),children:Qr("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 5H4V4H1.5L1 4.5V12.5L1.5 13H4V12H2V5ZM14.5 4H12V5H14V12H12V13H14.5L15 12.5V4.5L14.5 4ZM11.76 6.56995L12 7V9.51001L11.7 9.95996L7.19995 11.96H6.73999L4.23999 10.46L4 10.03V7.53003L4.30005 7.06995L8.80005 5.06995H9.26001L11.76 6.56995ZM5 9.70996L6.5 10.61V9.28003L5 8.38V9.70996ZM5.57996 7.56006L7.03003 8.43005L10.42 6.93005L8.96997 6.06006L5.57996 7.56006ZM7.53003 10.73L11.03 9.17004V7.77002L7.53003 9.31995V10.73Z"})})},uo=function(){return Qr("svg",{viewBox:"0 0 16 16",fill:Ur("color-warning"),children:Qr("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2H8L7 3V6H8V3H14V8H10V9H14L15 8V3L14 2ZM9 6H13V7H9.41L9 6.59V6ZM7 7H2L1 8V13L2 14H8L9 13V8L8 7H7ZM8 13H2V8H8V9V13ZM3 9H7V10H3V9ZM3 11H7V12H3V11ZM9 4H13V5H9V4Z"})})},lo=function(){return Qr("svg",{viewBox:"0 0 16 16",fill:Ur("color-primary"),children:Qr("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 3L8 2H14L15 3V8L14 9H10V8H14V3H8V6H7V3ZM9 9V8L8 7H7H2L1 8V13L2 14H8L9 13V9ZM8 8V9V13H2V8H7H8ZM9.41421 7L9 6.58579V6H13V7H9.41421ZM9 4H13V5H9V4ZM7 10H3V11H7V10Z"})})},co=n(123),so=n.n(co);function fo(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var po=["to","isNavLink","children"],ho=function(e){var t=e.to,n=e.isNavLink,r=e.children,i=fo(e,po);return n?Qr(Dr,Cr(Cr({to:t},i),{},{children:r})):Qr("div",Cr(Cr({},i),{},{children:r}))},vo=function(e){var t,n=e.activeItem,r=e.item,i=e.color,o=void 0===i?Ur("color-primary"):i,a=e.activeNavRef,u=e.onChange,l=e.isNavLink;return Qr(ho,{className:so()(xr({"vm-tabs-item":!0,"vm-tabs-item_active":n===r.value},r.className||"",r.className)),isNavLink:l,to:r.value,style:{color:o},onClick:(t=r.value,function(){u&&u(t)}),ref:n===r.value?a:void 0,children:[r.icon&&Qr("div",{className:so()({"vm-tabs-item__icon":!0,"vm-tabs-item__icon_single":!r.label}),children:r.icon}),r.label]})},mo="undefined"!==typeof window?ae:oe;var go=function(e,t,n,r){var i=ue(t);mo((function(){i.current=t}),[t]),oe((function(){var t,o=null!==(t=null===n||void 0===n?void 0:n.current)&&void 0!==t?t:window;if(o&&o.addEventListener){var a=function(e){return i.current(e)};return o.addEventListener(e,a,r),function(){o.removeEventListener(e,a,r)}}}),[e,n,r])},yo=function(){var e=Lt(re({width:0,height:0}),2),t=e[0],n=e[1],r=function(){n({width:window.innerWidth,height:window.innerHeight})};return go("resize",r),mo(r,[]),t},_o=function(e){var t=e.activeItem,n=e.items,r=e.color,i=void 0===r?Ur("color-primary"):r,o=e.onChange,a=e.indicatorPlacement,u=void 0===a?"bottom":a,l=e.isNavLink,c=yo(),s=ue(null),f=Lt(re({left:0,width:0,bottom:0}),2),p=f[0],d=f[1];return oe((function(){var e;if((null===(e=s.current)||void 0===e?void 0:e.base)instanceof HTMLElement){var t=s.current.base,n=t.offsetLeft,r=t.offsetWidth,i=t.offsetHeight;d({left:n,width:r,bottom:"top"===u?i-2:0})}}),[c,t,s,n]),Qr("div",{className:"vm-tabs",children:[n.map((function(e){return Qr(vo,{activeItem:t,item:e,onChange:o,color:i,activeNavRef:s,isNavLink:l},e.value)})),Qr("div",{className:"vm-tabs__indicator",style:Cr(Cr({},p),{},{borderColor:i})})]})},bo=[{value:"chart",icon:Qr(Gi,{}),label:"Graph",prometheusCode:0},{value:"code",icon:Qr(Ji,{}),label:"JSON",prometheusCode:3},{value:"table",icon:Qr(Qi,{}),label:"Table",prometheusCode:1}],Do=$r("g0.tab",0),wo=bo.find((function(e){return e.prometheusCode===+Do||e.value===Do})),Ao=Ir("SERIES_LIMITS"),ko={displayType:(null===wo||void 0===wo?void 0:wo.value)||"chart",nocache:!1,isTracingEnabled:!1,seriesLimits:Ao?JSON.parse(Ao):Lr,tableCompact:Ir("TABLE_COMPACT")||!1};function xo(e,t){switch(t.type){case"SET_DISPLAY_TYPE":return Cr(Cr({},e),{},{displayType:t.payload});case"SET_SERIES_LIMITS":return Rr("SERIES_LIMITS",JSON.stringify(t.payload)),Cr(Cr({},e),{},{seriesLimits:t.payload});case"TOGGLE_QUERY_TRACING":return Cr(Cr({},e),{},{isTracingEnabled:!e.isTracingEnabled});case"TOGGLE_NO_CACHE":return Cr(Cr({},e),{},{nocache:!e.nocache});case"TOGGLE_TABLE_COMPACT":return Rr("TABLE_COMPACT",!e.tableCompact),Cr(Cr({},e),{},{tableCompact:!e.tableCompact});default:throw new Error}}var Eo=U({}),Co={customStep:$r("g0.step_input",""),yaxis:{limits:{enable:!1,range:{1:[0,0]}}},isHistogram:!1};function So(e,t){switch(t.type){case"TOGGLE_ENABLE_YAXIS_LIMITS":return Cr(Cr({},e),{},{yaxis:Cr(Cr({},e.yaxis),{},{limits:Cr(Cr({},e.yaxis.limits),{},{enable:!e.yaxis.limits.enable})})});case"SET_CUSTOM_STEP":return Cr(Cr({},e),{},{customStep:t.payload});case"SET_YAXIS_LIMITS":return Cr(Cr({},e),{},{yaxis:Cr(Cr({},e.yaxis),{},{limits:Cr(Cr({},e.yaxis.limits),{},{range:t.payload})})});case"SET_IS_HISTOGRAM":return Cr(Cr({},e),{},{isHistogram:t.payload});default:throw new Error}}var Fo=U({}),Mo={windows:"Windows",mac:"Mac OS",linux:"Linux"},Oo=function(){return(Object.values(Mo).find((function(e){return navigator.userAgent.indexOf(e)>=0}))||"unknown")===Mo.mac};function To(){var e=yo(),t=function(){var e=function(){var e=["Android","webOS","iPhone","iPad","iPod","BlackBerry","Windows Phone"].map((function(e){return navigator.userAgent.match(new RegExp(e,"i"))}));return e.some((function(e){return e}))}(),t=window.innerWidth<500;return e||t},n=Lt(re(t()),2),r=n[0],i=n[1];return oe((function(){i(t())}),[e]),{isMobile:r}}var Bo={success:Qr(Wi,{}),error:Qr(Vi,{}),warning:Qr(Ui,{}),info:Qr(Hi,{})},Po=function(e){var t,n=e.variant,r=e.children,i=Kr().isDarkTheme,o=To().isMobile;return Qr("div",{className:so()((t={"vm-alert":!0},xr(t,"vm-alert_".concat(n),n),xr(t,"vm-alert_dark",i),xr(t,"vm-alert_mobile",o),t)),children:[Qr("div",{className:"vm-alert__icon",children:Bo[n||"info"]}),Qr("div",{className:"vm-alert__content",children:r})]})},No=U({showInfoMessage:function(){}}),Lo={dashboardsSettings:[],dashboardsLoading:!1,dashboardsError:""};function $o(e,t){switch(t.type){case"SET_DASHBOARDS_SETTINGS":return Cr(Cr({},e),{},{dashboardsSettings:t.payload});case"SET_DASHBOARDS_LOADING":return Cr(Cr({},e),{},{dashboardsLoading:t.payload});case"SET_DASHBOARDS_ERROR":return Cr(Cr({},e),{},{dashboardsError:t.payload});default:throw new Error}}var Ro=U({}),Io=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return function(n){var r=n.children;return Qr(e,{children:Qr(t,{children:r})})}}),(function(e){return Qr(_,{children:e.children})}))}.apply(void 0,[function(e){var t=e.children,n=Lt(ie(qr,ei),2),r=n[0],i=n[1],o=ce((function(){return{state:r,dispatch:i}}),[r,i]);return Qr(Jr.Provider,{value:o,children:t})},function(e){var t=e.children,n=Lt(ie(Si,Ci),2),r=n[0],i=n[1],o=ce((function(){return{state:r,dispatch:i}}),[r,i]);return Qr(Fi.Provider,{value:o,children:t})},function(e){var t=e.children,n=Lt(ie(Pi,Bi),2),r=n[0],i=n[1],o=ce((function(){return{state:r,dispatch:i}}),[r,i]);return Qr(Ni.Provider,{value:o,children:t})},function(e){var t=e.children,n=Lt(ie(xo,ko),2),r=n[0],i=n[1],o=ce((function(){return{state:r,dispatch:i}}),[r,i]);return Qr(Eo.Provider,{value:o,children:t})},function(e){var t=e.children,n=Lt(ie(So,Co),2),r=n[0],i=n[1],o=ce((function(){return{state:r,dispatch:i}}),[r,i]);return Qr(Fo.Provider,{value:o,children:t})},function(e){var t=e.children,n=To().isMobile,r=Lt(re({}),2),i=r[0],o=r[1],a=Lt(re(!1),2),u=a[0],l=a[1],c=Lt(re(void 0),2),s=c[0],f=c[1];oe((function(){if(s){o({message:s.text,variant:s.type,key:Date.now()}),l(!0);var e=setTimeout(p,4e3);return function(){return clearTimeout(e)}}}),[s]);var p=function(){f(void 0),l(!1)};return Qr(No.Provider,{value:{showInfoMessage:f},children:[u&&Qr("div",{className:so()({"vm-snackbar":!0,"vm-snackbar_mobile":n}),children:Qr(Po,{variant:i.variant,children:Qr("div",{className:"vm-snackbar-content",children:[Qr("span",{children:i.message}),Qr("div",{className:"vm-snackbar-content__close",onClick:p,children:Qr(ji,{})})]})})}),t]})},function(e){var t=e.children,n=Lt(ie($o,Lo),2),r=n[0],i=n[1],o=ce((function(){return{state:r,dispatch:i}}),[r,i]);return Qr(Ro.Provider,{value:o,children:t})}]),jo={"color-primary":"#589DF6","color-secondary":"#316eca","color-error":"#e5534b","color-warning":"#c69026","color-info":"#539bf5","color-success":"#57ab5a","color-background-body":"#22272e","color-background-block":"#2d333b","color-background-tooltip":"rgba(22, 22, 22, 0.8)","color-text":"#cdd9e5","color-text-secondary":"#768390","color-text-disabled":"#636e7b","box-shadow":"rgba(0, 0, 0, 0.16) 1px 2px 6px","box-shadow-popper":"rgba(0, 0, 0, 0.2) 0px 2px 8px 0px","border-divider":"1px solid rgba(99, 110, 123, 0.5)","color-hover-black":"rgba(0, 0, 0, 0.12)"},zo={"color-primary":"#3F51B5","color-secondary":"#E91E63","color-error":"#FD080E","color-warning":"#FF8308","color-info":"#03A9F4","color-success":"#4CAF50","color-background-body":"#FEFEFF","color-background-block":"#FFFFFF","color-background-tooltip":"rgba(80,80,80,0.9)","color-text":"#110f0f","color-text-secondary":"#706F6F","color-text-disabled":"#A09F9F","box-shadow":"rgba(0, 0, 0, 0.08) 1px 2px 6px","box-shadow-popper":"rgba(0, 0, 0, 0.1) 0px 2px 8px 0px","border-divider":"1px solid rgba(0, 0, 0, 0.15)","color-hover-black":"rgba(0, 0, 0, 0.06)"},Ho=function(){var e=Lt(re(Wr()),2),t=e[0],n=e[1],r=function(e){n(e.matches)};return oe((function(){var e=window.matchMedia("(prefers-color-scheme: dark)");return e.addEventListener("change",r),function(){return e.removeEventListener("change",r)}}),[]),t},Uo=["primary","secondary","error","warning","info","success"],Vo=function(e){var t,n=e.onLoaded,r=Fr(),i=Sr().palette,o=void 0===i?{}:i,a=Kr().theme,u=Ho(),l=Xr(),c=yo(),s=Lt(re((xr(t={},Hr.dark,jo),xr(t,Hr.light,zo),xr(t,Hr.system,Wr()?jo:zo),t)),2),f=s[0],p=s[1],d=function(){var e=window,t=e.innerWidth,n=e.innerHeight,r=document.documentElement,i=r.clientWidth,o=r.clientHeight;Vr("scrollbar-width","".concat(t-i,"px")),Vr("scrollbar-height","".concat(n-o,"px")),Vr("vh","".concat(.01*n,"px"))},h=function(){Uo.forEach((function(e,t){var r=function(e){var t=e.replace("#","").trim();if(3===t.length&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),6!==t.length)throw new Error("Invalid HEX color.");return(299*parseInt(t.slice(0,2),16)+587*parseInt(t.slice(2,4),16)+114*parseInt(t.slice(4,6),16))/1e3>=128?"#000000":"#FFFFFF"}(Ur("color-".concat(e)));Vr("".concat(e,"-text"),r),t===Uo.length-1&&(l({type:"SET_DARK_THEME"}),n(!0))}))},v=function(){var e=Ir("THEME")||Hr.system,t=f[e];Object.entries(t).forEach((function(e){var t=Lt(e,2),n=t[0],r=t[1];Vr(n,r)})),h(),r&&(Uo.forEach((function(e){var t=o[e];t&&Vr("color-".concat(e),t)})),h())};return oe((function(){d(),v()}),[f]),oe(d,[c]),oe((function(){var e=Wr()?jo:zo;f[Hr.system]!==e?p((function(t){return Cr(Cr({},t),{},xr({},Hr.system,e))})):v()}),[a,u]),oe((function(){r&&l({type:"SET_THEME",payload:Hr.light})}),[]),null};function Wo(){Wo=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(S){l=function(e,t,n){return e[t]=n}}function c(e,t,n,i){var o=t&&t.prototype instanceof p?t:p,a=Object.create(o.prototype),u=new x(i||[]);return r(a,"_invoke",{value:D(e,n,u)}),a}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(S){return{type:"throw",arg:S}}}e.wrap=c;var f={};function p(){}function d(){}function h(){}var v={};l(v,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(E([])));g&&g!==t&&n.call(g,o)&&(v=g);var y=h.prototype=p.prototype=Object.create(v);function _(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function i(r,o,a,u){var l=s(e[r],e,o);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==zt(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){i("next",e,a,u)}),(function(e){i("throw",e,a,u)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return i("throw",e,a,u)}))}u(l.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return o=o?o.then(r,r):r()}})}function D(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return C()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=w(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function w(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=s(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,f;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function E(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:C}}function C(){return{value:void 0,done:!0}}return d.prototype=h,r(y,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:d,configurable:!0}),d.displayName=l(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,l(e,u,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},_(b.prototype),l(b.prototype,a,(function(){return this})),e.AsyncIterator=b,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new b(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(y),l(y,u,"Generator"),l(y,o,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=E,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(u&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;k(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function Zo(e,t,n,r,i,o,a){try{var u=e[o](a),l=u.value}catch(c){return void n(c)}u.done?t(l):Promise.resolve(l).then(r,i)}function Yo(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Zo(o,r,i,a,u,"next",e)}function u(e){Zo(o,r,i,a,u,"throw",e)}a(void 0)}))}}var qo=function(){var e=fe(No).showInfoMessage;return function(){var t=Yo(Wo().mark((function t(n,r){var i;return Wo().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==(i=navigator)&&void 0!==i&&i.clipboard){t.next=4;break}return e({text:"Clipboard not supported",type:"error"}),console.warn("Clipboard not supported"),t.abrupt("return",!1);case 4:return t.prev=4,t.next=7,navigator.clipboard.writeText(n);case 7:return r&&e({text:r,type:"success"}),t.abrupt("return",!0);case 11:return t.prev=11,t.t0=t.catch(4),t.t0 instanceof Error&&e({text:"".concat(t.t0.name,": ").concat(t.t0.message),type:"error"}),console.warn("Copy failed",t.t0),t.abrupt("return",!1);case 16:case"end":return t.stop()}}),t,null,[[4,11]])})));return function(e,n){return t.apply(this,arguments)}}()},Go=function(e){var t,n=e.variant,r=void 0===n?"contained":n,i=e.color,o=void 0===i?"primary":i,a=e.size,u=void 0===a?"medium":a,l=e.ariaLabel,c=e.children,s=e.endIcon,f=e.startIcon,p=e.fullWidth,d=void 0!==p&&p,h=e.className,v=e.disabled,m=e.onClick,g=e.onMouseDown;return Qr("button",{className:so()((xr(t={"vm-button":!0},"vm-button_".concat(r,"_").concat(o),!0),xr(t,"vm-button_".concat(u),u),xr(t,"vm-button_icon",(f||s)&&!c),xr(t,"vm-button_full-width",d),xr(t,"vm-button_with-icon",f||s),xr(t,"vm-button_disabled",v),xr(t,h||"",h),t)),disabled:v,"aria-label":l,onClick:m,onMouseDown:g,children:Qr(_,{children:[f&&Qr("span",{className:"vm-button__start-icon",children:f}),c&&Qr("span",{children:c}),s&&Qr("span",{className:"vm-button__end-icon",children:s})]})})},Qo=function(e){var t=e.data,n=qo(),r=ce((function(){return JSON.stringify(t,null,2)}),[t]),i=function(){var e=Yo(Wo().mark((function e(){return Wo().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n(r,"Formatted JSON has been copied");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Qr("div",{className:"vm-json-view",children:[Qr("div",{className:"vm-json-view__copy",children:Qr(Go,{variant:"outlined",onClick:i,children:"Copy JSON"})}),Qr("pre",{className:"vm-json-view__code",children:Qr("code",{children:r})})]})},Jo=function(e){var t=e.children,n=e.title,r=e.open,i=e.placement,o=void 0===i?"bottom-center":i,a=e.offset,u=void 0===a?{top:6,left:0}:a,l=To().isMobile,c=Lt(re(!1),2),s=c[0],f=c[1],p=Lt(re({width:0,height:0}),2),d=p[0],h=p[1],v=ue(null),m=ue(null),g=function(){return f(!1)};oe((function(){if(m.current&&s)return h({width:m.current.clientWidth,height:m.current.clientHeight}),window.addEventListener("scroll",g),function(){window.removeEventListener("scroll",g)}}),[s,n]);var y=ce((function(){var e,t=null===v||void 0===v||null===(e=v.current)||void 0===e?void 0:e.base;if(!t||!s)return{};var n=t.getBoundingClientRect(),r={top:0,left:0},i="bottom-right"===o||"top-right"===o,a="bottom-left"===o||"top-left"===o,l=null===o||void 0===o?void 0:o.includes("top"),c=(null===u||void 0===u?void 0:u.top)||0,f=(null===u||void 0===u?void 0:u.left)||0;r.left=n.left-(d.width-n.width)/2+f,r.top=n.height+n.top+c,i&&(r.left=n.right-d.width),a&&(r.left=n.left+f),l&&(r.top=n.top-d.height-c);var p=window,h=p.innerWidth,m=p.innerHeight,g=r.top+d.height+20>m,y=r.top-20<0,_=r.left+d.width+20>h,b=r.left-20<0;return g&&(r.top=n.top-d.height-c),y&&(r.top=n.height+n.top+c),_&&(r.left=n.right-d.width-f),b&&(r.left=n.left+f),r.top<0&&(r.top=20),r.left<0&&(r.left=20),r}),[v,o,s,d]),b=function(){"boolean"!==typeof r&&f(!0)},D=function(){f(!1)};return oe((function(){"boolean"===typeof r&&f(r)}),[r]),oe((function(){var e,t=null===v||void 0===v||null===(e=v.current)||void 0===e?void 0:e.base;if(t)return t.addEventListener("mouseenter",b),t.addEventListener("mouseleave",D),function(){t.removeEventListener("mouseenter",b),t.removeEventListener("mouseleave",D)}}),[v]),Qr(_,{children:[Qr(_,{ref:v,children:t}),!l&&s&&At.createPortal(Qr("div",{className:"vm-tooltip",ref:m,style:y,children:n}),document.body)]})},Ko=function(e){var t=Lt(re(!!e),2),n=t[0],r=t[1],i=se((function(){return r(!0)}),[]),o=se((function(){return r(!1)}),[]),a=se((function(){return r((function(e){return!e}))}),[]);return{value:n,setValue:r,setTrue:i,setFalse:o,toggle:a}},Xo=function(e,t,n){var r=se((function(r){var i=null===e||void 0===e?void 0:e.current,o=r.target,a=(null===n||void 0===n?void 0:n.current)&&n.current.contains(o);!i||i.contains((null===r||void 0===r?void 0:r.target)||null)||a||t(r)}),[e,t]);go("mousedown",r),go("touchstart",r)},ea=function(e){var t=e.children,n=e.buttonRef,r=e.placement,i=void 0===r?"bottom-left":r,o=e.open,a=void 0!==o&&o,u=e.onClose,l=e.offset,c=void 0===l?{top:6,left:0}:l,s=e.clickOutside,f=void 0===s||s,p=e.fullWidth,d=e.title,h=e.disabledFullScreen,v=To().isMobile,m=Wn(),g=Un(),y=Lt(re({width:0,height:0}),2),b=y[0],D=y[1],w=Ko(!1),A=w.value,k=w.setValue,x=w.setFalse,E=ue(null);oe((function(){k(a)}),[a]),oe((function(){return!A&&u&&u(),A&&v&&!h&&(document.body.style.overflow="hidden"),function(){document.body.style.overflow="auto"}}),[A]),oe((function(){var e,t;D({width:(null===E||void 0===E||null===(e=E.current)||void 0===e?void 0:e.clientWidth)||0,height:(null===E||void 0===E||null===(t=E.current)||void 0===t?void 0:t.clientHeight)||0}),k(!1)}),[E]);var C=ce((function(){var e=n.current;if(!e||!A)return{};var t=e.getBoundingClientRect(),r={top:0,left:0,width:"auto"},o="bottom-right"===i||"top-right"===i,a=null===i||void 0===i?void 0:i.includes("top"),u=(null===c||void 0===c?void 0:c.top)||0,l=(null===c||void 0===c?void 0:c.left)||0;r.left=r.left=t.left+l,r.top=t.height+t.top+u,o&&(r.left=t.right-b.width),a&&(r.top=t.top-b.height-u);var s=window,f=s.innerWidth,d=s.innerHeight,h=r.top+b.height+20>d,v=r.top-20<0,m=r.left+b.width+20>f,g=r.left-20<0;return h&&(r.top=t.top-b.height-u),v&&(r.top=t.height+t.top+u),m&&(r.left=t.right-b.width-l),g&&(r.left=t.left+l),p&&(r.width="".concat(t.width,"px")),r.top<0&&(r.top=20),r}),[n,i,A,t,p]);f&&Xo(E,(function(){return k(!1)}),n),oe((function(){if(E.current&&A&&(!v||h)){var e=E.current.getBoundingClientRect(),t=e.right,n=e.width;if(t>window.innerWidth){var r=window.innerWidth-20-n;E.current.style.left=r<window.innerWidth?"0":"".concat(r,"px")}}}),[A,E]);var S=se((function(){A&&v&&!h&&(m(g,{replace:!0}),u())}),[A,v,h,g,u]);return go("scroll",x),go("popstate",S),Qr(_,{children:(A||!b.width)&&At.createPortal(Qr("div",{className:so()({"vm-popper":!0,"vm-popper_mobile":v&&!h,"vm-popper_open":(v||Object.keys(C).length)&&A}),ref:E,style:v&&!h?{}:C,children:[(d||v&&!h)&&Qr("div",{className:"vm-popper-header",children:[Qr("p",{className:"vm-popper-header__title",children:d}),Qr(Go,{variant:"text",size:"small",onClick:function(e){e.stopPropagation(),u()},ariaLabel:"close",children:Qr(ji,{})})]}),t]}),document.body)})},ta=[10,25,50,100,250,500,1e3],na=function(e){var t=e.limit,n=e.tooltip,r=e.onChange,i=To().isMobile,o=n||"Rows per page",a=ue(null),u=Ko(!1),l=u.value,c=u.toggle,s=u.setFalse,f=function(e){return function(){r(e),s()}};return Qr(_,{children:[Qr(Jo,{title:o,children:Qr("div",{ref:a,children:Qr(Go,{variant:"text",endIcon:Qr(Yi,{}),onClick:c,children:t})})}),Qr(ea,{open:l,onClose:s,placement:"bottom-right",buttonRef:a,children:Qr("div",{className:"vm-select-limits",children:ta.map((function(e){return Qr("div",{className:so()({"vm-list-item":!0,"vm-list-item_mobile":i,"vm-list-item_active":e===t}),onClick:f(e),children:e},e)}))})})]})},ra=function(e,t){var n=Lt(kr(),1)[0],r=n.get(t)?n.get(t):e,i=Lt(re(r),2),o=i[0],a=i[1];return oe((function(){r!==o&&a(r)}),[r]),[o,a]},ia=function(){var e=Wn(),t=Lt(kr(),2),n=t[0],r=t[1];return{setSearchParamsFromKeys:se((function(t){var i=!!Array.from(n.values()).length,o=!1;Object.entries(t).forEach((function(e){var t=Lt(e,2),r=t[0],i=t[1];n.get(r)!=="".concat(i)&&(n.set(r,"".concat(i)),o=!0)})),o&&(i?r(n):e("?".concat(n.toString()),{replace:!0}))}),[n,e])}},oa=function(e){var t,n=e.checked,r=void 0!==n&&n,i=e.disabled,o=void 0!==i&&i,a=e.label,u=e.color,l=void 0===u?"secondary":u,c=e.onChange;return Qr("div",{className:so()((xr(t={"vm-checkbox":!0,"vm-checkbox_disabled":o,"vm-checkbox_active":r},"vm-checkbox_".concat(l,"_active"),r),xr(t,"vm-checkbox_".concat(l),l),t)),onClick:function(){o||c(!r)},children:[Qr("div",{className:"vm-checkbox-track",children:Qr("div",{className:"vm-checkbox-track__thumb",children:Qr(Ki,{})})}),a&&Qr("span",{className:"vm-checkbox__label",children:a})]})},aa=function(e){var t,n=e.value,r=void 0!==n&&n,i=e.disabled,o=void 0!==i&&i,a=e.label,u=e.color,l=void 0===u?"secondary":u,c=e.fullWidth,s=e.onChange;return Qr("div",{className:so()((xr(t={"vm-switch":!0,"vm-switch_full-width":c,"vm-switch_disabled":o,"vm-switch_active":r},"vm-switch_".concat(l,"_active"),r),xr(t,"vm-switch_".concat(l),l),t)),onClick:function(){o||s(!r)},children:[Qr("div",{className:"vm-switch-track",children:Qr("div",{className:"vm-switch-track__thumb"})}),a&&Qr("span",{className:"vm-switch__label",children:a})]})};var ua="Table settings",la=function(e){var t=e.columns,n=e.defaultColumns,r=void 0===n?[]:n,i=e.tableCompact,o=e.onChangeColumns,a=e.toggleTableCompact,u=To().isMobile,l=ue(null),c=Ko(!1),s=c.value,f=c.toggle,p=c.setFalse,d=ce((function(){return!t.length}),[t]),h=function(e){return function(){!function(e){o(r.includes(e)?r.filter((function(t){return t!==e})):[].concat(It(r),[e]))}(e)}};return oe((function(){(function(e,t){return e.length===t.length&&e.every((function(e,n){return e===t[n]}))})(t,r)||o(t)}),[t]),Qr("div",{className:"vm-table-settings",children:[Qr(Jo,{title:ua,children:Qr("div",{ref:l,children:Qr(Go,{variant:"text",startIcon:Qr(Ii,{}),onClick:f,disabled:d,ariaLabel:"table settings"})})}),Qr(ea,{open:s,onClose:p,placement:"bottom-right",buttonRef:l,title:ua,children:Qr("div",{className:so()({"vm-table-settings-popper":!0,"vm-table-settings-popper_mobile":u}),children:[Qr("div",{className:"vm-table-settings-popper-list vm-table-settings-popper-list_first",children:Qr(aa,{label:"Compact view",value:i,onChange:a})}),Qr("div",{className:"vm-table-settings-popper-list",children:[Qr("div",{className:"vm-table-settings-popper-list-header",children:[Qr("h3",{className:"vm-table-settings-popper-list-header__title",children:"Display columns"}),Qr(Jo,{title:"Reset to default",children:Qr(Go,{color:"primary",variant:"text",size:"small",onClick:function(){p(),o(t)},startIcon:Qr(zi,{}),ariaLabel:"reset columns"})})]}),t.map((function(e){return Qr("div",{className:"vm-table-settings-popper-list__item",children:Qr(oa,{checked:r.includes(e),onChange:h(e),label:e,disabled:i})},e)}))]})]})})]})};function ca(e,t,n){return t[n]<e[n]?-1:t[n]>e[n]?1:0}var sa,fa,pa,da=function(e){var t=e.rows,n=e.columns,r=e.defaultOrderBy,i=e.copyToClipboard,o=e.paginationOffset,a=Lt(re(r),2),u=a[0],l=a[1],c=Lt(re("desc"),2),s=c[0],f=c[1],p=Lt(re(null),2),d=p[0],h=p[1],v=ce((function(){var e=o.startIndex,n=o.endIndex;return function(e,t){var n=e.map((function(e,t){return[e,t]}));return n.sort((function(e,n){var r=t(e[0],n[0]);return 0!==r?r:e[1]-n[1]})),n.map((function(e){return e[0]}))}(t,function(e,t){return"desc"===e?function(e,n){return ca(e,n,t)}:function(e,n){return-ca(e,n,t)}}(s,u)).slice(e,n)}),[t,u,s,o]),m=function(e,t){return Yo(Wo().mark((function n(){return Wo().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(d!==t){n.next=2;break}return n.abrupt("return");case 2:return n.prev=2,n.next=5,navigator.clipboard.writeText(String(e));case 5:h(t),n.next=11;break;case 8:n.prev=8,n.t0=n.catch(2),console.error(n.t0);case 11:case"end":return n.stop()}}),n,null,[[2,8]])})))};return oe((function(){if(null!==d){var e=setTimeout((function(){return h(null)}),2e3);return function(){return clearTimeout(e)}}}),[d]),Qr("table",{className:"vm-table",children:[Qr("thead",{className:"vm-table-header",children:Qr("tr",{className:"vm-table__row vm-table__row_header",children:[n.map((function(e){return Qr("th",{className:"vm-table-cell vm-table-cell_header vm-table-cell_sort",onClick:(t=e.key,function(){f((function(e){return"asc"===e&&u===t?"desc":"asc"})),l(t)}),children:Qr("div",{className:"vm-table-cell__content",children:[Qr("div",{children:String(e.title||e.key)}),Qr("div",{className:so()({"vm-table__sort-icon":!0,"vm-table__sort-icon_active":u===e.key,"vm-table__sort-icon_desc":"desc"===s&&u===e.key}),children:Qr(Yi,{})})]})},String(e.key));var t})),i&&Qr("th",{className:"vm-table-cell vm-table-cell_header"})]})}),Qr("tbody",{className:"vm-table-body",children:v.map((function(e,t){return Qr("tr",{className:"vm-table__row",children:[n.map((function(t){return Qr("td",{className:so()(xr({"vm-table-cell":!0},"".concat(t.className),t.className)),children:e[t.key]||"-"},String(t.key))})),i&&Qr("td",{className:"vm-table-cell vm-table-cell_right",children:e[i]&&Qr("div",{className:"vm-table-cell__content",children:Qr(Jo,{title:d===t?"Copied":"Copy row",children:Qr(Go,{variant:"text",color:d===t?"success":"gray",size:"small",startIcon:Qr(d===t?Ki:Xi,{}),onClick:m(e[i],t),ariaLabel:"copy row"})})})})]},t)}))})]})},ha=function(e){var t=e.page,n=e.length,r=e.limit,i=e.onChange,o=To().isMobile,a=function(e){return function(){i(+t+e),window.scrollTo(0,0)}};return Qr("div",{className:so()({"vm-pagination":!0,"vm-pagination_mobile":o}),children:[t>1&&Qr(Go,{variant:"text",onClick:a(-1),startIcon:Qr("div",{className:"vm-pagination__icon vm-pagination__icon_prev",children:Qr(Zi,{})}),children:"Previous"}),n>=r&&Qr(Go,{variant:"text",onClick:a(1),endIcon:Qr("div",{className:"vm-pagination__icon vm-pagination__icon_next",children:Qr(Zi,{})}),children:"Next"})]})},va=function(e){var t=e.logs,n=e.limitRows,r=e.displayColumns,i=e.tableCompact,o=e.columns,a=ia().setSearchParamsFromKeys,u=Lt(ra(1,"page"),2),l=u[0],c=u[1],s=function(e){switch(e){case"time":return"vm-table-cell_logs-time";case"data":return"vm-table-cell_logs vm-table-cell_pre";default:return"vm-table-cell_logs"}},f=ce((function(){var e=(l-1)*Number(n);return{startIndex:e,endIndex:e+Number(n)}}),[l,n]),p=ce((function(){return i?[{key:"data",title:"Data",className:s("data")}]:o.map((function(e){return{key:e,title:e,className:s(e)}}))}),[i,o]),d=ce((function(){return null===r||void 0===r||!r.length||i?p:p.filter((function(e){return r.includes(e.key)}))}),[p,r,i]);return Qr(_,{children:[Qr(da,{rows:t,columns:d,defaultOrderBy:"time",copyToClipboard:"data",paginationOffset:f}),Qr(ha,{page:l,limit:+n,length:t.slice(f.startIndex,f.endIndex).length,onChange:function(e){c(e),a({page:e})}})]})},ma=function(e){var t=e.defaultExpanded,n=void 0!==t&&t,r=e.onChange,i=e.title,o=e.children,a=Lt(re(n),2),u=a[0],l=a[1];return oe((function(){r&&r(u)}),[u]),Qr(_,{children:[Qr("header",{className:"vm-accordion-header ".concat(u&&"vm-accordion-header_open"),onClick:function(){l((function(e){return!e}))},children:[i,Qr("div",{className:"vm-accordion-header__arrow ".concat(u&&"vm-accordion-header__arrow_open"),children:Qr(Zi,{})})]}),u&&Qr("section",{className:"vm-accordion-section",children:o},"content")]})},ga=function(e){var t=e.logs,n=e.columns,r=ce((function(){var e=["_msg","time","data","_time"],r=n.filter((function(t){return!e.includes(t)}));return function(e,t){var n=e.reduce((function(e,n){var r=t.map((function(e){return"".concat(e,": ").concat(n[e]||"-")})).join("|");return(e[r]=e[r]||[]).push(n),e}),{});return Object.entries(n).map((function(e){var t=Lt(e,2),n=t[0],r=t[1];return{keys:n.split("|"),values:r}}))}(t,r)}),[t]);return Qr("div",{className:"vm-explore-logs-body-content",children:r.map((function(e){return Qr("div",{className:"vm-explore-logs-body-content-group",children:Qr(ma,{defaultExpanded:!0,title:Qr("div",{className:"vm-explore-logs-body-content-group-keys",children:[Qr("span",{className:"vm-explore-logs-body-content-group-keys__title",children:"Group by:"}),e.keys.map((function(e){return Qr("div",{className:"vm-explore-logs-body-content-group-keys__key",children:e},e)}))]}),children:Qr("div",{className:"vm-explore-logs-body-content-group-rows",children:e.values.map((function(e){return Qr("div",{className:"vm-explore-logs-body-content-group-rows-item",children:[Qr("div",{className:"vm-explore-logs-body-content-group-rows-item__time",children:e.time}),Qr("div",{className:"vm-explore-logs-body-content-group-rows-item__msg",children:e._msg})]},"".concat(e._msg).concat(e._time))}))})})},e.keys.join(""))}))})},ya=function(e){return e.group="group",e.table="table",e.json="json",e}(ya||{}),_a=[{label:"Group",value:ya.group,icon:Qr(io,{})},{label:"Table",value:ya.table,icon:Qr(Qi,{})},{label:"JSON",value:ya.json,icon:Qr(Ji,{})}],ba=function(e){var t=e.data,n=To().isMobile,r=Mi().timezone,i=ia().setSearchParamsFromKeys,o=Lt(ra(Ir("LOGS_LIMIT")||50,"limit"),2),a=o[0],u=o[1],l=Lt(ra(ya.group,"view"),2),c=l[0],s=l[1],f=Lt(re([]),2),p=f[0],d=f[1],h=Ko(!1),v=h.value,m=h.toggle,g=ce((function(){return t.map((function(e){return Cr({time:xt()(e._time).tz().format("MMM DD, YYYY \nHH:mm:ss.SSS"),data:JSON.stringify(e,null,2)},e)}))}),[t,r]),y=ce((function(){if(null===g||void 0===g||!g.length)return[];var e,t=["data","_time"],n=new Set,r=$t(g);try{for(r.s();!(e=r.n()).done;){var i=e.value;for(var o in i)n.add(o)}}catch(a){r.e(a)}finally{r.f()}return Array.from(n).filter((function(e){return!t.includes(e)}))}),[g]);return Qr("div",{className:so()({"vm-explore-logs-body":!0,"vm-block":!0,"vm-block_mobile":n}),children:[Qr("div",{className:so()({"vm-explore-logs-body-header":!0,"vm-section-header":!0,"vm-explore-logs-body-header_mobile":n}),children:[Qr("div",{className:"vm-section-header__tabs",children:Qr(_o,{activeItem:String(c),items:_a,onChange:function(e){s(e),i({view:e})}})}),c===ya.table&&Qr("div",{className:"vm-explore-logs-body-header__settings",children:[Qr(na,{limit:+a,onChange:function(e){u(e),i({limit:e}),Rr("LOGS_LIMIT","".concat(e))}}),Qr(la,{columns:y,defaultColumns:p,onChangeColumns:d,tableCompact:v,toggleTableCompact:m})]})]}),Qr("div",{className:so()({"vm-explore-logs-body__table":!0,"vm-explore-logs-body__table_mobile":n}),children:!!t.length&&Qr(_,{children:[c===ya.table&&Qr(va,{logs:g,limitRows:+a,displayColumns:p,tableCompact:v,columns:y}),c===ya.group&&Qr(ga,{logs:g,columns:y}),c===ya.json&&Qr(Qo,{data:t})]})})]})},Da=1e3,wa=function(e){var t=e.containerStyles,n=void 0===t?{}:t,r=e.message,i=Kr().isDarkTheme;return Qr("div",{className:so()({"vm-spinner":!0,"vm-spinner_dark":i}),style:n&&{},children:[Qr("div",{className:"half-circle-spinner",children:[Qr("div",{className:"circle circle-1"}),Qr("div",{className:"circle circle-2"})]}),r&&Qr("div",{className:"vm-spinner__message",children:r})]})},Aa=function(e){var t=e.error,n=e.warning,r=e.info,i=ue(null),o=Lt(re(!1),2),a=o[0],u=o[1],l=Lt(re(!1),2),c=l[0],s=l[1],f=ce((function(){return t?"ERROR: ":n?"WARNING: ":""}),[t,n]),p="".concat(f).concat(t||n||r),d=function(){var e=i.current;if(e){var t=e.offsetWidth,n=e.scrollWidth,r=e.offsetHeight,o=e.scrollHeight;u(t+1<n||r+1<o)}else u(!1)};return oe((function(){s(!1),d()}),[i,p]),go("resize",d),t||n||r?Qr("span",{className:so()({"vm-text-field__error":!0,"vm-text-field__warning":n&&!t,"vm-text-field__helper-text":!n&&!t,"vm-text-field__error_overflowed":a,"vm-text-field__error_full":c}),"data-show":!!p,ref:i,onClick:function(){a&&(s(!0),u(!1))},children:p}):null},ka=function(e){var t=e.label,n=e.value,r=e.type,i=void 0===r?"text":r,o=e.error,a=void 0===o?"":o,u=e.warning,l=void 0===u?"":u,c=e.helperText,s=void 0===c?"":c,f=e.placeholder,p=e.endIcon,d=e.startIcon,h=e.disabled,v=void 0!==h&&h,m=e.autofocus,g=void 0!==m&&m,y=e.inputmode,_=void 0===y?"text":y,b=e.onChange,D=e.onEnter,w=e.onKeyDown,A=e.onFocus,k=e.onBlur,x=e.onChangeCaret,E=Kr().isDarkTheme,C=To().isMobile,S=ue(null),F=ue(null),M=ce((function(){return"textarea"===i?F:S}),[i]),O=so()({"vm-text-field__input":!0,"vm-text-field__input_error":a,"vm-text-field__input_warning":!a&&l,"vm-text-field__input_icon-start":d,"vm-text-field__input_disabled":v,"vm-text-field__input_textarea":"textarea"===i}),T=function(e){var t=e.selectionStart,n=e.selectionEnd;x&&x([t||0,n||0])},B=function(e){T(e.currentTarget)},P=function(e){w&&w(e),T(e.currentTarget);var t=e.key,n=e.ctrlKey,r=e.metaKey,o="Enter"===t;("textarea"!==i?o:o&&(r||n))&&D&&(e.preventDefault(),D())},N=function(e){v||(b&&b(e.currentTarget.value),T(e.currentTarget))};oe((function(){var e;g&&!C&&(null===M||void 0===M||null===(e=M.current)||void 0===e?void 0:e.focus)&&M.current.focus()}),[M,g]);var L=function(){A&&A()},$=function(){k&&k()};return Qr("label",{className:so()({"vm-text-field":!0,"vm-text-field_textarea":"textarea"===i,"vm-text-field_dark":E}),"data-replicated-value":n,children:[d&&Qr("div",{className:"vm-text-field__icon-start",children:d}),p&&Qr("div",{className:"vm-text-field__icon-end",children:p}),"textarea"===i?Qr("textarea",{className:O,disabled:v,ref:F,value:n,rows:1,inputMode:_,placeholder:f,autoCapitalize:"none",onInput:N,onKeyDown:P,onFocus:L,onBlur:$,onMouseUp:B}):Qr("input",{className:O,disabled:v,ref:S,value:n,type:i,placeholder:f,inputMode:_,autoCapitalize:"none",onInput:N,onKeyDown:P,onFocus:L,onBlur:$,onMouseUp:B}),t&&Qr("span",{className:"vm-text-field__label",children:t}),Qr(Aa,{error:a,warning:l,info:s})]})},xa=function(e){return e[e.mouse=0]="mouse",e[e.keyboard=1]="keyboard",e}(xa||{}),Ea=function(e){var t,n=e.value,r=e.options,i=e.anchor,o=e.disabled,a=e.minLength,u=void 0===a?2:a,l=e.fullWidth,s=e.selected,f=e.noOptionsText,p=e.label,d=e.disabledFullScreen,h=e.offset,v=e.onSelect,m=e.onOpenAutocomplete,g=e.onFoundOptions,y=To().isMobile,b=ue(null),D=Lt(re({index:-1}),2),w=D[0],A=D[1],k=Ko(!1),x=k.value,E=k.setValue,C=k.setFalse,S=ce((function(){if(!x)return[];try{var e=new RegExp(String(n.trim()),"i");return r.filter((function(t){return e.test(t.value)})).sort((function(t,n){var r,i;return((null===(r=t.value.match(e))||void 0===r?void 0:r.index)||0)-((null===(i=n.value.match(e))||void 0===i?void 0:i.index)||0)}))}catch(c){return[]}}),[x,r,n]),F=ce((function(){return f&&!S.length}),[f,S]),M=function(){A({index:-1})},O=se((function(e){var t=e.key,n=e.ctrlKey,r=e.metaKey,i=e.shiftKey,o=n||r||i,a=S.length;if("ArrowUp"===t&&!o&&a&&(e.preventDefault(),A((function(e){var t=e.index;return{index:t<=0?0:t-1,type:xa.keyboard}}))),"ArrowDown"===t&&!o&&a){e.preventDefault();var u=S.length-1;A((function(e){var t=e.index;return{index:t>=u?u:t+1,type:xa.keyboard}}))}if("Enter"===t){var l=S[w.index];l&&v(l.value),s||C()}"Escape"===t&&C()}),[w,S,C,v,s]);return oe((function(){E(n.length>=u)}),[n]),go("keydown",O),oe((function(){if(b.current&&w.type!==xa.mouse){var e=b.current.childNodes[w.index];null!==e&&void 0!==e&&e.scrollIntoView&&e.scrollIntoView({block:"center"})}}),[w,S]),oe((function(){A({index:-1})}),[S]),oe((function(){m&&m(x)}),[x]),oe((function(){g&&g(S)}),[S]),Qr(ea,{open:x,buttonRef:i,placement:"bottom-left",onClose:C,fullWidth:l,title:y?p:void 0,disabledFullScreen:d,offset:h,children:[Qr("div",{className:so()({"vm-autocomplete":!0,"vm-autocomplete_mobile":y&&!d}),ref:b,children:[F&&Qr("div",{className:"vm-autocomplete__no-options",children:f}),S.map((function(e,t){return Qr("div",{className:so()({"vm-list-item":!0,"vm-list-item_mobile":y,"vm-list-item_active":t===w.index,"vm-list-item_multiselect":s,"vm-list-item_multiselect_selected":null===s||void 0===s?void 0:s.includes(e.value),"vm-list-item_with-icon":e.icon}),id:"$autocomplete$".concat(e.value),onClick:(r=e.value,function(){o||(v(r),s||C())}),onMouseEnter:(n=t,function(){A({index:n,type:xa.mouse})}),onMouseLeave:M,children:[(null===s||void 0===s?void 0:s.includes(e.value))&&Qr(Ki,{}),Qr(_,{children:e.icon}),Qr("span",{children:e.value})]},"".concat(t).concat(e.value));var n,r}))]}),(null===(t=S[w.index])||void 0===t?void 0:t.description)&&Qr("div",{className:"vm-autocomplete-info",children:[Qr("div",{className:"vm-autocomplete-info__type",children:S[w.index].type}),Qr("div",{className:"vm-autocomplete-info__description",dangerouslySetInnerHTML:{__html:S[w.index].description||""}})]})]})},Ca=function(e){return e[e.metric=0]="metric",e[e.label=1]="label",e[e.value=2]="value",e}(Ca||{}),Sa=(xr(sa={},Ca.metric,Qr(oo,{})),xr(sa,Ca.label,Qr(uo,{})),xr(sa,Ca.value,Qr(lo,{})),sa),Fa="u-off",Ma="u-label",Oa="width",Ta="height",Ba="top",Pa="bottom",Na="left",La="right",$a="#000",Ra=$a+"0",Ia="mousemove",ja="mousedown",za="mouseup",Ha="mouseenter",Ua="mouseleave",Va="dblclick",Wa="change",Za="dppxchange",Ya="--",qa="undefined"!=typeof window,Ga=qa?document:null,Qa=qa?window:null,Ja=qa?navigator:null;function Ka(e,t){if(null!=t){var n=e.classList;!n.contains(t)&&n.add(t)}}function Xa(e,t){var n=e.classList;n.contains(t)&&n.remove(t)}function eu(e,t,n){e.style[t]=n+"px"}function tu(e,t,n,r){var i=Ga.createElement(e);return null!=t&&Ka(i,t),null!=n&&n.insertBefore(i,r),i}function nu(e,t){return tu("div",e,t)}var ru=new WeakMap;function iu(e,t,n,r,i){var o="translate("+t+"px,"+n+"px)";o!=ru.get(e)&&(e.style.transform=o,ru.set(e,o),t<0||n<0||t>r||n>i?Ka(e,Fa):Xa(e,Fa))}var ou=new WeakMap;function au(e,t,n){var r=t+n;r!=ou.get(e)&&(ou.set(e,r),e.style.background=t,e.style.borderColor=n)}var uu=new WeakMap;function lu(e,t,n,r){var i=t+""+n;i!=uu.get(e)&&(uu.set(e,i),e.style.height=n+"px",e.style.width=t+"px",e.style.marginLeft=r?-t/2+"px":0,e.style.marginTop=r?-n/2+"px":0)}var cu={passive:!0},su=Cr(Cr({},cu),{},{capture:!0});function fu(e,t,n,r){t.addEventListener(e,n,r?su:cu)}function pu(e,t,n,r){t.removeEventListener(e,n,r?su:cu)}function du(e,t,n,r){var i;n=n||0;for(var o=(r=r||t.length-1)<=2147483647;r-n>1;)t[i=o?n+r>>1:Fu((n+r)/2)]<e?n=i:r=i;return e-t[n]<=t[r]-e?n:r}function hu(e,t,n,r){for(var i=1==r?t:n;i>=t&&i<=n;i+=r)if(null!=e[i])return i;return-1}function vu(e,t,n,r){var i=Nu(e),o=Nu(t),a=10==n?Lu:$u;e==t&&(-1==i?(e*=n,t/=n):(e/=n,t*=n));var u=1==o?Ou:Fu,l=(1==i?Fu:Ou)(a(Su(e))),c=u(a(Su(t))),s=Pu(n,l),f=Pu(n,c);return 10==n&&(l<0&&(s=Ku(s,-l)),c<0&&(f=Ku(f,-c))),r||2==n?(e=s*i,t=f*o):(e=Ju(e,s),t=Qu(t,f)),[e,t]}function mu(e,t,n,r){var i=vu(e,t,n,r);return 0==e&&(i[0]=0),0==t&&(i[1]=0),i}qa&&function e(){var t=devicePixelRatio;fa!=t&&(fa=t,pa&&pu(Wa,pa,e),pa=matchMedia("(min-resolution: ".concat(fa-.001,"dppx) and (max-resolution: ").concat(fa+.001,"dppx)")),fu(Wa,pa,e),Qa.dispatchEvent(new CustomEvent(Za)))}();var gu=.1,yu={mode:3,pad:gu},_u={pad:0,soft:null,mode:0},bu={min:_u,max:_u};function Du(e,t,n,r){return ll(n)?Au(e,t,n):(_u.pad=n,_u.soft=r?0:null,_u.mode=r?3:0,Au(e,t,bu))}function wu(e,t){return null==e?t:e}function Au(e,t,n){var r=n.min,i=n.max,o=wu(r.pad,0),a=wu(i.pad,0),u=wu(r.hard,-Iu),l=wu(i.hard,Iu),c=wu(r.soft,Iu),s=wu(i.soft,-Iu),f=wu(r.mode,0),p=wu(i.mode,0),d=t-e,h=Lu(d),v=Bu(Su(e),Su(t)),m=Lu(v),g=Su(m-h);(d<1e-9||g>10)&&(d=0,0!=e&&0!=t||(d=1e-9,2==f&&c!=Iu&&(o=0),2==p&&s!=-Iu&&(a=0)));var y=d||v||1e3,_=Lu(y),b=Pu(10,Fu(_)),D=Ku(Ju(e-y*(0==d?0==e?.1:1:o),b/10),9),w=e>=c&&(1==f||3==f&&D<=c||2==f&&D>=c)?c:Iu,A=Bu(u,D<w&&e>=w?w:Tu(w,D)),k=Ku(Qu(t+y*(0==d?0==t?.1:1:a),b/10),9),x=t<=s&&(1==p||3==p&&k>=s||2==p&&k<=s)?s:-Iu,E=Tu(l,k>x&&t<=x?x:Bu(x,k));return A==E&&0==A&&(E=100),[A,E]}var ku=new Intl.NumberFormat(qa?Ja.language:"en-US"),xu=function(e){return ku.format(e)},Eu=Math,Cu=Eu.PI,Su=Eu.abs,Fu=Eu.floor,Mu=Eu.round,Ou=Eu.ceil,Tu=Eu.min,Bu=Eu.max,Pu=Eu.pow,Nu=Eu.sign,Lu=Eu.log10,$u=Eu.log2,Ru=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Eu.asinh(e/t)},Iu=1/0;function ju(e){return 1+(0|Lu((e^e>>31)-(e>>31)))}function zu(e,t,n){return Tu(Bu(e,t),n)}function Hu(e){return"function"==typeof e?e:function(){return e}}var Uu=function(e){return e},Vu=function(e,t){return t},Wu=function(e){return null},Zu=function(e){return!0},Yu=function(e,t){return e==t},qu=function(e){return Ku(e,14)};function Gu(e,t){return qu(Ku(qu(e/t))*t)}function Qu(e,t){return qu(Ou(qu(e/t))*t)}function Ju(e,t){return qu(Fu(qu(e/t))*t)}function Ku(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(al(e))return e;var n=Math.pow(10,t),r=e*n*(1+Number.EPSILON);return Mu(r)/n}var Xu=new Map;function el(e){return((""+e).split(".")[1]||"").length}function tl(e,t,n,r){for(var i=[],o=r.map(el),a=t;a<n;a++)for(var u=Su(a),l=Ku(Pu(e,a),u),c=0;c<r.length;c++){var s=r[c]*l,f=(s>=0&&a>=0?0:u)+(a>=o[c]?0:o[c]),p=Ku(s,f);i.push(p),Xu.set(p,f)}return i}var nl={},rl=[],il=[null,null],ol=Array.isArray,al=Number.isInteger;function ul(e){return"string"==typeof e}function ll(e){var t=!1;if(null!=e){var n=e.constructor;t=null==n||n==Object}return t}function cl(e){return null!=e&&"object"==typeof e}var sl=Object.getPrototypeOf(Uint8Array);function fl(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ll;if(ol(e)){var r=e.find((function(e){return null!=e}));if(ol(r)||n(r)){t=Array(e.length);for(var i=0;i<e.length;i++)t[i]=fl(e[i],n)}else t=e.slice()}else if(e instanceof sl)t=e.slice();else if(n(e))for(var o in t={},e)t[o]=fl(e[o],n);else t=e;return t}function pl(e){for(var t=arguments,n=1;n<t.length;n++){var r=t[n];for(var i in r)ll(e[i])?pl(e[i],fl(r[i])):e[i]=fl(r[i])}return e}function dl(e,t,n){for(var r,i=0,o=-1;i<t.length;i++){var a=t[i];if(a>o){for(r=a-1;r>=0&&null==e[r];)e[r--]=null;for(r=a+1;r<n&&null==e[r];)e[o=r++]=null}}}var hl="undefined"==typeof queueMicrotask?function(e){return Promise.resolve().then(e)}:queueMicrotask,vl=["January","February","March","April","May","June","July","August","September","October","November","December"],ml=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];function gl(e){return e.slice(0,3)}var yl=ml.map(gl),_l=vl.map(gl),bl={MMMM:vl,MMM:_l,WWWW:ml,WWW:yl};function Dl(e){return(e<10?"0":"")+e}var wl={YYYY:function(e){return e.getFullYear()},YY:function(e){return(e.getFullYear()+"").slice(2)},MMMM:function(e,t){return t.MMMM[e.getMonth()]},MMM:function(e,t){return t.MMM[e.getMonth()]},MM:function(e){return Dl(e.getMonth()+1)},M:function(e){return e.getMonth()+1},DD:function(e){return Dl(e.getDate())},D:function(e){return e.getDate()},WWWW:function(e,t){return t.WWWW[e.getDay()]},WWW:function(e,t){return t.WWW[e.getDay()]},HH:function(e){return Dl(e.getHours())},H:function(e){return e.getHours()},h:function(e){var t=e.getHours();return 0==t?12:t>12?t-12:t},AA:function(e){return e.getHours()>=12?"PM":"AM"},aa:function(e){return e.getHours()>=12?"pm":"am"},a:function(e){return e.getHours()>=12?"p":"a"},mm:function(e){return Dl(e.getMinutes())},m:function(e){return e.getMinutes()},ss:function(e){return Dl(e.getSeconds())},s:function(e){return e.getSeconds()},fff:function(e){return((t=e.getMilliseconds())<10?"00":t<100?"0":"")+t;var t}};function Al(e,t){t=t||bl;for(var n,r=[],i=/\{([a-z]+)\}|[^{]+/gi;n=i.exec(e);)r.push("{"==n[0][0]?wl[n[1]]:n[0]);return function(e){for(var n="",i=0;i<r.length;i++)n+="string"==typeof r[i]?r[i]:r[i](e,t);return n}}var kl=(new Intl.DateTimeFormat).resolvedOptions().timeZone;var xl=function(e){return e%1==0},El=[1,2,2.5,5],Cl=tl(10,-16,0,El),Sl=tl(10,0,16,El),Fl=Sl.filter(xl),Ml=Cl.concat(Sl),Ol="{YYYY}",Tl="\n"+Ol,Bl="{M}/{D}",Pl="\n"+Bl,Nl=Pl+"/{YY}",Ll="{aa}",$l="{h}:{mm}"+Ll,Rl="\n"+$l,Il=":{ss}",jl=null;function zl(e){var t=1e3*e,n=60*t,r=60*n,i=24*r,o=30*i,a=365*i;return[(1==e?tl(10,0,3,El).filter(xl):tl(10,-3,0,El)).concat([t,5*t,10*t,15*t,30*t,n,5*n,10*n,15*n,30*n,r,2*r,3*r,4*r,6*r,8*r,12*r,i,2*i,3*i,4*i,5*i,6*i,7*i,8*i,9*i,10*i,15*i,o,2*o,3*o,4*o,6*o,a,2*a,5*a,10*a,25*a,50*a,100*a]),[[a,Ol,jl,jl,jl,jl,jl,jl,1],[28*i,"{MMM}",Tl,jl,jl,jl,jl,jl,1],[i,Bl,Tl,jl,jl,jl,jl,jl,1],[r,"{h}"+Ll,Nl,jl,Pl,jl,jl,jl,1],[n,$l,Nl,jl,Pl,jl,jl,jl,1],[t,Il,Nl+" "+$l,jl,Pl+" "+$l,jl,Rl,jl,1],[e,Il+".{fff}",Nl+" "+$l,jl,Pl+" "+$l,jl,Rl,jl,1]],function(t){return function(u,l,c,s,f,p){var d=[],h=f>=a,v=f>=o&&f<a,m=t(c),g=Ku(m*e,3),y=Kl(m.getFullYear(),h?0:m.getMonth(),v||h?1:m.getDate()),_=Ku(y*e,3);if(v||h)for(var b=v?f/o:0,D=h?f/a:0,w=g==_?g:Ku(Kl(y.getFullYear()+D,y.getMonth()+b,1)*e,3),A=new Date(Mu(w/e)),k=A.getFullYear(),x=A.getMonth(),E=0;w<=s;E++){var C=Kl(k+D*E,x+b*E,1),S=C-t(Ku(C*e,3));(w=Ku((+C+S)*e,3))<=s&&d.push(w)}else{var F=f>=i?i:f,M=_+(Fu(c)-Fu(g))+Qu(g-_,F);d.push(M);for(var O=t(M),T=O.getHours()+O.getMinutes()/n+O.getSeconds()/r,B=f/r,P=p/u.axes[l]._space;!((M=Ku(M+f,1==e?0:3))>s);)if(B>1){var N=Fu(Ku(T+B,6))%24,L=t(M).getHours()-N;L>1&&(L=-1),T=(T+B)%24,Ku(((M-=L*r)-d[d.length-1])/f,3)*P>=.7&&d.push(M)}else d.push(M)}return d}}]}var Hl=Lt(zl(1),3),Ul=Hl[0],Vl=Hl[1],Wl=Hl[2],Zl=Lt(zl(.001),3),Yl=Zl[0],ql=Zl[1],Gl=Zl[2];function Ql(e,t){return e.map((function(e){return e.map((function(n,r){return 0==r||8==r||null==n?n:t(1==r||0==e[8]?n:e[1]+n)}))}))}function Jl(e,t){return function(n,r,i,o,a){var u,l,c,s,f,p,d=t.find((function(e){return a>=e[0]}))||t[t.length-1];return r.map((function(t){var n=e(t),r=n.getFullYear(),i=n.getMonth(),o=n.getDate(),a=n.getHours(),h=n.getMinutes(),v=n.getSeconds(),m=r!=u&&d[2]||i!=l&&d[3]||o!=c&&d[4]||a!=s&&d[5]||h!=f&&d[6]||v!=p&&d[7]||d[1];return u=r,l=i,c=o,s=a,f=h,p=v,m(n)}))}}function Kl(e,t,n){return new Date(e,t,n)}function Xl(e,t){return t(e)}tl(2,-53,53,[1]);function ec(e,t){return function(n,r,i,o){return null==o?Ya:t(e(r))}}var tc={show:!0,live:!0,isolate:!1,mount:function(){},markers:{show:!0,width:2,stroke:function(e,t){var n=e.series[t];return n.width?n.stroke(e,t):n.points.width?n.points.stroke(e,t):null},fill:function(e,t){return e.series[t].fill(e,t)},dash:"solid"},idx:null,idxs:null,values:[]};var nc=[0,0];function rc(e,t,n){return function(e){0==e.button&&n(e)}}function ic(e,t,n){return n}var oc={show:!0,x:!0,y:!0,lock:!1,move:function(e,t,n){return nc[0]=t,nc[1]=n,nc},points:{show:function(e,t){var n=e.cursor.points,r=nu(),i=n.size(e,t);eu(r,Oa,i),eu(r,Ta,i);var o=i/-2;eu(r,"marginLeft",o),eu(r,"marginTop",o);var a=n.width(e,t,i);return a&&eu(r,"borderWidth",a),r},size:function(e,t){return e.series[t].points.size},width:0,stroke:function(e,t){var n=e.series[t].points;return n._stroke||n._fill},fill:function(e,t){var n=e.series[t].points;return n._fill||n._stroke}},bind:{mousedown:rc,mouseup:rc,click:rc,dblclick:rc,mousemove:ic,mouseleave:ic,mouseenter:ic},drag:{setScale:!0,x:!0,y:!1,dist:0,uni:null,click:function(e,t){t.stopPropagation(),t.stopImmediatePropagation()},_x:!1,_y:!1},focus:{prox:-1,bias:0},left:-10,top:-10,idx:null,dataIdx:function(e,t,n){return n},idxs:null},ac={show:!0,stroke:"rgba(0,0,0,0.07)",width:2},uc=pl({},ac,{filter:Vu}),lc=pl({},uc,{size:10}),cc=pl({},ac,{show:!1}),sc='12px system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fc="bold "+sc,pc={show:!0,scale:"x",stroke:$a,space:50,gap:5,size:50,labelGap:0,labelSize:30,labelFont:fc,side:2,grid:uc,ticks:lc,border:cc,font:sc,rotate:0},dc={show:!0,scale:"x",auto:!1,sorted:1,min:Iu,max:-Iu,idxs:[]};function hc(e,t,n,r,i){return t.map((function(e){return null==e?"":xu(e)}))}function vc(e,t,n,r,i,o,a){for(var u=[],l=Xu.get(i)||0,c=n=a?n:Ku(Qu(n,i),l);c<=r;c=Ku(c+i,l))u.push(Object.is(c,-0)?0:c);return u}function mc(e,t,n,r,i,o,a){var u=[],l=e.scales[e.axes[t].scale].log,c=Fu((10==l?Lu:$u)(n));i=Pu(l,c),10==l&&c<0&&(i=Ku(i,-c));var s=n;do{u.push(s),s+=i,10==l&&(s=Ku(s,Xu.get(i))),s>=i*l&&(i=s)}while(s<=r);return u}function gc(e,t,n,r,i,o,a){var u=e.scales[e.axes[t].scale].asinh,l=r>u?mc(e,t,Bu(u,n),r,i):[u],c=r>=0&&n<=0?[0]:[];return(n<-u?mc(e,t,Bu(u,-r),-n,i):[u]).reverse().map((function(e){return-e})).concat(c,l)}var yc=/./,_c=/[12357]/,bc=/[125]/,Dc=/1/;function wc(e,t,n,r,i){var o=e.axes[n],a=o.scale,u=e.scales[a];if(3==u.distr&&2==u.log)return t;var l=e.valToPos,c=o._space,s=l(10,a),f=l(9,a)-s>=c?yc:l(7,a)-s>=c?_c:l(5,a)-s>=c?bc:Dc;return t.map((function(e){return 4==u.distr&&0==e||f.test(e)?e:null}))}function Ac(e,t,n,r){return null==r?Ya:null==t?"":xu(t)}var kc={show:!0,scale:"y",stroke:$a,space:30,gap:5,size:50,labelGap:0,labelSize:30,labelFont:fc,side:3,grid:uc,ticks:lc,border:cc,font:sc,rotate:0};var xc={scale:null,auto:!0,sorted:0,min:Iu,max:-Iu},Ec=function(e,t,n,r,i){return i},Cc={show:!0,auto:!0,sorted:0,gaps:Ec,alpha:1,facets:[pl({},xc,{scale:"x"}),pl({},xc,{scale:"y"})]},Sc={scale:"y",auto:!0,sorted:0,show:!0,spanGaps:!1,gaps:Ec,alpha:1,points:{show:function(e,t){var n=e.series[0],r=n.scale,i=n.idxs,o=e._data[0],a=e.valToPos(o[i[0]],r,!0),u=e.valToPos(o[i[1]],r,!0),l=Su(u-a)/(e.series[t].points.space*fa);return i[1]-i[0]<=l},filter:null},values:null,min:Iu,max:-Iu,idxs:[],path:null,clip:null};function Fc(e,t,n,r,i){return n/10}var Mc={time:!0,auto:!0,distr:1,log:10,asinh:1,min:null,max:null,dir:1,ori:0},Oc=pl({},Mc,{time:!1,ori:1}),Tc={};function Bc(e,t){var n=Tc[e];return n||(n={key:e,plots:[],sub:function(e){n.plots.push(e)},unsub:function(e){n.plots=n.plots.filter((function(t){return t!=e}))},pub:function(e,t,r,i,o,a,u){for(var l=0;l<n.plots.length;l++)n.plots[l]!=t&&n.plots[l].pub(e,t,r,i,o,a,u)}},null!=e&&(Tc[e]=n)),n}var Pc=1;function Nc(e,t,n){var r=e.mode,i=e.series[t],o=2==r?e._data[t]:e._data,a=e.scales,u=e.bbox,l=o[0],c=2==r?o[1]:o[t],s=2==r?a[i.facets[0].scale]:a[e.series[0].scale],f=2==r?a[i.facets[1].scale]:a[i.scale],p=u.left,d=u.top,h=u.width,v=u.height,m=e.valToPosH,g=e.valToPosV;return 0==s.ori?n(i,l,c,s,f,m,g,p,d,h,v,Uc,Wc,Yc,Gc,Jc):n(i,l,c,s,f,g,m,d,p,v,h,Vc,Zc,qc,Qc,Kc)}function Lc(e,t){for(var n=0,r=0,i=wu(e.bands,rl),o=0;o<i.length;o++){var a=i[o];a.series[0]==t?n=a.dir:a.series[1]==t&&(1==a.dir?r|=1:r|=2)}return[n,1==r?-1:2==r?1:3==r?2:0]}function $c(e,t,n,r,i){var o=e.mode,a=e.series[t],u=2==o?a.facets[1].scale:a.scale,l=e.scales[u];return-1==i?l.min:1==i?l.max:3==l.distr?1==l.dir?l.min:l.max:0}function Rc(e,t,n,r,i,o){return Nc(e,t,(function(e,t,a,u,l,c,s,f,p,d,h){var v,m,g=e.pxRound,y=u.dir*(0==u.ori?1:-1),_=0==u.ori?Wc:Zc;1==y?(v=n,m=r):(v=r,m=n);var b=g(c(t[v],u,d,f)),D=g(s(a[v],l,h,p)),w=g(c(t[m],u,d,f)),A=g(s(1==o?l.max:l.min,l,h,p)),k=new Path2D(i);return _(k,w,A),_(k,b,A),_(k,b,D),k}))}function Ic(e,t,n,r,i,o){var a=null;if(e.length>0){a=new Path2D;for(var u=0==t?Yc:qc,l=n,c=0;c<e.length;c++){var s=e[c];if(s[1]>s[0]){var f=s[0]-l;f>0&&u(a,l,r,f,r+o),l=s[1]}}var p=n+i-l;p>0&&u(a,l,r,p,r+o)}return a}function jc(e,t,n,r,i,o,a){for(var u=[],l=e.length,c=1==i?n:r;c>=n&&c<=r;c+=i){if(null===t[c]){var s=c,f=c;if(1==i)for(;++c<=r&&null===t[c];)f=c;else for(;--c>=n&&null===t[c];)f=c;var p=o(e[s]),d=f==s?p:o(e[f]),h=s-i;p=a<=0&&h>=0&&h<l?o(e[h]):p;var v=f+i;(d=a>=0&&v>=0&&v<l?o(e[v]):d)>=p&&u.push([p,d])}}return u}function zc(e){return 0==e?Uu:1==e?Mu:function(t){return Gu(t,e)}}function Hc(e){var t=0==e?Uc:Vc,n=0==e?function(e,t,n,r,i,o){e.arcTo(t,n,r,i,o)}:function(e,t,n,r,i,o){e.arcTo(n,t,i,r,o)},r=0==e?function(e,t,n,r,i){e.rect(t,n,r,i)}:function(e,t,n,r,i){e.rect(n,t,i,r)};return function(e,i,o,a,u){var l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0;0==l&&0==c?r(e,i,o,a,u):(l=Tu(l,a/2,u/2),c=Tu(c,a/2,u/2),t(e,i+l,o),n(e,i+a,o,i+a,o+u,l),n(e,i+a,o+u,i,o+u,c),n(e,i,o+u,i,o,c),n(e,i,o,i+a,o,l),e.closePath())}}var Uc=function(e,t,n){e.moveTo(t,n)},Vc=function(e,t,n){e.moveTo(n,t)},Wc=function(e,t,n){e.lineTo(t,n)},Zc=function(e,t,n){e.lineTo(n,t)},Yc=Hc(0),qc=Hc(1),Gc=function(e,t,n,r,i,o){e.arc(t,n,r,i,o)},Qc=function(e,t,n,r,i,o){e.arc(n,t,r,i,o)},Jc=function(e,t,n,r,i,o,a){e.bezierCurveTo(t,n,r,i,o,a)},Kc=function(e,t,n,r,i,o,a){e.bezierCurveTo(n,t,i,r,a,o)};function Xc(e){return function(e,t,n,r,i){return Nc(e,t,(function(t,o,a,u,l,c,s,f,p,d,h){var v,m,g=t.pxRound,y=t.points;0==u.ori?(v=Uc,m=Gc):(v=Vc,m=Qc);var _=Ku(y.width*fa,3),b=(y.size-y.width)/2*fa,D=Ku(2*b,3),w=new Path2D,A=new Path2D,k=e.bbox,x=k.left,E=k.top,C=k.width,S=k.height;Yc(A,x-D,E-D,C+2*D,S+2*D);var F=function(e){if(null!=a[e]){var t=g(c(o[e],u,d,f)),n=g(s(a[e],l,h,p));v(w,t+b,n),m(w,t,n,b,0,2*Cu)}};if(i)i.forEach(F);else for(var M=n;M<=r;M++)F(M);return{stroke:_>0?w:null,fill:w,clip:A,flags:2|Pc}}))}}function es(e){return function(t,n,r,i,o,a){r!=i&&(o!=r&&a!=r&&e(t,n,r),o!=i&&a!=i&&e(t,n,i),e(t,n,a))}}var ts=es(Wc),ns=es(Zc);function rs(e){var t=wu(null===e||void 0===e?void 0:e.alignGaps,0);return function(e,n,r,i){return Nc(e,n,(function(o,a,u,l,c,s,f,p,d,h,v){var m,g,y=o.pxRound,_=function(e){return y(s(e,l,h,p))},b=function(e){return y(f(e,c,v,d))};0==l.ori?(m=Wc,g=ts):(m=Zc,g=ns);for(var D,w,A,k=l.dir*(0==l.ori?1:-1),x={stroke:new Path2D,fill:null,clip:null,band:null,gaps:null,flags:Pc},E=x.stroke,C=Iu,S=-Iu,F=_(a[1==k?r:i]),M=hu(u,r,i,1*k),O=hu(u,r,i,-1*k),T=_(a[M]),B=_(a[O]),P=!1,N=1==k?r:i;N>=r&&N<=i;N+=k){var L=_(a[N]),$=u[N];L==F?null!=$?(w=b($),C==Iu&&(m(E,L,w),D=w),C=Tu(w,C),S=Bu(w,S)):null===$&&(P=!0):(C!=Iu&&(g(E,F,C,S,D,w),A=F),null!=$?(m(E,L,w=b($)),C=S=D=w):(C=Iu,S=-Iu,null===$&&(P=!0)),F=L)}C!=Iu&&C!=S&&A!=F&&g(E,F,C,S,D,w);var R=Lt(Lc(e,n),2),I=R[0],j=R[1];if(null!=o.fill||0!=I){var z=x.fill=new Path2D(E),H=b(o.fillTo(e,n,o.min,o.max,I));m(z,B,H),m(z,T,H)}if(!o.spanGaps){var U,V=[];P&&(U=V).push.apply(U,It(jc(a,u,r,i,k,_,t))),x.gaps=V=o.gaps(e,n,r,i,V),x.clip=Ic(V,l.ori,p,d,h,v)}return 0!=j&&(x.band=2==j?[Rc(e,n,r,i,E,-1),Rc(e,n,r,i,E,1)]:Rc(e,n,r,i,E,j)),x}))}}function is(e,t,n,r,i,o){var a=e.length;if(a<2)return null;var u=new Path2D;if(n(u,e[0],t[0]),2==a)r(u,e[1],t[1]);else{for(var l=Array(a),c=Array(a-1),s=Array(a-1),f=Array(a-1),p=0;p<a-1;p++)s[p]=t[p+1]-t[p],f[p]=e[p+1]-e[p],c[p]=s[p]/f[p];l[0]=c[0];for(var d=1;d<a-1;d++)0===c[d]||0===c[d-1]||c[d-1]>0!==c[d]>0?l[d]=0:(l[d]=3*(f[d-1]+f[d])/((2*f[d]+f[d-1])/c[d-1]+(f[d]+2*f[d-1])/c[d]),isFinite(l[d])||(l[d]=0));l[a-1]=c[a-2];for(var h=0;h<a-1;h++)i(u,e[h]+f[h]/3,t[h]+l[h]*f[h]/3,e[h+1]-f[h]/3,t[h+1]-l[h+1]*f[h]/3,e[h+1],t[h+1])}return u}var os=new Set;function as(){var e,t=$t(os);try{for(t.s();!(e=t.n()).done;){e.value.syncRect(!0)}}catch(n){t.e(n)}finally{t.f()}}qa&&(fu("resize",Qa,as),fu("scroll",Qa,as,!0),fu(Za,Qa,(function(){Ds.pxRatio=fa})));var us=rs(),ls=Xc();function cs(e,t,n,r){return(r?[e[0],e[1]].concat(e.slice(2)):[e[0]].concat(e.slice(1))).map((function(e,r){return ss(e,r,t,n)}))}function ss(e,t,n,r){return pl({},0==t?n:r,e)}function fs(e,t,n){return null==t?il:[t,n]}var ps=fs;function ds(e,t,n){return null==t?il:Du(t,n,gu,!0)}function hs(e,t,n,r){return null==t?il:vu(t,n,e.scales[r].log,!1)}var vs=hs;function ms(e,t,n,r){return null==t?il:mu(t,n,e.scales[r].log,!1)}var gs=ms;function ys(e,t,n,r,i){var o=Bu(ju(e),ju(t)),a=t-e,u=du(i/r*a,n);do{var l=n[u],c=r*l/a;if(c>=i&&o+(l<5?Xu.get(l):0)<=17)return[l,c]}while(++u<n.length);return[0,0]}function _s(e){var t,n;return[e=e.replace(/(\d+)px/,(function(e,r){return(t=Mu((n=+r)*fa))+"px"})),t,n]}function bs(e){e.show&&[e.font,e.labelFont].forEach((function(e){var t=Ku(e[2]*fa,1);e[0]=e[0].replace(/[0-9.]+px/,t+"px"),e[1]=t}))}function Ds(e,t,n){var r={mode:wu(e.mode,1)},i=r.mode;function o(e,t){return((3==t.distr?Lu(e>0?e:t.clamp(r,e,t.min,t.max,t.key)):4==t.distr?Ru(e,t.asinh):e)-t._min)/(t._max-t._min)}function a(e,t,n,r){var i=o(e,t);return r+n*(-1==t.dir?1-i:i)}function u(e,t,n,r){var i=o(e,t);return r+n*(-1==t.dir?i:1-i)}function l(e,t,n,r){return 0==t.ori?a(e,t,n,r):u(e,t,n,r)}r.valToPosH=a,r.valToPosV=u;var c=!1;r.status=0;var s=r.root=nu("uplot");(null!=e.id&&(s.id=e.id),Ka(s,e.class),e.title)&&(nu("u-title",s).textContent=e.title);var f=tu("canvas"),p=r.ctx=f.getContext("2d"),d=nu("u-wrap",s);fu("click",d,(function(e){(Dt!=gt||wt!=yt)&&St.click(r,e)}),!0);var h=r.under=nu("u-under",d);d.appendChild(f);var v=r.over=nu("u-over",d),m=+wu((e=fl(e)).pxAlign,1),g=zc(m);(e.plugins||[]).forEach((function(t){t.opts&&(e=t.opts(r,e)||e)}));var y=e.ms||.001,_=r.series=1==i?cs(e.series||[],dc,Sc,!1):function(e,t){return e.map((function(e,n){return 0==n?null:pl({},t,e)}))}(e.series||[null],Cc),b=r.axes=cs(e.axes||[],pc,kc,!0),D=r.scales={},w=r.bands=e.bands||[];w.forEach((function(e){e.fill=Hu(e.fill||null),e.dir=wu(e.dir,-1)}));var A=2==i?_[1].facets[0].scale:_[0].scale,k={axes:function(){for(var e=function(){var e=b[t];if(!e.show||!e._show)return"continue";var n,i,o=e.side,a=o%2,u=e.stroke(r,t),c=0==o||3==o?-1:1;if(e.label){var s=e.labelGap*c,f=Mu((e._lpos+s)*fa);Xe(e.labelFont[0],u,"center",2==o?Ba:Pa),p.save(),1==a?(n=i=0,p.translate(f,Mu(pe+he/2)),p.rotate((3==o?-Cu:Cu)/2)):(n=Mu(fe+de/2),i=f),p.fillText(e.label,n,i),p.restore()}var d=Lt(e._found,2),h=d[0],v=d[1];if(0==v)return"continue";var m=D[e.scale],y=0==a?de:he,_=0==a?fe:pe,w=Mu(e.gap*fa),A=e._splits,k=2==m.distr?A.map((function(e){return qe[e]})):A,x=2==m.distr?qe[A[1]]-qe[A[0]]:h,E=e.ticks,C=e.border,S=E.show?Mu(E.size*fa):0,F=e._rotate*-Cu/180,M=g(e._pos*fa),O=M+(S+w)*c;i=0==a?O:0,n=1==a?O:0,Xe(e.font[0],u,1==e.align?Na:2==e.align?La:F>0?Na:F<0?La:0==a?"center":3==o?La:Na,F||1==a?"middle":2==o?Ba:Pa);for(var T=1.5*e.font[1],B=A.map((function(e){return g(l(e,m,y,_))})),P=e._values,N=0;N<P.length;N++){var L=P[N];if(null!=L){0==a?n=B[N]:i=B[N];for(var $=-1==(L=""+L).indexOf("\n")?[L]:L.split(/\n/gm),R=0;R<$.length;R++){var I=$[R];F?(p.save(),p.translate(n,i+R*T),p.rotate(F),p.fillText(I,0,0),p.restore()):p.fillText(I,n,i+R*T)}}}E.show&&ut(B,E.filter(r,k,t,v,x),a,o,M,S,Ku(E.width*fa,3),E.stroke(r,t),E.dash,E.cap);var j=e.grid;j.show&&ut(B,j.filter(r,k,t,v,x),a,0==a?2:1,0==a?pe:fe,0==a?he:de,Ku(j.width*fa,3),j.stroke(r,t),j.dash,j.cap),C.show&&ut([M],[1],0==a?1:0,0==a?1:2,1==a?pe:fe,1==a?he:de,Ku(C.width*fa,3),C.stroke(r,t),C.dash,C.cap)},t=0;t<b.length;t++)e();ln("drawAxes")},series:function(){Te>0&&(_.forEach((function(e,n){if(n>0&&e.show&&null==e._paths){var o=2==i?[0,t[n][0].length-1]:function(e){var t=zu(We-1,0,Te-1),n=zu(Ze+1,0,Te-1);for(;null==e[t]&&t>0;)t--;for(;null==e[n]&&n<Te-1;)n++;return[t,n]}(t[n]);e._paths=e.paths(r,n,o[0],o[1])}})),_.forEach((function(e,t){if(t>0&&e.show){He!=e.alpha&&(p.globalAlpha=He=e.alpha),tt(t,!1),e._paths&&nt(t,!1),tt(t,!0);var n=e._paths?e._paths.gaps:null,i=e.points.show(r,t,We,Ze,n),o=e.points.filter(r,t,i,n);(i||o)&&(e.points._paths=e.points.paths(r,t,We,Ze,o),nt(t,!0)),1!=He&&(p.globalAlpha=He=1),ln("drawSeries",t)}})))}},x=(e.drawOrder||["axes","series"]).map((function(e){return k[e]}));function E(t){var n=D[t];if(null==n){var r=(e.scales||nl)[t]||nl;if(null!=r.from)E(r.from),D[t]=pl({},D[r.from],r,{key:t});else{(n=D[t]=pl({},t==A?Mc:Oc,r)).key=t;var o=n.time,a=n.range,u=ol(a);if((t!=A||2==i&&!o)&&(!u||null!=a[0]&&null!=a[1]||(a={min:null==a[0]?yu:{mode:1,hard:a[0],soft:a[0]},max:null==a[1]?yu:{mode:1,hard:a[1],soft:a[1]}},u=!1),!u&&ll(a))){var l=a;a=function(e,t,n){return null==t?il:Du(t,n,l)}}n.range=Hu(a||(o?ps:t==A?3==n.distr?vs:4==n.distr?gs:fs:3==n.distr?hs:4==n.distr?ms:ds)),n.auto=Hu(!u&&n.auto),n.clamp=Hu(n.clamp||Fc),n._min=n._max=null}}}for(var C in E("x"),E("y"),1==i&&_.forEach((function(e){E(e.scale)})),b.forEach((function(e){E(e.scale)})),e.scales)E(C);var S,F,M=D[A],O=M.distr;0==M.ori?(Ka(s,"u-hz"),S=a,F=u):(Ka(s,"u-vt"),S=u,F=a);var T={};for(var B in D){var P=D[B];null==P.min&&null==P.max||(T[B]={min:P.min,max:P.max},P.min=P.max=null)}var N,L=e.tzDate||function(e){return new Date(Mu(e/y))},$=e.fmtDate||Al,R=1==y?Wl(L):Gl(L),I=Jl(L,Ql(1==y?Vl:ql,$)),j=ec(L,Xl("{YYYY}-{MM}-{DD} {h}:{mm}{aa}",$)),z=[],H=r.legend=pl({},tc,e.legend),U=H.show,V=H.markers;H.idxs=z,V.width=Hu(V.width),V.dash=Hu(V.dash),V.stroke=Hu(V.stroke),V.fill=Hu(V.fill);var W,Z=[],Y=[],q=!1,G={};if(H.live){var Q=_[1]?_[1].values:null;for(var J in W=(q=null!=Q)?Q(r,1,0):{_:0})G[J]=Ya}if(U)if(N=tu("table","u-legend",s),H.mount(r,N),q){var K=tu("tr","u-thead",N);for(var X in tu("th",null,K),W)tu("th",Ma,K).textContent=X}else Ka(N,"u-inline"),H.live&&Ka(N,"u-live");var ee={show:!0},te={show:!1};var ne=new Map;function re(e,t,n){var i=ne.get(t)||{},o=ke.bind[e](r,t,n);o&&(fu(e,t,i[e]=o),ne.set(t,i))}function ie(e,t,n){var r=ne.get(t)||{};for(var i in r)null!=e&&i!=e||(pu(i,t,r[i]),delete r[i]);null==e&&ne.delete(t)}var oe=0,ae=0,ue=0,le=0,ce=0,se=0,fe=0,pe=0,de=0,he=0;r.bbox={};var ve=!1,me=!1,ge=!1,ye=!1,_e=!1,be=!1;function De(e,t,n){(n||e!=r.width||t!=r.height)&&we(e,t),st(!1),ge=!0,me=!0,ke.left>=0&&(ye=be=!0),kt()}function we(e,t){r.width=oe=ue=e,r.height=ae=le=t,ce=se=0,function(){var e=!1,t=!1,n=!1,r=!1;b.forEach((function(i,o){if(i.show&&i._show){var a=i.side,u=a%2,l=i._size+(null!=i.label?i.labelSize:0);l>0&&(u?(ue-=l,3==a?(ce+=l,r=!0):n=!0):(le-=l,0==a?(se+=l,e=!0):t=!0))}})),Me[0]=e,Me[1]=n,Me[2]=t,Me[3]=r,ue-=Ve[1]+Ve[3],ce+=Ve[3],le-=Ve[2]+Ve[0],se+=Ve[0]}(),function(){var e=ce+ue,t=se+le,n=ce,r=se;function i(i,o){switch(i){case 1:return(e+=o)-o;case 2:return(t+=o)-o;case 3:return(n-=o)+o;case 0:return(r-=o)+o}}b.forEach((function(e,t){if(e.show&&e._show){var n=e.side;e._pos=i(n,e._size),null!=e.label&&(e._lpos=i(n,e.labelSize))}}))}();var n=r.bbox;fe=n.left=Gu(ce*fa,.5),pe=n.top=Gu(se*fa,.5),de=n.width=Gu(ue*fa,.5),he=n.height=Gu(le*fa,.5)}var Ae=3;r.setSize=function(e){De(e.width,e.height)};var ke=r.cursor=pl({},oc,{drag:{y:2==i}},e.cursor);ke.idxs=z,ke._lock=!1;var xe=ke.points;xe.show=Hu(xe.show),xe.size=Hu(xe.size),xe.stroke=Hu(xe.stroke),xe.width=Hu(xe.width),xe.fill=Hu(xe.fill);var Ee=r.focus=pl({},e.focus||{alpha:.3},ke.focus);0!=Ee.bias&&(Ee.prox=1e5);var Ce=Ee.prox>=0,Se=[null];function Fe(e,t){if(1==i||t>0){var n=1==i&&D[e.scale].time,o=e.value;e.value=n?ul(o)?ec(L,Xl(o,$)):o||j:o||Ac,e.label=e.label||(n?"Time":"Value")}if(t>0){e.width=null==e.width?1:e.width,e.paths=e.paths||us||Wu,e.fillTo=Hu(e.fillTo||$c),e.pxAlign=+wu(e.pxAlign,m),e.pxRound=zc(e.pxAlign),e.stroke=Hu(e.stroke||null),e.fill=Hu(e.fill||null),e._stroke=e._fill=e._paths=e._focus=null;var a=Ku((3+2*(Bu(1,e.width)||1))*1,3),u=e.points=pl({},{size:a,width:Bu(1,.2*a),stroke:e.stroke,space:2*a,paths:ls,_stroke:null,_fill:null},e.points);u.show=Hu(u.show),u.filter=Hu(u.filter),u.fill=Hu(u.fill),u.stroke=Hu(u.stroke),u.paths=Hu(u.paths),u.pxAlign=e.pxAlign}if(U){var l=function(e,t){if(0==t&&(q||!H.live||2==i))return il;var n=[],o=tu("tr","u-series",N,N.childNodes[t]);Ka(o,e.class),e.show||Ka(o,Fa);var a=tu("th",null,o);if(V.show){var u=nu("u-marker",a);if(t>0){var l=V.width(r,t);l&&(u.style.border=l+"px "+V.dash(r,t)+" "+V.stroke(r,t)),u.style.background=V.fill(r,t)}}var c=nu(Ma,a);for(var s in c.textContent=e.label,t>0&&(V.show||(c.style.color=e.width>0?V.stroke(r,t):V.fill(r,t)),re("click",a,(function(t){if(!ke._lock){var n=_.indexOf(e);if((t.ctrlKey||t.metaKey)!=H.isolate){var r=_.some((function(e,t){return t>0&&t!=n&&e.show}));_.forEach((function(e,t){t>0&&It(t,r?t==n?ee:te:ee,!0,cn.setSeries)}))}else It(n,{show:!e.show},!0,cn.setSeries)}})),Ce&&re(Ha,a,(function(t){ke._lock||It(_.indexOf(e),jt,!0,cn.setSeries)}))),W){var f=tu("td","u-value",o);f.textContent="--",n.push(f)}return[o,n]}(e,t);Z.splice(t,0,l[0]),Y.splice(t,0,l[1]),H.values.push(null)}if(ke.show){z.splice(t,0,null);var c=function(e,t){if(t>0){var n=ke.points.show(r,t);if(n)return Ka(n,"u-cursor-pt"),Ka(n,e.class),iu(n,-10,-10,ue,le),v.insertBefore(n,Se[t]),n}}(e,t);c&&Se.splice(t,0,c)}ln("addSeries",t)}r.addSeries=function(e,t){t=null==t?_.length:t,e=1==i?ss(e,t,dc,Sc):ss(e,t,null,Cc),_.splice(t,0,e),Fe(_[t],t)},r.delSeries=function(e){if(_.splice(e,1),U){H.values.splice(e,1),Y.splice(e,1);var t=Z.splice(e,1)[0];ie(null,t.firstChild),t.remove()}ke.show&&(z.splice(e,1),Se.length>1&&Se.splice(e,1)[0].remove()),ln("delSeries",e)};var Me=[!1,!1,!1,!1];function Oe(e,t,n,r){var i=Lt(n,4),o=i[0],a=i[1],u=i[2],l=i[3],c=t%2,s=0;return 0==c&&(l||a)&&(s=0==t&&!o||2==t&&!u?Mu(pc.size/3):0),1==c&&(o||u)&&(s=1==t&&!a||3==t&&!l?Mu(kc.size/2):0),s}var Te,Be,Pe,Ne,Le,$e,Re,Ie,je,ze,He,Ue=r.padding=(e.padding||[Oe,Oe,Oe,Oe]).map((function(e){return Hu(wu(e,Oe))})),Ve=r._padding=Ue.map((function(e,t){return e(r,t,Me,0)})),We=null,Ze=null,Ye=1==i?_[0].idxs:null,qe=null,Ge=!1;function Qe(e,n){if(t=null==e?[]:fl(e,cl),2==i){Te=0;for(var o=1;o<_.length;o++)Te+=t[o][0].length;r.data=t=e}else if(null==t[0]&&(t[0]=[]),r.data=t.slice(),qe=t[0],Te=qe.length,2==O){t[0]=Array(Te);for(var a=0;a<Te;a++)t[0][a]=a}if(r._data=t,st(!0),ln("setData"),2==O&&(ge=!0),!1!==n){var u=M;u.auto(r,Ge)?Je():Rt(A,u.min,u.max),ye=ke.left>=0,be=!0,kt()}}function Je(){var e,n;if(Ge=!0,1==i)if(Te>0){if(We=Ye[0]=0,Ze=Ye[1]=Te-1,e=t[0][We],n=t[0][Ze],2==O)e=We,n=Ze;else if(1==Te)if(3==O){var r=Lt(vu(e,e,M.log,!1),2);e=r[0],n=r[1]}else if(4==O){var o=Lt(mu(e,e,M.log,!1),2);e=o[0],n=o[1]}else if(M.time)n=e+Mu(86400/y);else{var a=Lt(Du(e,n,gu,!0),2);e=a[0],n=a[1]}}else We=Ye[0]=e=null,Ze=Ye[1]=n=null;Rt(A,e,n)}function Ke(e,t,n,r,i,o){var a,u,l,c,s;null!==(a=e)&&void 0!==a||(e=Ra),null!==(u=n)&&void 0!==u||(n=rl),null!==(l=r)&&void 0!==l||(r="butt"),null!==(c=i)&&void 0!==c||(i=Ra),null!==(s=o)&&void 0!==s||(o="round"),e!=Be&&(p.strokeStyle=Be=e),i!=Pe&&(p.fillStyle=Pe=i),t!=Ne&&(p.lineWidth=Ne=t),o!=$e&&(p.lineJoin=$e=o),r!=Re&&(p.lineCap=Re=r),n!=Le&&p.setLineDash(Le=n)}function Xe(e,t,n,r){t!=Pe&&(p.fillStyle=Pe=t),e!=Ie&&(p.font=Ie=e),n!=je&&(p.textAlign=je=n),r!=ze&&(p.textBaseline=ze=r)}function et(e,t,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(i.length>0&&e.auto(r,Ge)&&(null==t||null==t.min)){var a=wu(We,0),u=wu(Ze,i.length-1),l=null==n.min?3==e.distr?function(e,t,n){for(var r=Iu,i=-Iu,o=t;o<=n;o++)e[o]>0&&(r=Tu(r,e[o]),i=Bu(i,e[o]));return[r==Iu?1:r,i==-Iu?10:i]}(i,a,u):function(e,t,n,r){var i=Iu,o=-Iu;if(1==r)i=e[t],o=e[n];else if(-1==r)i=e[n],o=e[t];else for(var a=t;a<=n;a++)null!=e[a]&&(i=Tu(i,e[a]),o=Bu(o,e[a]));return[i,o]}(i,a,u,o):[n.min,n.max];e.min=Tu(e.min,n.min=l[0]),e.max=Bu(e.max,n.max=l[1])}}function tt(e,t){var n=t?_[e].points:_[e];n._stroke=n.stroke(r,e),n._fill=n.fill(r,e)}function nt(e,n){var i=n?_[e].points:_[e],o=i._stroke,a=i._fill,u=i._paths,l=u.stroke,c=u.fill,s=u.clip,f=u.flags,d=null,h=Ku(i.width*fa,3),v=h%2/2;n&&null==a&&(a=h>0?"#fff":o);var m=1==i.pxAlign;if(m&&p.translate(v,v),!n){var g=fe,y=pe,b=de,D=he,A=h*fa/2;0==i.min&&(D+=A),0==i.max&&(y-=A,D+=A),(d=new Path2D).rect(g,y,b,D)}n?it(o,h,i.dash,i.cap,a,l,c,f,s):function(e,n,i,o,a,u,l,c,s,f,p){var d=!1;w.forEach((function(h,v){if(h.series[0]==e){var m,g=_[h.series[1]],y=t[h.series[1]],b=(g._paths||nl).band;ol(b)&&(b=1==h.dir?b[0]:b[1]);var D=null;g.show&&b&&function(e,t,n){for(t=wu(t,0),n=wu(n,e.length-1);t<=n;){if(null!=e[t])return!0;t++}return!1}(y,We,Ze)?(D=h.fill(r,v)||u,m=g._paths.clip):b=null,it(n,i,o,a,D,l,c,s,f,p,m,b),d=!0}})),d||it(n,i,o,a,u,l,c,s,f,p)}(e,o,h,i.dash,i.cap,a,l,c,f,d,s),m&&p.translate(-v,-v)}r.setData=Qe;var rt=2|Pc;function it(e,t,n,r,i,o,a,u,l,c,s,f){Ke(e,t,n,r,i),(l||c||f)&&(p.save(),l&&p.clip(l),c&&p.clip(c)),f?(u&rt)==rt?(p.clip(f),s&&p.clip(s),at(i,a),ot(e,o,t)):2&u?(at(i,a),p.clip(f),ot(e,o,t)):u&Pc&&(p.save(),p.clip(f),s&&p.clip(s),at(i,a),p.restore(),ot(e,o,t)):(at(i,a),ot(e,o,t)),(l||c||f)&&p.restore()}function ot(e,t,n){n>0&&(t instanceof Map?t.forEach((function(e,t){p.strokeStyle=Be=t,p.stroke(e)})):null!=t&&e&&p.stroke(t))}function at(e,t){t instanceof Map?t.forEach((function(e,t){p.fillStyle=Pe=t,p.fill(e)})):null!=t&&e&&p.fill(t)}function ut(e,t,n,r,i,o,a,u,l,c){var s=a%2/2;1==m&&p.translate(s,s),Ke(u,a,l,c,u),p.beginPath();var f,d,h,v,g=i+(0==r||3==r?-o:o);0==n?(d=i,v=g):(f=i,h=g);for(var y=0;y<e.length;y++)null!=t[y]&&(0==n?f=h=e[y]:d=v=e[y],p.moveTo(f,d),p.lineTo(h,v));p.stroke(),1==m&&p.translate(-s,-s)}function lt(e){var t=!0;return b.forEach((function(n,i){if(n.show){var o=D[n.scale];if(null!=o.min){n._show||(t=!1,n._show=!0,st(!1));var a=n.side,u=a%2,l=o.min,c=o.max,s=function(e,t,n,i){var o,a=b[e];if(i<=0)o=[0,0];else{var u=a._space=a.space(r,e,t,n,i);o=ys(t,n,a._incrs=a.incrs(r,e,t,n,i,u),i,u)}return a._found=o}(i,l,c,0==u?ue:le),f=Lt(s,2),p=f[0],d=f[1];if(0!=d){var h=2==o.distr,v=n._splits=n.splits(r,i,l,c,p,d,h),m=2==o.distr?v.map((function(e){return qe[e]})):v,g=2==o.distr?qe[v[1]]-qe[v[0]]:p,y=n._values=n.values(r,n.filter(r,m,i,d,g),i,d,g);n._rotate=2==a?n.rotate(r,y,i,d):0;var _=n._size;n._size=Ou(n.size(r,y,i,e)),null!=_&&n._size!=_&&(t=!1)}}else n._show&&(t=!1,n._show=!1,st(!1))}})),t}function ct(e){var t=!0;return Ue.forEach((function(n,i){var o=n(r,i,Me,e);o!=Ve[i]&&(t=!1),Ve[i]=o})),t}function st(e){_.forEach((function(t,n){n>0&&(t._paths=null,e&&(1==i?(t.min=null,t.max=null):t.facets.forEach((function(e){e.min=null,e.max=null}))))}))}var ft,pt,dt,ht,vt,mt,gt,yt,_t,bt,Dt,wt,At=!1;function kt(){At||(hl(xt),At=!0)}function xt(){ve&&(!function(){var e=fl(D,cl);for(var n in e){var o=e[n],a=T[n];if(null!=a&&null!=a.min)pl(o,a),n==A&&st(!0);else if(n!=A||2==i)if(0==Te&&null==o.from){var u=o.range(r,null,null,n);o.min=u[0],o.max=u[1]}else o.min=Iu,o.max=-Iu}if(Te>0)for(var l in _.forEach((function(n,o){if(1==i){var a=n.scale,u=e[a],l=T[a];if(0==o){var c=u.range(r,u.min,u.max,a);u.min=c[0],u.max=c[1],We=du(u.min,t[0]),(Ze=du(u.max,t[0]))-We>1&&(t[0][We]<u.min&&We++,t[0][Ze]>u.max&&Ze--),n.min=qe[We],n.max=qe[Ze]}else n.show&&n.auto&&et(u,l,n,t[o],n.sorted);n.idxs[0]=We,n.idxs[1]=Ze}else if(o>0&&n.show&&n.auto){var s=Lt(n.facets,2),f=s[0],p=s[1],d=f.scale,h=p.scale,v=Lt(t[o],2),m=v[0],g=v[1];et(e[d],T[d],f,m,f.sorted),et(e[h],T[h],p,g,p.sorted),n.min=p.min,n.max=p.max}})),e){var c=e[l],s=T[l];if(null==c.from&&(null==s||null==s.min)){var f=c.range(r,c.min==Iu?null:c.min,c.max==-Iu?null:c.max,l);c.min=f[0],c.max=f[1]}}for(var p in e){var d=e[p];if(null!=d.from){var h=e[d.from];if(null==h.min)d.min=d.max=null;else{var v=d.range(r,h.min,h.max,p);d.min=v[0],d.max=v[1]}}}var m={},g=!1;for(var y in e){var b=e[y],w=D[y];if(w.min!=b.min||w.max!=b.max){w.min=b.min,w.max=b.max;var k=w.distr;w._min=3==k?Lu(w.min):4==k?Ru(w.min,w.asinh):w.min,w._max=3==k?Lu(w.max):4==k?Ru(w.max,w.asinh):w.max,m[y]=g=!0}}if(g){for(var x in _.forEach((function(e,t){2==i?t>0&&m.y&&(e._paths=null):m[e.scale]&&(e._paths=null)})),m)ge=!0,ln("setScale",x);ke.show&&ke.left>=0&&(ye=be=!0)}for(var E in T)T[E]=null}(),ve=!1),ge&&(!function(){for(var e=!1,t=0;!e;){var n=lt(++t),i=ct(t);(e=t==Ae||n&&i)||(we(r.width,r.height),me=!0)}}(),ge=!1),me&&(eu(h,Na,ce),eu(h,Ba,se),eu(h,Oa,ue),eu(h,Ta,le),eu(v,Na,ce),eu(v,Ba,se),eu(v,Oa,ue),eu(v,Ta,le),eu(d,Oa,oe),eu(d,Ta,ae),f.width=Mu(oe*fa),f.height=Mu(ae*fa),b.forEach((function(e){var t=e._el,n=e._show,r=e._size,i=e._pos,o=e.side;if(null!=t)if(n){var a=o%2==1;eu(t,a?"left":"top",i-(3===o||0===o?r:0)),eu(t,a?"width":"height",r),eu(t,a?"top":"left",a?se:ce),eu(t,a?"height":"width",a?le:ue),Xa(t,Fa)}else Ka(t,Fa)})),Be=Pe=Ne=$e=Re=Ie=je=ze=Le=null,He=1,Qt(!0),ln("setSize"),me=!1),oe>0&&ae>0&&(p.clearRect(0,0,f.width,f.height),ln("drawClear"),x.forEach((function(e){return e()})),ln("draw")),Pt.show&&_e&&($t(Pt),_e=!1),ke.show&&ye&&(qt(null,!0,!1),ye=!1),H.show&&H.live&&be&&(Zt(),be=!1),c||(c=!0,r.status=1,ln("ready")),Ge=!1,At=!1}function Et(e,n){var i=D[e];if(null==i.from){if(0==Te){var o=i.range(r,n.min,n.max,e);n.min=o[0],n.max=o[1]}if(n.min>n.max){var a=n.min;n.min=n.max,n.max=a}if(Te>1&&null!=n.min&&null!=n.max&&n.max-n.min<1e-16)return;e==A&&2==i.distr&&Te>0&&(n.min=du(n.min,t[0]),n.max=du(n.max,t[0]),n.min==n.max&&n.max++),T[e]=n,ve=!0,kt()}}r.redraw=function(e,t){ge=t||!1,!1!==e?Rt(A,M.min,M.max):kt()},r.setScale=Et;var Ct=!1,St=ke.drag,Ft=St.x,Mt=St.y;ke.show&&(ke.x&&(ft=nu("u-cursor-x",v)),ke.y&&(pt=nu("u-cursor-y",v)),0==M.ori?(dt=ft,ht=pt):(dt=pt,ht=ft),Dt=ke.left,wt=ke.top);var Ot,Tt,Bt,Pt=r.select=pl({show:!0,over:!0,left:0,width:0,top:0,height:0},e.select),Nt=Pt.show?nu("u-select",Pt.over?v:h):null;function $t(e,t){if(Pt.show){for(var n in e)Pt[n]=e[n],n in Xt&&eu(Nt,n,e[n]);!1!==t&&ln("setSelect")}}function Rt(e,t,n){Et(e,{min:t,max:n})}function It(e,t,n,o){null!=t.focus&&function(e){if(e!=Bt){var t=null==e,n=1!=Ee.alpha;_.forEach((function(r,i){var o=t||0==i||i==e;r._focus=t?null:o,n&&function(e,t){_[e].alpha=t,ke.show&&Se[e]&&(Se[e].style.opacity=t);U&&Z[e]&&(Z[e].style.opacity=t)}(i,o?1:Ee.alpha)})),Bt=e,n&&kt()}}(e),null!=t.show&&_.forEach((function(n,r){r>0&&(e==r||null==e)&&(n.show=t.show,function(e,t){var n=_[e],r=U?Z[e]:null;n.show?r&&Xa(r,Fa):(r&&Ka(r,Fa),Se.length>1&&iu(Se[e],-10,-10,ue,le))}(r,t.show),Rt(2==i?n.facets[1].scale:n.scale,null,null),kt())})),!1!==n&&ln("setSeries",e,t),o&&pn("setSeries",r,e,t)}r.setSelect=$t,r.setSeries=It,r.addBand=function(e,t){e.fill=Hu(e.fill||null),e.dir=wu(e.dir,-1),t=null==t?w.length:t,w.splice(t,0,e)},r.setBand=function(e,t){pl(w[e],t)},r.delBand=function(e){null==e?w.length=0:w.splice(e,1)};var jt={focus:!0};function zt(e,t,n){var r=D[t];n&&(e=e/fa-(1==r.ori?se:ce));var i=ue;1==r.ori&&(e=(i=le)-e),-1==r.dir&&(e=i-e);var o=r._min,a=o+(r._max-o)*(e/i),u=r.distr;return 3==u?Pu(10,a):4==u?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Eu.sinh(e)*t}(a,r.asinh):a}function Ht(e,t){eu(Nt,Na,Pt.left=e),eu(Nt,Oa,Pt.width=t)}function Ut(e,t){eu(Nt,Ba,Pt.top=e),eu(Nt,Ta,Pt.height=t)}U&&Ce&&fu(Ua,N,(function(e){ke._lock||null!=Bt&&It(null,jt,!0,cn.setSeries)})),r.valToIdx=function(e){return du(e,t[0])},r.posToIdx=function(e,n){return du(zt(e,A,n),t[0],We,Ze)},r.posToVal=zt,r.valToPos=function(e,t,n){return 0==D[t].ori?a(e,D[t],n?de:ue,n?fe:0):u(e,D[t],n?he:le,n?pe:0)},r.batch=function(e){e(r),kt()},r.setCursor=function(e,t,n){Dt=e.left,wt=e.top,qt(null,t,n)};var Vt=0==M.ori?Ht:Ut,Wt=1==M.ori?Ht:Ut;function Zt(e,t){null!=e&&(e.idxs?e.idxs.forEach((function(e,t){z[t]=e})):function(e){return void 0===e}(e.idx)||z.fill(e.idx),H.idx=z[0]);for(var n=0;n<_.length;n++)(n>0||1==i&&!q)&&Yt(n,z[n]);U&&H.live&&function(){if(U&&H.live)for(var e=2==i?1:0;e<_.length;e++)if(0!=e||!q){var t=H.values[e],n=0;for(var r in t)Y[e][n++].firstChild.nodeValue=t[r]}}(),be=!1,!1!==t&&ln("setLegend")}function Yt(e,n){var i,o,a=_[e],u=0==e&&2==O?qe:t[e];o=q?null!==(i=a.values(r,e,n))&&void 0!==i?i:G:null==(o=a.value(r,null==n?null:u[n],e,n))?G:{_:o},H.values[e]=o}function qt(e,n,o){_t=Dt,bt=wt;var a,u=Lt(ke.move(r,Dt,wt),2);Dt=u[0],wt=u[1],ke.show&&(dt&&iu(dt,Mu(Dt),0,ue,le),ht&&iu(ht,0,Mu(wt),ue,le));var l=We>Ze;Ot=Iu;var c=0==M.ori?ue:le,s=1==M.ori?ue:le;if(Dt<0||0==Te||l){a=null;for(var f=0;f<_.length;f++)f>0&&Se.length>1&&iu(Se[f],-10,-10,ue,le);Ce&&It(null,jt,!0,null==e&&cn.setSeries),H.live&&(z.fill(a),be=!0)}else{var p,d;1==i&&(a=du(p=zt(0==M.ori?Dt:wt,A),t[0],We,Ze),d=S(t[0][a],M,c,0));for(var h=2==i?1:0;h<_.length;h++){var v=_[h],m=z[h],g=1==i?t[h][m]:t[h][1][m],y=ke.dataIdx(r,h,a,p),b=1==i?t[h][y]:t[h][1][y];be=be||b!=g||y!=m,z[h]=y;var w=Qu(y==a?d:S(1==i?t[0][y]:t[h][0][y],M,c,0),1);if(h>0&&v.show){var k=null==b?-10:Qu(F(b,1==i?D[v.scale]:D[v.facets[1].scale],s,0),1);if(Ce&&k>=0&&1==i){var x=Su(k-wt),E=Ee.bias;if(0!=E){var C=zt(1==M.ori?Dt:wt,v.scale),O=C>=0?1:-1;O==(b>=0?1:-1)&&x<Ot&&(1==O?1==E?b>=C:b<=C:1==E?b<=C:b>=C)&&(Ot=x,Tt=h)}else x<Ot&&(Ot=x,Tt=h)}var T=void 0,B=void 0;if(0==M.ori?(T=w,B=k):(T=k,B=w),be&&Se.length>1){au(Se[h],ke.points.fill(r,h),ke.points.stroke(r,h));var P=void 0,N=void 0,L=void 0,$=void 0,R=!0,I=ke.points.bbox;if(null!=I){R=!1;var j=I(r,h);L=j.left,$=j.top,P=j.width,N=j.height}else L=T,$=B,P=N=ke.points.size(r,h);lu(Se[h],P,N,R),iu(Se[h],L,$,ue,le)}}}}if(ke.idx=a,ke.left=Dt,ke.top=wt,be&&(H.idx=a,Zt()),Pt.show&&Ct)if(null!=e){var U=Lt(cn.scales,2),V=U[0],W=U[1],Z=Lt(cn.match,2),Y=Z[0],q=Z[1],G=Lt(e.cursor.sync.scales,2),Q=G[0],J=G[1],K=e.cursor.drag;if(Ft=K._x,Mt=K._y,Ft||Mt){var X,ee,te,ne,re,ie=e.select,oe=ie.left,ae=ie.top,ce=ie.width,se=ie.height,fe=e.scales[V].ori,pe=e.posToVal,de=null!=V&&Y(V,Q),he=null!=W&&q(W,J);de&&Ft?(0==fe?(X=oe,ee=ce):(X=ae,ee=se),te=D[V],ne=S(pe(X,Q),te,c,0),re=S(pe(X+ee,Q),te,c,0),Vt(Tu(ne,re),Su(re-ne))):Vt(0,c),he&&Mt?(1==fe?(X=oe,ee=ce):(X=ae,ee=se),te=D[W],ne=F(pe(X,J),te,s,0),re=F(pe(X+ee,J),te,s,0),Wt(Tu(ne,re),Su(re-ne))):Wt(0,s)}else en()}else{var ve=Su(_t-vt),me=Su(bt-mt);if(1==M.ori){var ge=ve;ve=me,me=ge}Ft=St.x&&ve>=St.dist,Mt=St.y&&me>=St.dist;var ye,_e,De=St.uni;null!=De?Ft&&Mt&&(Mt=me>=De,(Ft=ve>=De)||Mt||(me>ve?Mt=!0:Ft=!0)):St.x&&St.y&&(Ft||Mt)&&(Ft=Mt=!0),Ft&&(0==M.ori?(ye=gt,_e=Dt):(ye=yt,_e=wt),Vt(Tu(ye,_e),Su(_e-ye)),Mt||Wt(0,s)),Mt&&(1==M.ori?(ye=gt,_e=Dt):(ye=yt,_e=wt),Wt(Tu(ye,_e),Su(_e-ye)),Ft||Vt(0,c)),Ft||Mt||(Vt(0,0),Wt(0,0))}if(St._x=Ft,St._y=Mt,null==e){if(o){if(null!=sn){var we=Lt(cn.scales,2),Ae=we[0],xe=we[1];cn.values[0]=null!=Ae?zt(0==M.ori?Dt:wt,Ae):null,cn.values[1]=null!=xe?zt(1==M.ori?Dt:wt,xe):null}pn(Ia,r,Dt,wt,ue,le,a)}if(Ce){var Fe=o&&cn.setSeries,Me=Ee.prox;null==Bt?Ot<=Me&&It(Tt,jt,!0,Fe):Ot>Me?It(null,jt,!0,Fe):Tt!=Bt&&It(Tt,jt,!0,Fe)}}!1!==n&&ln("setCursor")}r.setLegend=Zt;var Gt=null;function Qt(e){!0===e?Gt=null:ln("syncRect",Gt=v.getBoundingClientRect())}function Jt(e,t,n,r,i,o,a){ke._lock||Ct&&null!=e&&0==e.movementX&&0==e.movementY||(Kt(e,t,n,r,i,o,a,!1,null!=e),null!=e?qt(null,!0,!0):qt(t,!0,!1))}function Kt(e,t,n,i,o,a,u,c,s){if(null==Gt&&Qt(!1),null!=e)n=e.clientX-Gt.left,i=e.clientY-Gt.top;else{if(n<0||i<0)return Dt=-10,void(wt=-10);var f=Lt(cn.scales,2),p=f[0],d=f[1],h=t.cursor.sync,v=Lt(h.values,2),m=v[0],g=v[1],y=Lt(h.scales,2),_=y[0],b=y[1],w=Lt(cn.match,2),A=w[0],k=w[1],x=t.axes[0].side%2==1,E=0==M.ori?ue:le,C=1==M.ori?ue:le,S=x?a:o,F=x?o:a,O=x?i:n,T=x?n:i;if(n=null!=_?A(p,_)?l(m,D[p],E,0):-10:E*(O/S),i=null!=b?k(d,b)?l(g,D[d],C,0):-10:C*(T/F),1==M.ori){var B=n;n=i,i=B}}if(s&&((n<=1||n>=ue-1)&&(n=Gu(n,ue)),(i<=1||i>=le-1)&&(i=Gu(i,le))),c){vt=n,mt=i;var P=Lt(ke.move(r,n,i),2);gt=P[0],yt=P[1]}else Dt=n,wt=i}var Xt={width:0,height:0,left:0,top:0};function en(){$t(Xt,!1)}function tn(e,t,n,i,o,a,u){Ct=!0,Ft=Mt=St._x=St._y=!1,Kt(e,t,n,i,o,a,0,!0,!1),null!=e&&(re(za,Ga,nn),pn(ja,r,gt,yt,ue,le,null))}function nn(e,t,n,i,o,a,u){Ct=St._x=St._y=!1,Kt(e,t,n,i,o,a,0,!1,!0);var l=Pt.left,c=Pt.top,s=Pt.width,f=Pt.height,p=s>0||f>0;if(p&&$t(Pt),St.setScale&&p){var d=l,h=s,v=c,m=f;if(1==M.ori&&(d=c,h=f,v=l,m=s),Ft&&Rt(A,zt(d,A),zt(d+h,A)),Mt)for(var g in D){var y=D[g];g!=A&&null==y.from&&y.min!=Iu&&Rt(g,zt(v+m,g),zt(v,g))}en()}else ke.lock&&(ke._lock=!ke._lock,ke._lock||qt(null,!0,!1));null!=e&&(ie(za,Ga),pn(za,r,Dt,wt,ue,le,null))}function rn(e,t,n,i,o,a,u){Je(),en(),null!=e&&pn(Va,r,Dt,wt,ue,le,null)}function on(){b.forEach(bs),De(r.width,r.height,!0)}fu(Za,Qa,on);var an={};an.mousedown=tn,an.mousemove=Jt,an.mouseup=nn,an.dblclick=rn,an.setSeries=function(e,t,n,r){It(n,r,!0,!1)},ke.show&&(re(ja,v,tn),re(Ia,v,Jt),re(Ha,v,Qt),re(Ua,v,(function(e,t,n,r,i,o,a){if(!ke._lock){var u=Ct;if(Ct){var l,c,s=!0,f=!0;0==M.ori?(l=Ft,c=Mt):(l=Mt,c=Ft),l&&c&&(s=Dt<=10||Dt>=ue-10,f=wt<=10||wt>=le-10),l&&s&&(Dt=Dt<gt?0:ue),c&&f&&(wt=wt<yt?0:le),qt(null,!0,!0),Ct=!1}Dt=-10,wt=-10,qt(null,!0,!0),u&&(Ct=u)}})),re(Va,v,rn),os.add(r),r.syncRect=Qt);var un=r.hooks=e.hooks||{};function ln(e,t,n){e in un&&un[e].forEach((function(e){e.call(null,r,t,n)}))}(e.plugins||[]).forEach((function(e){for(var t in e.hooks)un[t]=(un[t]||[]).concat(e.hooks[t])}));var cn=pl({key:null,setSeries:!1,filters:{pub:Zu,sub:Zu},scales:[A,_[1]?_[1].scale:null],match:[Yu,Yu],values:[null,null]},ke.sync);ke.sync=cn;var sn=cn.key,fn=Bc(sn);function pn(e,t,n,r,i,o,a){cn.filters.pub(e,t,n,r,i,o,a)&&fn.pub(e,t,n,r,i,o,a)}function dn(){ln("init",e,t),Qe(t||e.data,!1),T[A]?Et(A,T[A]):Je(),_e=Pt.show,ye=be=!0,De(e.width,e.height)}return fn.sub(r),r.pub=function(e,t,n,r,i,o,a){cn.filters.sub(e,t,n,r,i,o,a)&&an[e](null,t,n,r,i,o,a)},r.destroy=function(){var e;fn.unsub(r),os.delete(r),ne.clear(),pu(Za,Qa,on),s.remove(),null===(e=N)||void 0===e||e.remove(),ln("destroy")},_.forEach(Fe),b.forEach((function(e,t){if(e._show=e.show,e.show){var n=e.side%2,i=D[e.scale];null==i&&(e.scale=n?_[1].scale:A,i=D[e.scale]);var o=i.time;e.size=Hu(e.size),e.space=Hu(e.space),e.rotate=Hu(e.rotate),e.incrs=Hu(e.incrs||(2==i.distr?Fl:o?1==y?Ul:Yl:Ml)),e.splits=Hu(e.splits||(o&&1==i.distr?R:3==i.distr?mc:4==i.distr?gc:vc)),e.stroke=Hu(e.stroke),e.grid.stroke=Hu(e.grid.stroke),e.ticks.stroke=Hu(e.ticks.stroke),e.border.stroke=Hu(e.border.stroke);var a=e.values;e.values=ol(a)&&!ol(a[0])?Hu(a):o?ol(a)?Jl(L,Ql(a,$)):ul(a)?function(e,t){var n=Al(t);return function(t,r,i,o,a){return r.map((function(t){return n(e(t))}))}}(L,a):a||I:a||hc,e.filter=Hu(e.filter||(i.distr>=3&&10==i.log?wc:Vu)),e.font=_s(e.font),e.labelFont=_s(e.labelFont),e._size=e.size(r,null,t,0),e._space=e._rotate=e._incrs=e._found=e._splits=e._values=null,e._size>0&&(Me[t]=!0,e._el=nu("u-axis",d))}})),n?n instanceof HTMLElement?(n.appendChild(s),dn()):n(r,dn):dn(),r}Ds.assign=pl,Ds.fmtNum=xu,Ds.rangeNum=Du,Ds.rangeLog=vu,Ds.rangeAsinh=mu,Ds.orient=Nc,Ds.pxRatio=fa,Ds.join=function(e,t){for(var n=new Set,r=0;r<e.length;r++)for(var i=e[r][0],o=i.length,a=0;a<o;a++)n.add(i[a]);for(var u=[Array.from(n).sort((function(e,t){return e-t}))],l=u[0].length,c=new Map,s=0;s<l;s++)c.set(u[0][s],s);for(var f=0;f<e.length;f++)for(var p=e[f],d=p[0],h=1;h<p.length;h++){for(var v=p[h],m=Array(l).fill(void 0),g=t?t[f][h]:1,y=[],_=0;_<v.length;_++){var b=v[_],D=c.get(d[_]);null===b?0!=g&&(m[D]=b,2==g&&y.push(D)):m[D]=b}dl(m,y,l),u.push(m)}return u},Ds.fmtDate=Al,Ds.tzDate=function(e,t){var n;return"UTC"==t||"Etc/UTC"==t?n=new Date(+e+6e4*e.getTimezoneOffset()):t==kl?n=e:(n=new Date(e.toLocaleString("en-US",{timeZone:t}))).setMilliseconds(e.getMilliseconds()),n},Ds.sync=Bc,Ds.addGap=function(e,t,n){var r=e[e.length-1];r&&r[0]==t?r[1]=n:e.push([t,n])},Ds.clipGaps=Ic;var ws=Ds.paths={points:Xc};ws.linear=rs,ws.stepped=function(e){var t=wu(e.align,1),n=wu(e.ascDesc,!1),r=wu(e.alignGaps,0),i=wu(e.extend,!1);return function(e,o,a,u){return Nc(e,o,(function(l,c,s,f,p,d,h,v,m,g,y){var _=l.pxRound,b=e.bbox,D=b.left,w=b.width,A=function(e){return _(d(e,f,g,v))},k=function(e){return _(h(e,p,y,m))},x=0==f.ori?Wc:Zc,E={stroke:new Path2D,fill:null,clip:null,band:null,gaps:null,flags:Pc},C=E.stroke,S=f.dir*(0==f.ori?1:-1);a=hu(s,a,u,1),u=hu(s,a,u,-1);var F=k(s[1==S?a:u]),M=A(c[1==S?a:u]),O=M,T=M;i&&-1==t&&x(C,T=D,F),x(C,M,F);for(var B=1==S?a:u;B>=a&&B<=u;B+=S){var P=s[B];if(null!=P){var N=A(c[B]),L=k(P);1==t?x(C,N,F):x(C,O,L),x(C,N,L),F=L,O=N}}var $=O;i&&1==t&&x(C,$=D+w,F);var R=Lt(Lc(e,o),2),I=R[0],j=R[1];if(null!=l.fill||0!=I){var z=E.fill=new Path2D(C),H=k(l.fillTo(e,o,l.min,l.max,I));x(z,$,H),x(z,T,H)}if(!l.spanGaps){var U,V=[];(U=V).push.apply(U,It(jc(c,s,a,u,S,A,r)));var W=l.width*fa/2,Z=n||1==t?W:-W,Y=n||-1==t?-W:W;V.forEach((function(e){e[0]+=Z,e[1]+=Y})),E.gaps=V=l.gaps(e,o,a,u,V),E.clip=Ic(V,f.ori,v,m,g,y)}return 0!=j&&(E.band=2==j?[Rc(e,o,a,u,C,-1),Rc(e,o,a,u,C,1)]:Rc(e,o,a,u,C,j)),E}))}},ws.bars=function(e){var t=wu((e=e||nl).size,[.6,Iu,1]),n=e.align||0,r=(e.gap||0)*fa,i=e.radius,o=Hu(i=null==i?[0,0]:"number"==typeof i?[i,0]:i),a=1-t[0],u=wu(t[1],Iu)*fa,l=wu(t[2],1)*fa,c=wu(e.disp,nl),s=wu(e.each,(function(e){})),f=c.fill,p=c.stroke;return function(e,t,i,d){return Nc(e,t,(function(h,v,m,g,y,_,b,D,w,A,k){var x,E,C=h.pxRound;if(0==g.ori){var S=Lt(o(e,t),2);x=S[0],E=S[1]}else{var F=Lt(o(e,t),2);E=F[0],x=F[1]}var M,O,T=g.dir*(0==g.ori?1:-1),B=y.dir*(1==y.ori?1:-1),P=0==g.ori?Yc:qc,N=0==g.ori?s:function(e,t,n,r,i,o,a){s(e,t,n,i,r,a,o)},L=Lt(Lc(e,t),2),$=L[0],R=L[1],I=3==y.distr?1==$?y.max:y.min:0,j=b(I,y,k,w),z=C(h.width*fa),H=!1,U=null,V=null,W=null,Z=null;null==f||0!=z&&null==p||(H=!0,U=f.values(e,t,i,d),V=new Map,new Set(U).forEach((function(e){null!=e&&V.set(e,new Path2D)})),z>0&&(W=p.values(e,t,i,d),Z=new Map,new Set(W).forEach((function(e){null!=e&&Z.set(e,new Path2D)}))));var Y=c.x0,q=c.size;if(null!=Y&&null!=q){v=Y.values(e,t,i,d),2==Y.unit&&(v=v.map((function(t){return e.posToVal(D+t*A,g.key,!0)})));var G=q.values(e,t,i,d);O=C((O=2==q.unit?G[0]*A:_(G[0],g,A,D)-_(0,g,A,D))-z),M=1==T?-z/2:O+z/2}else{var Q=A;if(v.length>1)for(var J=null,K=0,X=1/0;K<v.length;K++)if(void 0!==m[K]){if(null!=J){var ee=Su(v[K]-v[J]);ee<X&&(X=ee,Q=Su(_(v[K],g,A,D)-_(v[J],g,A,D)))}J=K}O=C(Tu(u,Bu(l,Q-Q*a))-z-r),M=(0==n?O/2:n==T?0:O)-n*T*r/2}var te,ne={stroke:null,fill:null,clip:null,band:null,gaps:null,flags:2|Pc};0!=R&&(ne.band=new Path2D,te=C(b(1==R?y.max:y.min,y,k,w)));var re=H?null:new Path2D,ie=ne.band,oe=c.y0,ae=c.y1,ue=null;null!=oe&&null!=ae&&(m=ae.values(e,t,i,d),ue=oe.values(e,t,i,d));for(var le=x*O,ce=E*O,se=1==T?i:d;se>=i&&se<=d;se+=T){var fe=m[se];if(void 0!==fe){var pe=_(2!=g.distr||null!=c?v[se]:se,g,A,D),de=b(wu(fe,I),y,k,w);null!=ue&&null!=fe&&(j=b(ue[se],y,k,w));var he=C(pe-M),ve=C(Bu(de,j)),me=C(Tu(de,j)),ge=ve-me;if(null!=fe){var ye=fe<0?ce:le,_e=fe<0?le:ce;H?(z>0&&null!=W[se]&&P(Z.get(W[se]),he,me+Fu(z/2),O,Bu(0,ge-z),ye,_e),null!=U[se]&&P(V.get(U[se]),he,me+Fu(z/2),O,Bu(0,ge-z),ye,_e)):P(re,he,me+Fu(z/2),O,Bu(0,ge-z),ye,_e),N(e,t,se,he-z/2,me,O+z,ge)}0!=R&&(B*R==1?(ve=me,me=te):(me=ve,ve=te),P(ie,he-z/2,me,O+z,Bu(0,ge=ve-me),0,0))}}return z>0&&(ne.stroke=H?Z:re),ne.fill=H?V:re,ne}))}},ws.spline=function(e){return function(e,t){var n=wu(null===t||void 0===t?void 0:t.alignGaps,0);return function(t,r,i,o){return Nc(t,r,(function(a,u,l,c,s,f,p,d,h,v,m){var g,y,_,b=a.pxRound,D=function(e){return b(f(e,c,v,d))},w=function(e){return b(p(e,s,m,h))};0==c.ori?(g=Uc,_=Wc,y=Jc):(g=Vc,_=Zc,y=Kc);var A=c.dir*(0==c.ori?1:-1);i=hu(l,i,o,1),o=hu(l,i,o,-1);for(var k=D(u[1==A?i:o]),x=k,E=[],C=[],S=1==A?i:o;S>=i&&S<=o;S+=A)if(null!=l[S]){var F=D(u[S]);E.push(x=F),C.push(w(l[S]))}var M={stroke:e(E,C,g,_,y,b),fill:null,clip:null,band:null,gaps:null,flags:Pc},O=M.stroke,T=Lt(Lc(t,r),2),B=T[0],P=T[1];if(null!=a.fill||0!=B){var N=M.fill=new Path2D(O),L=w(a.fillTo(t,r,a.min,a.max,B));_(N,x,L),_(N,k,L)}if(!a.spanGaps){var $,R=[];($=R).push.apply($,It(jc(u,l,i,o,A,D,n))),M.gaps=R=a.gaps(t,r,i,o,R),M.clip=Ic(R,c.ori,d,h,v,m)}return 0!=P&&(M.band=2==P?[Rc(t,r,i,o,O,-1),Rc(t,r,i,o,O,1)]:Rc(t,r,i,o,O,P)),M}))}}(is,e)};!function(e,t,n){for(var r=[],i=0;i<n;i++){var o=i/(n-1),a=e[0]+(t[0]-e[0])*o,u=e[1]+(t[1]-e[1])*o,l=e[2]+(t[2]-e[2])*o;r.push([a,u,l].map((function(e){return Math.round(e)})).join(", "))}r.map((function(e){return"rgb(".concat(e,")")}))}([246,226,219],[127,39,4],16);var As=function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")};function ks(e,t){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.add(e)}function xs(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}function Es(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}var Cs={async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};function Ss(e){Cs=e}var Fs=/[&<>"']/,Ms=new RegExp(Fs.source,"g"),Os=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Ts=new RegExp(Os.source,"g"),Bs={"&":"&","<":"<",">":">",'"':""","'":"'"},Ps=function(e){return Bs[e]};function Ns(e,t){if(t){if(Fs.test(e))return e.replace(Ms,Ps)}else if(Os.test(e))return e.replace(Ts,Ps);return e}var Ls=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function $s(e){return e.replace(Ls,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var Rs=/(^|[^\[])\^/g;function Is(e,t){e="string"===typeof e?e:e.source,t=t||"";var n={replace:function(t,r){return r=(r=r.source||r).replace(Rs,"$1"),e=e.replace(t,r),n},getRegex:function(){return new RegExp(e,t)}};return n}var js=/[^\w:]/g,zs=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Hs(e,t,n){if(e){var r;try{r=decodeURIComponent($s(n)).replace(js,"").toLowerCase()}catch(c){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!zs.test(n)&&(n=function(e,t){Us[" "+e]||(Vs.test(e)?Us[" "+e]=e+"/":Us[" "+e]=Gs(e,"/",!0));e=Us[" "+e];var n=-1===e.indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(Ws,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(Zs,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(c){return null}return n}var Us={},Vs=/^[^:]+:\/*[^/]*$/,Ws=/^([^:]+:)[\s\S]*$/,Zs=/^([^:]+:\/*[^/]*)[\s\S]*$/;var Ys={exec:function(){}};function qs(e,t){var n=e.replace(/\|/g,(function(e,t,n){for(var r=!1,i=t;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"})).split(/ \|/),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function Gs(e,t,n){var r=e.length;if(0===r)return"";for(var i=0;i<r;){var o=e.charAt(r-i-1);if(o!==t||n){if(o===t||!n)break;i++}else i++}return e.slice(0,r-i)}function Qs(e,t,n,r){var i=t.href,o=t.title?Ns(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;var u={type:"link",raw:n,href:i,title:o,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,u}return{type:"image",raw:n,href:i,title:o,text:Ns(a)}}var Js=function(){function e(t){jt(this,e),this.options=t||Cs}return Vt(e,[{key:"space",value:function(e){var t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}},{key:"code",value:function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Gs(n,"\n")}}}},{key:"fences",value:function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:Lt(t,1)[0].length>=r.length?e.slice(r.length):e})).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:r}}}},{key:"heading",value:function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(/#$/.test(n)){var r=Gs(n,"#");this.options.pedantic?n=r.trim():r&&!/ $/.test(r)||(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}},{key:"hr",value:function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}},{key:"blockquote",value:function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=t[0].replace(/^ *>[ \t]?/gm,""),r=this.lexer.state.top;this.lexer.state.top=!0;var i=this.lexer.blockTokens(n);return this.lexer.state.top=r,{type:"blockquote",raw:t[0],tokens:i,text:n}}}},{key:"list",value:function(e){var t=this.rules.block.list.exec(e);if(t){var n,r,i,o,a,u,l,c,s,f,p,d,h=t[1].trim(),v=h.length>1,m={type:"list",raw:"",ordered:v,start:v?+h.slice(0,-1):"",loose:!1,items:[]};h=v?"\\d{1,9}\\".concat(h.slice(-1)):"\\".concat(h),this.options.pedantic&&(h=v?h:"[*+-]");for(var g=new RegExp("^( {0,3}".concat(h,")((?:[\t ][^\\n]*)?(?:\\n|$))"));e&&(d=!1,t=g.exec(e))&&!this.rules.block.hr.test(e);){if(n=t[0],e=e.substring(n.length),c=t[2].split("\n",1)[0].replace(/^\t+/,(function(e){return" ".repeat(3*e.length)})),s=e.split("\n",1)[0],this.options.pedantic?(o=2,p=c.trimLeft()):(o=(o=t[2].search(/[^ ]/))>4?1:o,p=c.slice(o),o+=t[1].length),u=!1,!c&&/^ *$/.test(s)&&(n+=s+"\n",e=e.substring(s.length+1),d=!0),!d)for(var y=new RegExp("^ {0,".concat(Math.min(3,o-1),"}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))")),_=new RegExp("^ {0,".concat(Math.min(3,o-1),"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)")),b=new RegExp("^ {0,".concat(Math.min(3,o-1),"}(?:```|~~~)")),D=new RegExp("^ {0,".concat(Math.min(3,o-1),"}#"));e&&(s=f=e.split("\n",1)[0],this.options.pedantic&&(s=s.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!b.test(s))&&!D.test(s)&&!y.test(s)&&!_.test(e);){if(s.search(/[^ ]/)>=o||!s.trim())p+="\n"+s.slice(o);else{if(u)break;if(c.search(/[^ ]/)>=4)break;if(b.test(c))break;if(D.test(c))break;if(_.test(c))break;p+="\n"+s}u||s.trim()||(u=!0),n+=f+"\n",e=e.substring(f.length+1),c=s.slice(o)}m.loose||(l?m.loose=!0:/\n *\n *$/.test(n)&&(l=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(p))&&(i="[ ] "!==r[0],p=p.replace(/^\[[ xX]\] +/,"")),m.items.push({type:"list_item",raw:n,task:!!r,checked:i,loose:!1,text:p}),m.raw+=n}m.items[m.items.length-1].raw=n.trimRight(),m.items[m.items.length-1].text=p.trimRight(),m.raw=m.raw.trimRight();var w=m.items.length;for(a=0;a<w;a++)if(this.lexer.state.top=!1,m.items[a].tokens=this.lexer.blockTokens(m.items[a].text,[]),!m.loose){var A=m.items[a].tokens.filter((function(e){return"space"===e.type})),k=A.length>0&&A.some((function(e){return/\n.*\n/.test(e.raw)}));m.loose=k}if(m.loose)for(a=0;a<w;a++)m.items[a].loose=!0;return m}}},{key:"html",value:function(e){var t=this.rules.block.html.exec(e);if(t){var n={type:"html",block:!0,raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};if(this.options.sanitize){var r=this.options.sanitizer?this.options.sanitizer(t[0]):Ns(t[0]);n.type="paragraph",n.text=r,n.tokens=this.lexer.inline(r)}return n}}},{key:"def",value:function(e){var t=this.rules.block.def.exec(e);if(t){var n=t[1].toLowerCase().replace(/\s+/g," "),r=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",i=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:r,title:i}}}},{key:"table",value:function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:qs(t[1]).map((function(e){return{text:e}})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var r,i,o,a,u=n.align.length;for(r=0;r<u;r++)/^ *-+: *$/.test(n.align[r])?n.align[r]="right":/^ *:-+: *$/.test(n.align[r])?n.align[r]="center":/^ *:-+ *$/.test(n.align[r])?n.align[r]="left":n.align[r]=null;for(u=n.rows.length,r=0;r<u;r++)n.rows[r]=qs(n.rows[r],n.header.length).map((function(e){return{text:e}}));for(u=n.header.length,i=0;i<u;i++)n.header[i].tokens=this.lexer.inline(n.header[i].text);for(u=n.rows.length,i=0;i<u;i++)for(a=n.rows[i],o=0;o<a.length;o++)a[o].tokens=this.lexer.inline(a[o].text);return n}}}},{key:"lheading",value:function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}},{key:"paragraph",value:function(e){var t=this.rules.block.paragraph.exec(e);if(t){var n="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}},{key:"text",value:function(e){var t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}},{key:"escape",value:function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:Ns(t[1])}}},{key:"tag",value:function(e){var t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):Ns(t[0]):t[0]}}},{key:"link",value:function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;var r=Gs(n.slice(0,-1),"\\");if((n.length-r.length)%2===0)return}else{var i=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,r=0,i=0;i<n;i++)if("\\"===e[i])i++;else if(e[i]===t[0])r++;else if(e[i]===t[1]&&--r<0)return i;return-1}(t[2],"()");if(i>-1){var o=(0===t[0].indexOf("!")?5:4)+t[1].length+i;t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,o).trim(),t[3]=""}}var a=t[2],u="";if(this.options.pedantic){var l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);l&&(a=l[1],u=l[3])}else u=t[3]?t[3].slice(1,-1):"";return a=a.trim(),/^</.test(a)&&(a=this.options.pedantic&&!/>$/.test(n)?a.slice(1):a.slice(1,-1)),Qs(t,{href:a?a.replace(this.rules.inline._escapes,"$1"):a,title:u?u.replace(this.rules.inline._escapes,"$1"):u},t[0],this.lexer)}}},{key:"reflink",value:function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(!(r=t[r.toLowerCase()])){var i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return Qs(n,r,n[0],this.lexer)}}},{key:"emStrong",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.emStrong.lDelim.exec(e);if(r&&((!r[3]||!n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDF50-\uDF59\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEC0-\uDED3\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDCD0-\uDCEB\uDCF0-\uDCF9\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])/))&&(!(r[1]||r[2]||"")||!n||this.rules.inline.punctuation.exec(n)))){var i,o,a=r[0].length-1,u=a,l=0,c="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+a);null!=(r=c.exec(t));)if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6])if(o=i.length,r[3]||r[4])u+=o;else if(!((r[5]||r[6])&&a%3)||(a+o)%3){if(!((u-=o)>0)){o=Math.min(o,o+u+l);var s=e.slice(0,a+r.index+o+1);if(Math.min(a,o)%2){var f=s.slice(1,-1);return{type:"em",raw:s,text:f,tokens:this.lexer.inlineTokens(f)}}var p=s.slice(2,-2);return{type:"strong",raw:s,text:p,tokens:this.lexer.inlineTokens(p)}}}else l+=o}}},{key:"codespan",value:function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),r=/[^ ]/.test(n),i=/^ /.test(n)&&/ $/.test(n);return r&&i&&(n=n.substring(1,n.length-1)),n=Ns(n,!0),{type:"codespan",raw:t[0],text:n}}}},{key:"br",value:function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}},{key:"del",value:function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}},{key:"autolink",value:function(e,t){var n,r,i=this.rules.inline.autolink.exec(e);if(i)return r="@"===i[2]?"mailto:"+(n=Ns(this.options.mangle?t(i[1]):i[1])):n=Ns(i[1]),{type:"link",raw:i[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}},{key:"url",value:function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var r,i;if("@"===n[2])i="mailto:"+(r=Ns(this.options.mangle?t(n[0]):n[0]));else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);r=Ns(n[0]),i="www."===n[1]?"http://"+n[0]:n[0]}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}},{key:"inlineText",value:function(e,t){var n,r=this.rules.inline.text.exec(e);if(r)return n=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):Ns(r[0]):r[0]:Ns(this.options.smartypants?t(r[0]):r[0]),{type:"text",raw:r[0],text:n}}}]),e}(),Ks={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:Ys,lheading:/^((?:(?!^bull ).|\n(?!\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};Ks.def=Is(Ks.def).replace("label",Ks._label).replace("title",Ks._title).getRegex(),Ks.bullet=/(?:[*+-]|\d{1,9}[.)])/,Ks.listItemStart=Is(/^( *)(bull) */).replace("bull",Ks.bullet).getRegex(),Ks.list=Is(Ks.list).replace(/bull/g,Ks.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Ks.def.source+")").getRegex(),Ks._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Ks._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,Ks.html=Is(Ks.html,"i").replace("comment",Ks._comment).replace("tag",Ks._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ks.lheading=Is(Ks.lheading).replace(/bull/g,Ks.bullet).getRegex(),Ks.paragraph=Is(Ks._paragraph).replace("hr",Ks.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ks._tag).getRegex(),Ks.blockquote=Is(Ks.blockquote).replace("paragraph",Ks.paragraph).getRegex(),Ks.normal=Cr({},Ks),Ks.gfm=Cr(Cr({},Ks.normal),{},{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),Ks.gfm.table=Is(Ks.gfm.table).replace("hr",Ks.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ks._tag).getRegex(),Ks.gfm.paragraph=Is(Ks._paragraph).replace("hr",Ks.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",Ks.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ks._tag).getRegex(),Ks.pedantic=Cr(Cr({},Ks.normal),{},{html:Is("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",Ks._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ys,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Is(Ks.normal._paragraph).replace("hr",Ks.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",Ks.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Xs={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Ys,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Ys,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^((?![*_])[\spunctuation])/};function ef(e){return e.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026")}function tf(e){var t,n,r="",i=e.length;for(t=0;t<i;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}Xs._punctuation="\\p{P}$+<=>`^|~",Xs.punctuation=Is(Xs.punctuation,"u").replace(/punctuation/g,Xs._punctuation).getRegex(),Xs.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,Xs.anyPunctuation=/\\[punct]/g,Xs._escapes=/\\([punct])/g,Xs._comment=Is(Ks._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),Xs.emStrong.lDelim=Is(Xs.emStrong.lDelim,"u").replace(/punct/g,Xs._punctuation).getRegex(),Xs.emStrong.rDelimAst=Is(Xs.emStrong.rDelimAst,"gu").replace(/punct/g,Xs._punctuation).getRegex(),Xs.emStrong.rDelimUnd=Is(Xs.emStrong.rDelimUnd,"gu").replace(/punct/g,Xs._punctuation).getRegex(),Xs.anyPunctuation=Is(Xs.anyPunctuation,"gu").replace(/punct/g,Xs._punctuation).getRegex(),Xs._escapes=Is(Xs._escapes,"gu").replace(/punct/g,Xs._punctuation).getRegex(),Xs._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Xs._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,Xs.autolink=Is(Xs.autolink).replace("scheme",Xs._scheme).replace("email",Xs._email).getRegex(),Xs._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Xs.tag=Is(Xs.tag).replace("comment",Xs._comment).replace("attribute",Xs._attribute).getRegex(),Xs._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Xs._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Xs._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Xs.link=Is(Xs.link).replace("label",Xs._label).replace("href",Xs._href).replace("title",Xs._title).getRegex(),Xs.reflink=Is(Xs.reflink).replace("label",Xs._label).replace("ref",Ks._label).getRegex(),Xs.nolink=Is(Xs.nolink).replace("ref",Ks._label).getRegex(),Xs.reflinkSearch=Is(Xs.reflinkSearch,"g").replace("reflink",Xs.reflink).replace("nolink",Xs.nolink).getRegex(),Xs.normal=Cr({},Xs),Xs.pedantic=Cr(Cr({},Xs.normal),{},{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Is(/^!?\[(label)\]\((.*?)\)/).replace("label",Xs._label).getRegex(),reflink:Is(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Xs._label).getRegex()}),Xs.gfm=Cr(Cr({},Xs.normal),{},{escape:Is(Xs.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),Xs.gfm.url=Is(Xs.gfm.url,"i").replace("email",Xs.gfm._extended_email).getRegex(),Xs.breaks=Cr(Cr({},Xs.gfm),{},{br:Is(Xs.br).replace("{2,}","*").getRegex(),text:Is(Xs.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var nf=function(){function e(t){jt(this,e),this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Cs,this.options.tokenizer=this.options.tokenizer||new Js,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var n={block:Ks.normal,inline:Xs.normal};this.options.pedantic?(n.block=Ks.pedantic,n.inline=Xs.pedantic):this.options.gfm&&(n.block=Ks.gfm,this.options.breaks?n.inline=Xs.breaks:n.inline=Xs.gfm),this.tokenizer.rules=n}return Vt(e,[{key:"lex",value:function(e){var t;for(e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}},{key:"blockTokens",value:function(e){var t,n,r,i,o=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];e=this.options.pedantic?e.replace(/\t/g," ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,(function(e,t,n){return t+" ".repeat(n.length)}));for(var u=function(){if(o.options.extensions&&o.options.extensions.block&&o.options.extensions.block.some((function(n){return!!(t=n.call({lexer:o},e,a))&&(e=e.substring(t.raw.length),a.push(t),!0)})))return"continue";if(t=o.tokenizer.space(e))return e=e.substring(t.raw.length),1===t.raw.length&&a.length>0?a[a.length-1].raw+="\n":a.push(t),"continue";if(t=o.tokenizer.code(e))return e=e.substring(t.raw.length),!(n=a[a.length-1])||"paragraph"!==n.type&&"text"!==n.type?a.push(t):(n.raw+="\n"+t.raw,n.text+="\n"+t.text,o.inlineQueue[o.inlineQueue.length-1].src=n.text),"continue";if(t=o.tokenizer.fences(e))return e=e.substring(t.raw.length),a.push(t),"continue";if(t=o.tokenizer.heading(e))return e=e.substring(t.raw.length),a.push(t),"continue";if(t=o.tokenizer.hr(e))return e=e.substring(t.raw.length),a.push(t),"continue";if(t=o.tokenizer.blockquote(e))return e=e.substring(t.raw.length),a.push(t),"continue";if(t=o.tokenizer.list(e))return e=e.substring(t.raw.length),a.push(t),"continue";if(t=o.tokenizer.html(e))return e=e.substring(t.raw.length),a.push(t),"continue";if(t=o.tokenizer.def(e))return e=e.substring(t.raw.length),!(n=a[a.length-1])||"paragraph"!==n.type&&"text"!==n.type?o.tokens.links[t.tag]||(o.tokens.links[t.tag]={href:t.href,title:t.title}):(n.raw+="\n"+t.raw,n.text+="\n"+t.raw,o.inlineQueue[o.inlineQueue.length-1].src=n.text),"continue";if(t=o.tokenizer.table(e))return e=e.substring(t.raw.length),a.push(t),"continue";if(t=o.tokenizer.lheading(e))return e=e.substring(t.raw.length),a.push(t),"continue";if(r=e,o.options.extensions&&o.options.extensions.startBlock){var u,l=1/0,c=e.slice(1);o.options.extensions.startBlock.forEach((function(e){"number"===typeof(u=e.call({lexer:this},c))&&u>=0&&(l=Math.min(l,u))})),l<1/0&&l>=0&&(r=e.substring(0,l+1))}if(o.state.top&&(t=o.tokenizer.paragraph(r)))return n=a[a.length-1],i&&"paragraph"===n.type?(n.raw+="\n"+t.raw,n.text+="\n"+t.text,o.inlineQueue.pop(),o.inlineQueue[o.inlineQueue.length-1].src=n.text):a.push(t),i=r.length!==e.length,e=e.substring(t.raw.length),"continue";if(t=o.tokenizer.text(e))return e=e.substring(t.raw.length),(n=a[a.length-1])&&"text"===n.type?(n.raw+="\n"+t.raw,n.text+="\n"+t.text,o.inlineQueue.pop(),o.inlineQueue[o.inlineQueue.length-1].src=n.text):a.push(t),"continue";if(e){var s="Infinite loop on byte: "+e.charCodeAt(0);if(o.options.silent)return console.error(s),"break";throw new Error(s)}};e;){var l=u();if("continue"!==l&&"break"===l)break}return this.state.top=!0,a}},{key:"inline",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:e,tokens:t}),t}},{key:"inlineTokens",value:function(e){var t,n,r,i,o,a,u=this,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],c=e;if(this.tokens.links){var s=Object.keys(this.tokens.links);if(s.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(c));)s.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(c));)c=c.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.anyPunctuation.exec(c));)c=c.slice(0,i.index)+"++"+c.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(var f=function(){if(o||(a=""),o=!1,u.options.extensions&&u.options.extensions.inline&&u.options.extensions.inline.some((function(n){return!!(t=n.call({lexer:u},e,l))&&(e=e.substring(t.raw.length),l.push(t),!0)})))return"continue";if(t=u.tokenizer.escape(e))return e=e.substring(t.raw.length),l.push(t),"continue";if(t=u.tokenizer.tag(e))return e=e.substring(t.raw.length),(n=l[l.length-1])&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):l.push(t),"continue";if(t=u.tokenizer.link(e))return e=e.substring(t.raw.length),l.push(t),"continue";if(t=u.tokenizer.reflink(e,u.tokens.links))return e=e.substring(t.raw.length),(n=l[l.length-1])&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):l.push(t),"continue";if(t=u.tokenizer.emStrong(e,c,a))return e=e.substring(t.raw.length),l.push(t),"continue";if(t=u.tokenizer.codespan(e))return e=e.substring(t.raw.length),l.push(t),"continue";if(t=u.tokenizer.br(e))return e=e.substring(t.raw.length),l.push(t),"continue";if(t=u.tokenizer.del(e))return e=e.substring(t.raw.length),l.push(t),"continue";if(t=u.tokenizer.autolink(e,tf))return e=e.substring(t.raw.length),l.push(t),"continue";if(!u.state.inLink&&(t=u.tokenizer.url(e,tf)))return e=e.substring(t.raw.length),l.push(t),"continue";if(r=e,u.options.extensions&&u.options.extensions.startInline){var i,s=1/0,f=e.slice(1);u.options.extensions.startInline.forEach((function(e){"number"===typeof(i=e.call({lexer:this},f))&&i>=0&&(s=Math.min(s,i))})),s<1/0&&s>=0&&(r=e.substring(0,s+1))}if(t=u.tokenizer.inlineText(r,ef))return e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(a=t.raw.slice(-1)),o=!0,(n=l[l.length-1])&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):l.push(t),"continue";if(e){var p="Infinite loop on byte: "+e.charCodeAt(0);if(u.options.silent)return console.error(p),"break";throw new Error(p)}};e;){var p=f();if("continue"!==p&&"break"===p)break}return l}}],[{key:"rules",get:function(){return{block:Ks,inline:Xs}}},{key:"lex",value:function(t,n){return new e(n).lex(t)}},{key:"lexInline",value:function(t,n){return new e(n).inlineTokens(t)}}]),e}(),rf=function(){function e(t){jt(this,e),this.options=t||Cs}return Vt(e,[{key:"code",value:function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return e=e.replace(/\n$/,"")+"\n",r?'<pre><code class="'+this.options.langPrefix+Ns(r)+'">'+(n?e:Ns(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:Ns(e,!0))+"</code></pre>\n"}},{key:"blockquote",value:function(e){return"<blockquote>\n".concat(e,"</blockquote>\n")}},{key:"html",value:function(e,t){return e}},{key:"heading",value:function(e,t,n,r){if(this.options.headerIds){var i=this.options.headerPrefix+r.slug(n);return"<h".concat(t,' id="').concat(i,'">').concat(e,"</h").concat(t,">\n")}return"<h".concat(t,">").concat(e,"</h").concat(t,">\n")}},{key:"hr",value:function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}},{key:"list",value:function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}},{key:"listitem",value:function(e){return"<li>".concat(e,"</li>\n")}},{key:"checkbox",value:function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}},{key:"paragraph",value:function(e){return"<p>".concat(e,"</p>\n")}},{key:"table",value:function(e,t){return t&&(t="<tbody>".concat(t,"</tbody>")),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}},{key:"tablerow",value:function(e){return"<tr>\n".concat(e,"</tr>\n")}},{key:"tablecell",value:function(e,t){var n=t.header?"th":"td";return(t.align?"<".concat(n,' align="').concat(t.align,'">'):"<".concat(n,">"))+e+"</".concat(n,">\n")}},{key:"strong",value:function(e){return"<strong>".concat(e,"</strong>")}},{key:"em",value:function(e){return"<em>".concat(e,"</em>")}},{key:"codespan",value:function(e){return"<code>".concat(e,"</code>")}},{key:"br",value:function(){return this.options.xhtml?"<br/>":"<br>"}},{key:"del",value:function(e){return"<del>".concat(e,"</del>")}},{key:"link",value:function(e,t,n){if(null===(e=Hs(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<a href="'+e+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>"}},{key:"image",value:function(e,t,n){if(null===(e=Hs(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<img src="'.concat(e,'" alt="').concat(n,'"');return t&&(r+=' title="'.concat(t,'"')),r+=this.options.xhtml?"/>":">"}},{key:"text",value:function(e){return e}}]),e}(),of=function(){function e(){jt(this,e)}return Vt(e,[{key:"strong",value:function(e){return e}},{key:"em",value:function(e){return e}},{key:"codespan",value:function(e){return e}},{key:"del",value:function(e){return e}},{key:"html",value:function(e){return e}},{key:"text",value:function(e){return e}},{key:"link",value:function(e,t,n){return""+n}},{key:"image",value:function(e,t,n){return""+n}},{key:"br",value:function(){return""}}]),e}(),af=function(){function e(){jt(this,e),this.seen={}}return Vt(e,[{key:"serialize",value:function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}},{key:"getNextSafeSlug",value:function(e,t){var n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{n=e+"-"+ ++r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n}},{key:"slug",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}]),e}(),uf=function(){function e(t){jt(this,e),this.options=t||Cs,this.options.renderer=this.options.renderer||new rf,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new of,this.slugger=new af}return Vt(e,[{key:"parse",value:function(e){var t,n,r,i,o,a,u,l,c,s,f,p,d,h,v,m,g,y,_,b=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],D="",w=e.length;for(t=0;t<w;t++)if(s=e[t],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type])||!1===(_=this.options.extensions.renderers[s.type].call({parser:this},s))&&["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(s.type))switch(s.type){case"space":continue;case"hr":D+=this.renderer.hr();continue;case"heading":D+=this.renderer.heading(this.parseInline(s.tokens),s.depth,$s(this.parseInline(s.tokens,this.textRenderer)),this.slugger);continue;case"code":D+=this.renderer.code(s.text,s.lang,s.escaped);continue;case"table":for(l="",u="",i=s.header.length,n=0;n<i;n++)u+=this.renderer.tablecell(this.parseInline(s.header[n].tokens),{header:!0,align:s.align[n]});for(l+=this.renderer.tablerow(u),c="",i=s.rows.length,n=0;n<i;n++){for(u="",o=(a=s.rows[n]).length,r=0;r<o;r++)u+=this.renderer.tablecell(this.parseInline(a[r].tokens),{header:!1,align:s.align[r]});c+=this.renderer.tablerow(u)}D+=this.renderer.table(l,c);continue;case"blockquote":c=this.parse(s.tokens),D+=this.renderer.blockquote(c);continue;case"list":for(f=s.ordered,p=s.start,d=s.loose,i=s.items.length,c="",n=0;n<i;n++)m=(v=s.items[n]).checked,g=v.task,h="",v.task&&(y=this.renderer.checkbox(m),d?v.tokens.length>0&&"paragraph"===v.tokens[0].type?(v.tokens[0].text=y+" "+v.tokens[0].text,v.tokens[0].tokens&&v.tokens[0].tokens.length>0&&"text"===v.tokens[0].tokens[0].type&&(v.tokens[0].tokens[0].text=y+" "+v.tokens[0].tokens[0].text)):v.tokens.unshift({type:"text",text:y}):h+=y),h+=this.parse(v.tokens,d),c+=this.renderer.listitem(h,g,m);D+=this.renderer.list(c,f,p);continue;case"html":D+=this.renderer.html(s.text,s.block);continue;case"paragraph":D+=this.renderer.paragraph(this.parseInline(s.tokens));continue;case"text":for(c=s.tokens?this.parseInline(s.tokens):s.text;t+1<w&&"text"===e[t+1].type;)c+="\n"+((s=e[++t]).tokens?this.parseInline(s.tokens):s.text);D+=b?this.renderer.paragraph(c):c;continue;default:var A='Token with "'+s.type+'" type was not found.';if(this.options.silent)return void console.error(A);throw new Error(A)}else D+=_||"";return D}},{key:"parseInline",value:function(e,t){t=t||this.renderer;var n,r,i,o="",a=e.length;for(n=0;n<a;n++)if(r=e[n],!(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[r.type])||!1===(i=this.options.extensions.renderers[r.type].call({parser:this},r))&&["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type))switch(r.type){case"escape":case"text":o+=t.text(r.text);break;case"html":o+=t.html(r.text);break;case"link":o+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":o+=t.image(r.href,r.title,r.text);break;case"strong":o+=t.strong(this.parseInline(r.tokens,t));break;case"em":o+=t.em(this.parseInline(r.tokens,t));break;case"codespan":o+=t.codespan(r.text);break;case"br":o+=t.br();break;case"del":o+=t.del(this.parseInline(r.tokens,t));break;default:var u='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(u);throw new Error(u)}else o+=i||"";return o}}],[{key:"parse",value:function(t,n){return new e(n).parse(t)}},{key:"parseInline",value:function(t,n){return new e(n).parseInline(t)}}]),e}(),lf=function(){function e(t){jt(this,e),this.options=t||Cs}return Vt(e,[{key:"preprocess",value:function(e){return e}},{key:"postprocess",value:function(e){return e}}]),e}();xr(lf,"passThroughHooks",new Set(["preprocess","postprocess"]));var cf=new WeakSet,sf=new WeakSet,ff=function(){function e(){jt(this,e),ks(this,sf),ks(this,cf),xr(this,"defaults",{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}),xr(this,"options",this.setOptions),xr(this,"parse",xs(this,cf,pf).call(this,nf.lex,uf.parse)),xr(this,"parseInline",xs(this,cf,pf).call(this,nf.lexInline,uf.parseInline)),xr(this,"Parser",uf),xr(this,"parser",uf.parse),xr(this,"Renderer",rf),xr(this,"TextRenderer",of),xr(this,"Lexer",nf),xr(this,"lexer",nf.lex),xr(this,"Tokenizer",Js),xr(this,"Slugger",af),xr(this,"Hooks",lf),this.use.apply(this,arguments)}return Vt(e,[{key:"walkTokens",value:function(e,t){var n,r=this,i=[],o=$t(e);try{var a=function(){var e=n.value;switch(i=i.concat(t.call(r,e)),e.type){case"table":var o,a=$t(e.header);try{for(a.s();!(o=a.n()).done;){var u=o.value;i=i.concat(r.walkTokens(u.tokens,t))}}catch(d){a.e(d)}finally{a.f()}var l,c=$t(e.rows);try{for(c.s();!(l=c.n()).done;){var s,f=$t(l.value);try{for(f.s();!(s=f.n()).done;){var p=s.value;i=i.concat(r.walkTokens(p.tokens,t))}}catch(d){f.e(d)}finally{f.f()}}}catch(d){c.e(d)}finally{c.f()}break;case"list":i=i.concat(r.walkTokens(e.items,t));break;default:r.defaults.extensions&&r.defaults.extensions.childTokens&&r.defaults.extensions.childTokens[e.type]?r.defaults.extensions.childTokens[e.type].forEach((function(n){i=i.concat(r.walkTokens(e[n],t))})):e.tokens&&(i=i.concat(r.walkTokens(e.tokens,t)))}};for(o.s();!(n=o.n()).done;)a()}catch(u){o.e(u)}finally{o.f()}return i}},{key:"use",value:function(){for(var e=this,t=this.defaults.extensions||{renderers:{},childTokens:{}},n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return r.forEach((function(n){var r=Cr({},n);if(r.async=e.defaults.async||r.async||!1,n.extensions&&(n.extensions.forEach((function(e){if(!e.name)throw new Error("extension name required");if(e.renderer){var n=t.renderers[e.name];t.renderers[e.name]=n?function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];var o=e.renderer.apply(this,r);return!1===o&&(o=n.apply(this,r)),o}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");t[e.level]?t[e.level].unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),r.extensions=t),n.renderer){var i=e.defaults.renderer||new rf(e.defaults),o=function(e){var t=i[e];i[e]=function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];var u=n.renderer[e].apply(i,o);return!1===u&&(u=t.apply(i,o)),u}};for(var a in n.renderer)o(a);r.renderer=i}if(n.tokenizer){var u=e.defaults.tokenizer||new Js(e.defaults),l=function(e){var t=u[e];u[e]=function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=n.tokenizer[e].apply(u,i);return!1===a&&(a=t.apply(u,i)),a}};for(var c in n.tokenizer)l(c);r.tokenizer=u}if(n.hooks){var s=e.defaults.hooks||new lf,f=function(t){var r=s[t];lf.passThroughHooks.has(t)?s[t]=function(i){if(e.defaults.async)return Promise.resolve(n.hooks[t].call(s,i)).then((function(e){return r.call(s,e)}));var o=n.hooks[t].call(s,i);return r.call(s,o)}:s[t]=function(){for(var e=arguments.length,i=new Array(e),o=0;o<e;o++)i[o]=arguments[o];var a=n.hooks[t].apply(s,i);return!1===a&&(a=r.apply(s,i)),a}};for(var p in n.hooks)f(p);r.hooks=s}if(n.walkTokens){var d=e.defaults.walkTokens;r.walkTokens=function(e){var t=[];return t.push(n.walkTokens.call(this,e)),d&&(t=t.concat(d.call(this,e))),t}}e.defaults=Cr(Cr({},e.defaults),r)})),this}},{key:"setOptions",value:function(e){return this.defaults=Cr(Cr({},this.defaults),e),this}}]),e}();function pf(e,t){var n=this;return function(r,i,o){"function"===typeof i&&(o=i,i=null);var a=Cr({},i);i=Cr(Cr({},n.defaults),a);var u=xs(n,sf,df).call(n,i.silent,i.async,o);if("undefined"===typeof r||null===r)return u(new Error("marked(): input parameter is undefined or null"));if("string"!==typeof r)return u(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(function(e,t){e&&!e.silent&&(t&&console.warn("marked(): callback is deprecated since version 5.0.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/using_pro#async"),(e.sanitize||e.sanitizer)&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options"),(e.highlight||"language-"!==e.langPrefix)&&console.warn("marked(): highlight and langPrefix parameters are deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-highlight."),e.mangle&&console.warn("marked(): mangle parameter is enabled by default, but is deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-mangle, or disable by setting `{mangle: false}`."),e.baseUrl&&console.warn("marked(): baseUrl parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-base-url."),e.smartypants&&console.warn("marked(): smartypants parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-smartypants."),e.xhtml&&console.warn("marked(): xhtml parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-xhtml."),(e.headerIds||e.headerPrefix)&&console.warn("marked(): headerIds and headerPrefix parameters enabled by default, but are deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-gfm-heading-id, or disable by setting `{headerIds: false}`."))}(i,o),i.hooks&&(i.hooks.options=i),o){var l,s=i.highlight;try{i.hooks&&(r=i.hooks.preprocess(r)),l=e(r,i)}catch(c){return u(c)}var f=function(e){var r;if(!e)try{i.walkTokens&&n.walkTokens(l,i.walkTokens),r=t(l,i),i.hooks&&(r=i.hooks.postprocess(r))}catch(c){e=c}return i.highlight=s,e?u(e):o(null,r)};if(!s||s.length<3)return f();if(delete i.highlight,!l.length)return f();var p=0;return n.walkTokens(l,(function(e){"code"===e.type&&(p++,setTimeout((function(){s(e.text,e.lang,(function(t,n){if(t)return f(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),0===--p&&f()}))}),0))})),void(0===p&&f())}if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(r):r).then((function(t){return e(t,i)})).then((function(e){return i.walkTokens?Promise.all(n.walkTokens(e,i.walkTokens)).then((function(){return e})):e})).then((function(e){return t(e,i)})).then((function(e){return i.hooks?i.hooks.postprocess(e):e})).catch(u);try{i.hooks&&(r=i.hooks.preprocess(r));var d=e(r,i);i.walkTokens&&n.walkTokens(d,i.walkTokens);var h=t(d,i);return i.hooks&&(h=i.hooks.postprocess(h)),h}catch(c){return u(c)}}}function df(e,t,n){return function(r){if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",e){var i="<p>An error occurred:</p><pre>"+Ns(r.message+"",!0)+"</pre>";return t?Promise.resolve(i):n?void n(null,i):i}if(t)return Promise.reject(r);if(!n)throw r;n(r)}}var hf=new ff(Cs);function vf(e,t,n){return hf.parse(e,t,n)}vf.options=vf.setOptions=function(e){return hf.setOptions(e),vf.defaults=hf.defaults,Ss(vf.defaults),vf},vf.getDefaults=Es,vf.defaults=Cs,vf.use=function(){return hf.use.apply(hf,arguments),vf.defaults=hf.defaults,Ss(vf.defaults),vf},vf.walkTokens=function(e,t){return hf.walkTokens(e,t)},vf.parseInline=hf.parseInline,vf.Parser=uf,vf.parser=uf.parse,vf.Renderer=rf,vf.TextRenderer=of,vf.Lexer=nf,vf.lexer=nf.lex,vf.Tokenizer=Js,vf.Slugger=af,vf.Hooks=lf,vf.parse=vf;vf.options,vf.setOptions,vf.use,vf.walkTokens,vf.parseInline,uf.parse,nf.lex;var mf=n.p+"static/media/MetricsQL.957b90ab4cb4852eec26.md",gf=function(e){var t='$1 target="_blank" class="'.concat("vm-link vm-link_colored",'" $2').concat("https://docs.victoriametrics.com/MetricsQL.html","#");return e.replace(/(<a) (href=")#/gm,t)},yf=function(e){var t="";return Array.from(e).map((function(e){var n,r="h3"===e.tagName.toLowerCase();return t=r?null!==(n=e.textContent)&&void 0!==n?n:"":t,r?null:function(e,t){var n,r=null!==(n=t.textContent)&&void 0!==n?n:"",i=function(e){for(var t=[],n=e.nextElementSibling;n&&"p"===n.tagName.toLowerCase();)n&&t.push(n),n=n.nextElementSibling;return t}(t).map((function(e){var t;return null!==(t=e.outerHTML)&&void 0!==t?t:""})).join("\n");return{type:e,value:r,description:gf(i),icon:Qr(ao,{})}}(t,e)})).filter(Boolean)},_f=function(){var e=Lt(re([]),2),t=e[0],n=e[1],r=function(e){var t=document.createElement("div");t.innerHTML=vf(e);var r=t.querySelectorAll("".concat("h3",", ").concat("h4")),i=yf(r);n(i)};return oe((function(){var e=function(){var e=Yo(Wo().mark((function e(){var t,n;return Wo().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(mf);case 3:return t=e.sent,e.next=6,t.text();case 6:n=e.sent,r(n),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),console.error("Error fetching or processing the MetricsQL.md file:",e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}();e()}),[]),t},bf=function(e){return e.empty="empty",e.metricsql="metricsql",e.label="label",e.value="value",e}(bf||{}),Df=function(e){var t=e.value,n=e.anchorEl,r=e.caretPosition,i=e.onSelect,o=e.onFoundOptions,a=Lt(re(0),2),u=a[0],l=a[1],c=_f(),s=ce((function(){var e=t.match(/\b[^{}(),\s]+(?={|$)/g);return e?e[0]:""}),[t]),f=ce((function(){var e=t.match(/[a-z_]\w*(?=\s*(=|!=|=~|!~))/g);return e?e[e.length-1]:""}),[t]),p=new RegExp("\\(?(".concat(As(s),")$"),"g"),d=/[{.,].?(\w+)$/gm,h=new RegExp("(".concat(As(s),")?{?.+").concat(As(f),'="?([^"]*)$'),"g"),v=ce((function(){switch([p,d,h].forEach((function(e){return e.lastIndex=0})),!0){case h.test(t):return bf.value;case d.test(t):return bf.label;case p.test(t):return bf.metricsql;default:return bf.empty}}),[t,h,d,p]),m=function(e){var t=e.metric,n=e.label,r=Kr().serverUrl,i=Lt(re([]),2),o=i[0],a=i[1],u=Lt(re([]),2),l=u[0],c=u[1],s=Lt(re([]),2),f=s[0],p=s[1],d=function(){var e=Yo(Wo().mark((function e(t){var n,r,i,o,a,u;return Wo().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.url,r=t.setter,i=t.type,e.prev=1,e.next=4,fetch(n);case 4:if(!(o=e.sent).ok){e.next=11;break}return e.next=8,o.json();case 8:a=e.sent,u=a.data,r(u.map((function(e){return{value:e,type:"".concat(i),icon:Sa[i]}})));case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(1),console.error(e.t0);case 16:case"end":return e.stop()}}),e,null,[[1,13]])})));return function(t){return e.apply(this,arguments)}}();return oe((function(){r?d({url:"".concat(r,"/api/v1/label/__name__/values"),setter:a,type:Ca.metric}):a([])}),[r]),oe((function(){var e=!o.find((function(e){return e.value===t}));r&&!e?d({url:"".concat(r,"/api/v1/labels?match[]=").concat(t),setter:c,type:Ca.label}):c([])}),[r,t]),oe((function(){var e=!o.find((function(e){return e.value===t})),i=!l.find((function(e){return e.value===n}));!r||e||i?p([]):d({url:"".concat(r,"/api/v1/label/").concat(n,"/values?match[]=").concat(t),setter:p,type:Ca.value})}),[r,t,n]),{metrics:o,labels:l,values:f}}({metric:s,label:f}),g=m.metrics,y=m.labels,_=m.values,b=ce((function(){switch(v){case bf.metricsql:return[].concat(It(g),It(c));case bf.label:return y;case bf.value:return _;default:return[]}}),[v,g,y,_]),D=ce((function(){return t.length!==r[1]?t:(t.match(/([\w_]+)$/)||[])[1]||""}),[v,r,t]);return oe((function(){if(n.current){var e=window.getComputedStyle(n.current),r="".concat(e.getPropertyValue("font-size")),i="".concat(e.getPropertyValue("font-family")),o=function(e,t){var n=document.createElement("span");n.innerText=e,n.style.cssText="position: absolute; z-index: -1; pointer-events: none; opacity: 0; font: ".concat(t),document.body.appendChild(n);var r=n.offsetWidth;return n.remove(),r}(t,"".concat(r," ").concat(i));l(o)}else l(0)}),[n,r]),Qr(Ea,{disabledFullScreen:!0,value:D,options:b,anchor:n,minLength:v===bf.metricsql?2:0,offset:{top:0,left:u},onSelect:function(e){var n=t.match(/([\w_]+)$/),r=void 0!==(null===n||void 0===n?void 0:n.index)?n.index:t.length,o=t.substring(0,r),a=t.substring(r+((null===n||void 0===n?void 0:n[1].length)||0));if(v===bf.value){var u='"'!==o[o.length-1];e="".concat(u?'"':"").concat(e).concat('"')}var l="".concat(o).concat(e).concat(a);i(l)},onFoundOptions:o})},wf="No match! \nThis query hasn't selected any time series from database.\nEither the requested metrics are missing in the database,\nor there is a typo in series selector.",Af="The shown results are marked as PARTIAL.\nThe result is marked as partial if one or more vmstorage nodes failed to respond to the query.",kf=function(e){var t=e.value,n=e.onChange,r=e.onEnter,i=e.onArrowUp,o=e.onArrowDown,a=e.autocomplete,u=e.error,l=e.stats,c=e.label,s=e.disabled,f=void 0!==s&&s,p=Lt(re(!1),2),d=p[0],h=p[1],v=Lt(re([0,0]),2),m=v[0],g=v[1],y=ue(null),_=[{show:"0"===(null===l||void 0===l?void 0:l.seriesFetched)&&!l.resultLength,text:wf},{show:null===l||void 0===l?void 0:l.isPartial,text:Af}].filter((function(e){return e.show})).map((function(e){return e.text})).join("");return Qr("div",{className:"vm-query-editor",ref:y,children:[Qr(ka,{value:t,label:c,type:"textarea",autofocus:!!t,error:u,warning:_,onKeyDown:function(e){var t=e.key,n=e.ctrlKey,a=e.metaKey,u=e.shiftKey,l=(e.target.value||"").split("\n").length>1,c=n||a,s="ArrowDown"===t,f="Enter"===t;"ArrowUp"===t&&c&&(e.preventDefault(),i()),s&&c&&(e.preventDefault(),o()),f&&d&&e.preventDefault(),!f||u||l&&!c||d||(e.preventDefault(),r())},onChange:n,onChangeCaret:function(e){g(e)},disabled:f,inputmode:"search"}),a&&Qr(Df,{value:t,anchorEl:y,caretPosition:m,onSelect:function(e){n(e)},onFoundOptions:function(e){h(!!e.length)}})]})},xf=function(e){var t=e.query,n=e.onChange,r=e.onRun,i=To().isMobile;return Qr("div",{className:so()({"vm-explore-logs-header":!0,"vm-block":!0,"vm-block_mobile":i}),children:[Qr("div",{className:"vm-explore-logs-header__input",children:Qr(kf,{value:t,autocomplete:!1,onArrowUp:function(){return null},onArrowDown:function(){return null},onEnter:r,onChange:n,label:"Log query"})}),Qr("div",{className:"vm-explore-logs-header-bottom",children:[Qr("div",{className:"vm-explore-logs-header-bottom-helpful",children:[Qr("a",{className:"vm-link vm-link_with-icon",target:"_blank",href:"https://docs.victoriametrics.com/VictoriaLogs/LogsQL.html",rel:"help noreferrer",children:[Qr(Hi,{}),"Query language docs"]}),Qr("a",{className:"vm-link vm-link_with-icon",target:"_blank",href:"https://docs.victoriametrics.com/VictoriaLogs/",rel:"help noreferrer",children:[Qr(to,{}),"Documentation"]})]}),Qr("div",{className:"vm-explore-logs-header-bottom__execute",children:Qr(Go,{startIcon:Qr(qi,{}),onClick:r,fullWidth:!0,children:"Execute Query"})})]})]})};var Ef,Cf=function(e){var t=ue();return oe((function(){t.current=e}),[e]),t.current},Sf=function(){var e=Kr().serverUrl,t=ia().setSearchParamsFromKeys,n=Lt(ra("","query"),2),r=n[0],i=n[1],o=Cf(r),a=function(e,t){var n=Lt(re([]),2),r=n[0],i=n[1],o=Lt(re(!1),2),a=o[0],u=o[1],l=Lt(re(),2),s=l[0],f=l[1],p=ce((function(){return function(e){return"".concat(e,"/select/logsql/query")}(e)}),[e]),d=ce((function(){return{method:"POST",headers:{Accept:"application/stream+json; charset=utf-8","Content-Type":"application/x-www-form-urlencoded"},body:"query=".concat(encodeURIComponent(t.trim()))}}),[t]);return{logs:r,isLoading:a,error:s,fetchLogs:se(Yo(Wo().mark((function e(){var t,n,r,o,a,l,s,h,v,m;return Wo().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u(!0),f(void 0),e.prev=2,e.next=5,fetch(p,d);case 5:if((t=e.sent).ok&&t.body){e.next=14;break}return e.next=9,t.text();case 9:return n=e.sent,f(n),i([]),u(!1),e.abrupt("return");case 14:r=t.body.getReader(),o=new TextDecoder("utf-8"),a=[];case 17:if(!r){e.next=33;break}return e.next=20,r.read();case 20:if(l=e.sent,s=l.done,h=l.value,!s){e.next=25;break}return e.abrupt("break",33);case 25:if(v=o.decode(h,{stream:!0}).split("\n"),a.push.apply(a,It(v)),a.length>Da&&a.splice(0,a.length-Da),!(a.length>=Da)){e.next=31;break}return r.cancel(),e.abrupt("break",33);case 31:e.next=17;break;case 33:m=a.map((function(e){try{return JSON.parse(e)}catch(c){return""}})).filter((function(e){return e})),i(m),e.next=42;break;case 37:e.prev=37,e.t0=e.catch(2),console.error(e.t0),i([]),e.t0 instanceof Error&&f("".concat(e.t0.name,": ").concat(e.t0.message));case 42:u(!1);case 43:case"end":return e.stop()}}),e,null,[[2,37]])}))),[p,d])}}(e,r),u=a.logs,l=a.isLoading,s=a.error,f=a.fetchLogs,p=function(){f(),t(o&&r!==o?{query:r,page:1}:{query:r})};return oe((function(){r&&p()}),[]),Qr("div",{className:"vm-explore-logs",children:[Qr(xf,{query:r,onChange:i,onRun:p}),l&&Qr(wa,{}),s&&Qr(Po,{variant:"error",children:s}),Qr(ba,{data:u})]})},Ff={home:"/",metrics:"/metrics",dashboards:"/dashboards",cardinality:"/cardinality",topQueries:"/top-queries",trace:"/trace",withTemplate:"/expand-with-exprs",relabel:"/relabeling",logs:"/logs",activeQueries:"/active-queries",icons:"/icons"},Mf={header:{tenant:!0,stepControl:!1,timeSelector:!1,executionControls:!1}},Of=(xr(Ef={},Ff.home,Cr({title:"Query"},Mf)),xr(Ef,Ff.metrics,{title:"Explore Prometheus metrics",header:{tenant:!0,stepControl:!0,timeSelector:!0}}),xr(Ef,Ff.cardinality,{title:"Explore cardinality",header:{tenant:!0,cardinalityDatePicker:!0}}),xr(Ef,Ff.topQueries,{title:"Top queries",header:{tenant:!0}}),xr(Ef,Ff.trace,{title:"Trace analyzer",header:{}}),xr(Ef,Ff.dashboards,Cr({title:"Dashboards"},Mf)),xr(Ef,Ff.withTemplate,{title:"WITH templates",header:{}}),xr(Ef,Ff.relabel,{title:"Metric relabel debug",header:{}}),xr(Ef,Ff.logs,{title:"Logs Explorer",header:{}}),xr(Ef,Ff.activeQueries,{title:"Active Queries",header:{}}),xr(Ef,Ff.icons,{title:"Icons",header:{}}),Ef),Tf=Ff,Bf=function(e){var t=e.activeMenu,n=e.label,r=e.value,i=e.color;return Qr(Dr,{className:so()({"vm-header-nav-item":!0,"vm-header-nav-item_active":t===r}),style:{color:i},to:r,children:n})},Pf=function(e){var t=e.activeMenu,n=e.label,r=e.color,i=e.background,o=e.submenu,a=e.direction,u=Un().pathname,l=Lt(re(null),2),c=l[0],s=l[1],f=ue(null),p=Ko(!1),d=p.value,h=p.setFalse,v=p.setTrue,m=function(){c&&clearTimeout(c);var e=setTimeout(h,300);s(e)};return oe((function(){h()}),[u]),"column"===a?Qr(_,{children:o.map((function(e){return Qr(Bf,{activeMenu:t,value:e.value||"",label:e.label||""},e.value)}))}):Qr("div",{className:so()({"vm-header-nav-item":!0,"vm-header-nav-item_sub":!0,"vm-header-nav-item_open":d,"vm-header-nav-item_active":o.find((function(e){return e.value===t}))}),style:{color:r},onMouseEnter:function(){v(),c&&clearTimeout(c)},onMouseLeave:m,ref:f,children:[n,Qr(Yi,{}),Qr(ea,{open:d,placement:"bottom-left",offset:{top:12,left:0},onClose:h,buttonRef:f,children:Qr("div",{className:"vm-header-nav-item-submenu",style:{background:i},onMouseLeave:m,onMouseEnter:function(){c&&clearTimeout(c)},children:o.map((function(e){return Qr(Bf,{activeMenu:t,value:e.value||"",label:e.label||"",color:r},e.value)}))})})]})},Nf=[{label:Of[Tf.logs].title,value:Tf.home}],Lf=(Of[Tf.home].title,Of[Tf.metrics].title,Of[Tf.cardinality].title,Of[Tf.topQueries].title,Of[Tf.activeQueries].title,Of[Tf.trace].title,Of[Tf.withTemplate].title,Of[Tf.relabel].title,function(e){var t=e.color,n=e.background,r=e.direction,i=Fr(),o=fe(Ro).state.dashboardsSettings,a=Un().pathname,u=Lt(re(a),2),l=u[0],c=u[1],s=ce((function(){return Nf}),[i,o]);return oe((function(){c(a)}),[a]),Qr("nav",{className:so()(xr({"vm-header-nav":!0},"vm-header-nav_".concat(r),r)),children:s.map((function(e){return e.submenu?Qr(Pf,{activeMenu:l,label:e.label||"",submenu:e.submenu,color:t,background:n,direction:r},e.label):Qr(Bf,{activeMenu:l,value:e.value||"",label:e.label||"",color:t},e.value)}))})}),$f=function(e){var t=e.title,n=e.children,r=e.onClose,i=e.className,o=e.isOpen,a=void 0===o||o,u=To().isMobile,l=Wn(),c=Un(),s=se((function(e){a&&"Escape"===e.key&&r()}),[a]),f=function(e){e.stopPropagation()},p=se((function(){a&&(l(c,{replace:!0}),r())}),[a,c,r]);return oe((function(){if(a)return document.body.style.overflow="hidden",function(){document.body.style.overflow="auto"}}),[a]),go("popstate",p),go("keyup",s),At.createPortal(Qr("div",{className:so()(xr({"vm-modal":!0,"vm-modal_mobile":u},"".concat(i),i)),onMouseDown:r,children:Qr("div",{className:"vm-modal-content",children:[Qr("div",{className:"vm-modal-content-header",onMouseDown:f,children:[t&&Qr("div",{className:"vm-modal-content-header__title",children:t}),Qr("div",{className:"vm-modal-header__close",children:Qr(Go,{variant:"text",size:"small",onClick:r,ariaLabel:"close",children:Qr(ji,{})})})]}),Qr("div",{className:"vm-modal-content-body",onMouseDown:f,children:n})]})}),document.body)},Rf=Qr("code",{children:Oo()?"Cmd":"Ctrl"}),If=[{title:"Zoom in",description:Qr(_,{children:["To zoom in, hold down the ",Rf," + ",Qr("code",{children:"scroll up"}),", or press the ",Qr("code",{children:"+"}),". Also, you can zoom in on a range on the graph by holding down your mouse button and selecting the range."]})},{title:"Zoom out",description:Qr(_,{children:["To zoom out, hold down the ",Rf," + ",Qr("code",{children:"scroll down"}),", or press the ",Qr("code",{children:"-"}),"."]})},{title:"Move horizontal axis",description:Qr(_,{children:["To move the graph, hold down the ",Rf," + ",Qr("code",{children:"drag"})," the graph to the right or left."]})},{title:"Fixing a tooltip",description:Qr(_,{children:["To fix the tooltip, ",Qr("code",{children:"click"})," mouse when it's open. Then, you can drag the fixed tooltip by ",Qr("code",{children:"clicking"})," and ",Qr("code",{children:"dragging"})," on the ",Qr(eo,{})," icon."]})},{title:"Set a custom range for the vertical axis",description:Qr(_,{children:["To set a custom range for the vertical axis, click on the ",Qr(Ii,{})," icon located in the upper right corner of the graph, activate the toggle, and set the values."]})}],jf=[{title:"Show/hide a legend item",description:Qr(_,{children:[Qr("code",{children:"click"})," on a legend item to isolate it on the graph.",Rf," + ",Qr("code",{children:"click"})," on a legend item to remove it from the graph. To revert to the previous state, click again."]})},{title:"Copy label key-value pairs",description:Qr(_,{children:[Qr("code",{children:"click"})," on a label key-value pair to save it to the clipboard."]})},{title:"Collapse/Expand the legend group",description:Qr(_,{children:[Qr("code",{children:"click"})," on the group name (e.g. ",Qr("b",{children:'Query 1: {__name__!=""}'}),") to collapse or expand the legend."]})}],zf=(If.concat(jf),Oo(),Oo(),function(e){var t=e.open;return Qr("button",{className:so()({"vm-menu-burger":!0,"vm-menu-burger_opened":t}),"aria-label":"menu",children:Qr("span",{})})}),Hf=function(e){var t=e.background,n=e.color,r=Un().pathname,i=To().isMobile,o=ue(null),a=Ko(!1),u=a.value,l=a.toggle,c=a.setFalse;return oe(c,[r]),Xo(o,c),Qr("div",{className:"vm-header-sidebar",ref:o,children:[Qr("div",{className:so()({"vm-header-sidebar-button":!0,"vm-header-sidebar-button_open":u}),onClick:l,children:Qr(zf,{open:u})}),Qr("div",{className:so()({"vm-header-sidebar-menu":!0,"vm-header-sidebar-menu_open":u}),children:[Qr("div",{children:Qr(Lf,{color:n,background:t,direction:"column"})}),Qr("div",{className:"vm-header-sidebar-menu-settings",children:!i&&!1})]})]})},Uf=["controlsComponent","isMobile"],Vf=function(e){var t=e.controlsComponent,n=e.isMobile,r=fo(e,Uf),i=Fr(),o=Un().pathname,a=function(){var e=Sr().useTenantID,t=Fr(),n=Kr().serverUrl,r=Lt(re(!1),2),i=r[0],o=r[1],a=Lt(re(),2),u=a[0],l=a[1],c=Lt(re([]),2),s=c[0],f=c[1],p=ce((function(){return"".concat(n.replace(/^(.+)(\/select.+)/,"$1"),"/admin/tenants")}),[n]),d=ce((function(){return!!Or(n)}),[n]),h=t?!e:!d;return oe((function(){if(!h){var e=function(){var e=Yo(Wo().mark((function e(){var t,n,r;return Wo().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o(!0),e.prev=1,e.next=4,fetch(p);case 4:return t=e.sent,e.next=7,t.json();case 7:n=e.sent,r=n.data||[],f(r.sort((function(e,t){return e.localeCompare(t)}))),t.ok?l(void 0):l("".concat(n.errorType,"\r\n").concat(null===n||void 0===n?void 0:n.error)),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(1),e.t0 instanceof Error&&l("".concat(e.t0.name,": ").concat(e.t0.message));case 16:o(!1);case 17:case"end":return e.stop()}}),e,null,[[1,13]])})));return function(){return e.apply(this,arguments)}}();e().catch(console.error)}}),[p]),{accountIds:s,isLoading:i,error:u}}(),u=a.accountIds,l=Ko(!1),c=l.value,s=l.toggle,f=l.setFalse,p=ce((function(){return(Of[o]||{}).header||{}}),[o]),d=Qr(t,Cr(Cr({},r),{},{isMobile:n,accountIds:u,headerSetup:p}));return n?Qr(_,{children:[Qr("div",{children:Qr(Go,{className:so()({"vm-header-button":!i}),startIcon:Qr(ro,{}),onClick:s,ariaLabel:"controls"})}),Qr($f,{title:"Controls",onClose:f,isOpen:c,className:so()({"vm-header-controls-modal":!0,"vm-header-controls-modal_open":c}),children:d})]}):d},Wf=function(e){var t=e.controlsComponent,n="true",r=To().isMobile,i=ce((function(){return window.innerWidth<1e3}),[yo()]),o=Kr().isDarkTheme,a=Fr(),u=ce((function(){return Ur(o?"color-background-block":"color-primary")}),[o]),l=ce((function(){var e=Sr().headerStyles,t=void 0===e?{}:e,n=t.background,r=void 0===n?a?"#FFF":u:n,i=t.color;return{background:r,color:void 0===i?a?u:"#FFF":i}}),[u]),c=l.background,s=l.color,f=Wn(),p=function(){f({pathname:Tf.home}),window.location.reload()};return Qr("header",{className:so()({"vm-header":!0,"vm-header_app":a,"vm-header_dark":o,"vm-header_sidebar":i,"vm-header_mobile":r}),style:{background:c,color:s},children:[i?Qr(Hf,{background:c,color:s}):Qr(_,{children:[!a&&Qr("div",{className:so()({"vm-header-logo":!0,"vm-header-logo_logs":n}),onClick:p,style:{color:s},children:Qr(n?$i:Li,{})}),Qr(Lf,{color:s,background:c})]}),i&&Qr("div",{className:so()({"vm-header-logo":!0,"vm-header-logo_mobile":!0,"vm-header-logo_logs":n}),onClick:p,style:{color:s},children:Qr(n?$i:Li,{})}),Qr(Vf,{controlsComponent:t,displaySidebar:i,isMobile:r})]})},Zf=function(){var e=To().isMobile,t="2019-".concat(xt()().format("YYYY"));return Qr("footer",{className:"vm-footer",children:[Qr("a",{className:"vm-link vm-footer__website",target:"_blank",href:"https://victoriametrics.com/",rel:"me noreferrer",children:[Qr(Ri,{}),"victoriametrics.com"]}),Qr("a",{className:"vm-link vm-footer__link",target:"_blank",href:"https://docs.victoriametrics.com/MetricsQL.html",rel:"help noreferrer",children:[Qr(Ji,{}),"MetricsQL"]}),Qr("a",{className:"vm-link vm-footer__link",target:"_blank",href:"https://docs.victoriametrics.com/#vmui",rel:"help noreferrer",children:[Qr(to,{}),e?"Docs":"Documentation"]}),Qr("a",{className:"vm-link vm-footer__link",target:"_blank",href:"https://github.com/VictoriaMetrics/VictoriaMetrics/issues/new/choose",rel:"noreferrer",children:[Qr(no,{}),e?"New issue":"Create an issue"]}),Qr("div",{className:"vm-footer__copyright",children:["\xa9 ",t," VictoriaMetrics"]})]})},Yf=function(e){var t=e.serverUrl,n=e.stateServerUrl,r=e.onChange,i=e.onEnter,o=Lt(re(""),2),a=o[0],u=o[1];return oe((function(){n||u(zr.emptyServer),function(e){var t;try{t=new URL(e)}catch(y){return!1}return"http:"===t.protocol||"https:"===t.protocol}(n)||u(zr.validServer)}),[n]),Qr(ka,{autofocus:!0,label:"Server URL",value:t,error:a,onChange:function(e){r(e||""),u("")},onEnter:i,inputmode:"url"})},qf=[{label:"Graph",type:"chart"},{label:"JSON",type:"code"},{label:"Table",type:"table"}],Gf=function(e){var t=e.limits,n=e.onChange,r=e.onEnter,i=To().isMobile,o=Lt(re({table:"",chart:"",code:""}),2),a=o[0],u=o[1],l=function(e){return function(r){!function(e,r){var i=e||"";u((function(e){return Cr(Cr({},e),{},xr({},r,+i<0?zr.positiveNumber:""))})),n(Cr(Cr({},t),{},xr({},r,i||1/0)))}(r,e)}};return Qr("div",{className:"vm-limits-configurator",children:[Qr("div",{className:"vm-server-configurator__title",children:["Series limits by tabs",Qr(Jo,{title:"Set to 0 to disable the limit",children:Qr(Go,{variant:"text",color:"primary",size:"small",startIcon:Qr(Hi,{})})}),Qr("div",{className:"vm-limits-configurator-title__reset",children:Qr(Go,{variant:"text",color:"primary",size:"small",startIcon:Qr(zi,{}),onClick:function(){n(Lr)},children:"Reset limits"})})]}),Qr("div",{className:so()({"vm-limits-configurator__inputs":!0,"vm-limits-configurator__inputs_mobile":i}),children:qf.map((function(e){return Qr("div",{children:Qr(ka,{label:e.label,value:t[e.type],error:a[e.type],onChange:l(e.type),onEnter:r,type:"number"})},e.type)}))})]})},Qf=function(e){var t=e.timezoneState,n=e.onChange,r=To().isMobile,i=yi(),o=Lt(re(""),2),a=o[0],u=o[1],l=ue(null),s=Ko(!1),f=s.value,p=s.toggle,d=s.setFalse,h=ce((function(){if(!a)return i;try{return yi(a)}catch(c){return{}}}),[a,i]),v=ce((function(){return Object.keys(h)}),[h]),m=ce((function(){return{region:xt().tz.guess(),utc:gi(xt().tz.guess())}}),[]),g=ce((function(){return{region:t,utc:gi(t)}}),[t]),y=function(e){return function(){!function(e){n(e.region),u(""),d()}(e)}};return Qr("div",{className:"vm-timezones",children:[Qr("div",{className:"vm-server-configurator__title",children:"Time zone"}),Qr("div",{className:"vm-timezones-item vm-timezones-item_selected",onClick:p,ref:l,children:[Qr("div",{className:"vm-timezones-item__title",children:g.region}),Qr("div",{className:"vm-timezones-item__utc",children:g.utc}),Qr("div",{className:so()({"vm-timezones-item__icon":!0,"vm-timezones-item__icon_open":f}),children:Qr(Yi,{})})]}),Qr(ea,{open:f,buttonRef:l,placement:"bottom-left",onClose:d,fullWidth:!0,title:r?"Time zone":void 0,children:Qr("div",{className:so()({"vm-timezones-list":!0,"vm-timezones-list_mobile":r}),children:[Qr("div",{className:"vm-timezones-list-header",children:[Qr("div",{className:"vm-timezones-list-header__search",children:Qr(ka,{autofocus:!0,label:"Search",value:a,onChange:function(e){u(e)}})}),Qr("div",{className:"vm-timezones-item vm-timezones-list-group-options__item",onClick:y(m),children:[Qr("div",{className:"vm-timezones-item__title",children:["Browser Time (",m.region,")"]}),Qr("div",{className:"vm-timezones-item__utc",children:m.utc})]})]}),v.map((function(e){return Qr("div",{className:"vm-timezones-list-group",children:Qr(ma,{defaultExpanded:!0,title:Qr("div",{className:"vm-timezones-list-group__title",children:e}),children:Qr("div",{className:"vm-timezones-list-group-options",children:h[e]&&h[e].map((function(e){return Qr("div",{className:"vm-timezones-item vm-timezones-list-group-options__item",onClick:y(e),children:[Qr("div",{className:"vm-timezones-item__title",children:e.region}),Qr("div",{className:"vm-timezones-item__utc",children:e.utc})]},e.search)}))})})},e)}))]})})]})},Jf=function(e){var t=e.options,n=e.value,r=e.label,i=e.onChange,o=ue(null),a=Lt(re({width:"0px",left:"0px",borderRadius:"0px"}),2),u=a[0],l=a[1],c=function(e){return function(){i(e)}};return oe((function(){if(o.current){var e=t.findIndex((function(e){return e.value===n})),r=o.current.getBoundingClientRect().width,i=e*r,a="0";0===e&&(a="16px 0 0 16px"),e===t.length-1&&(a="10px",i-=1,a="0 16px 16px 0"),0!==e&&e!==t.length-1&&(r+=1,i-=1),l({width:"".concat(r,"px"),left:"".concat(i,"px"),borderRadius:a})}else l({width:"0px",left:"0px",borderRadius:"0px"})}),[o,n,t]),Qr("div",{className:"vm-toggles",children:[r&&Qr("label",{className:"vm-toggles__label",children:r}),Qr("div",{className:"vm-toggles-group",style:{gridTemplateColumns:"repeat(".concat(t.length,", 1fr)")},children:[u.borderRadius&&Qr("div",{className:"vm-toggles-group__highlight",style:u}),t.map((function(e,t){return Qr("div",{className:so()({"vm-toggles-group-item":!0,"vm-toggles-group-item_first":0===t,"vm-toggles-group-item_active":e.value===n,"vm-toggles-group-item_icon":e.icon&&e.title}),onClick:c(e.value),ref:e.value===n?o:null,children:[e.icon,e.title]},e.value)}))]})]})},Kf=Object.values(Hr).map((function(e){return{title:e,value:e}})),Xf=function(e){var t=e.theme,n=e.onChange,r=To().isMobile;return Qr("div",{className:so()({"vm-theme-control":!0,"vm-theme-control_mobile":r}),children:[Qr("div",{className:"vm-server-configurator__title",children:"Theme preferences"}),Qr("div",{className:"vm-theme-control__toggle",children:Qr(Jf,{options:Kf,value:t,onChange:function(e){n(e)}})},"".concat(r))]})},ep="Settings",tp=function(){var e=To().isMobile,t=Fr(),n=Kr(),r=n.serverUrl,i=n.theme,o=Mi().timezone,a=fe(Eo).state.seriesLimits,u=Xr(),l=fe(Fi).dispatch,c=fe(Eo).dispatch,s=Lt(re(r),2),f=s[0],p=s[1],d=Lt(re(a),2),h=d[0],v=d[1],m=Lt(re(o),2),g=m[0],y=m[1],b=Ko(!1),D=b.value,w=b.setTrue,A=b.setFalse,k=function(){A(),p(r),v(a),y(o)},x=function(){var e=Or(f);""!==e&&u({type:"SET_TENANT_ID",payload:e}),u({type:"SET_SERVER",payload:f}),l({type:"SET_TIMEZONE",payload:g}),c({type:"SET_SERIES_LIMITS",payload:h}),A()};oe((function(){r!==f&&p(r)}),[r]);var E=[{show:!t&&!1,component:Qr(Yf,{stateServerUrl:r,serverUrl:f,onChange:p,onEnter:x})},{show:!1,component:Qr(Gf,{limits:h,onChange:v,onEnter:x})},{show:!0,component:Qr(Qf,{timezoneState:g,onChange:y})},{show:!t,component:Qr(Xf,{theme:i,onChange:function(e){u({type:"SET_THEME",payload:e})}})}].filter((function(e){return e.show}));return Qr(_,{children:[e?Qr("div",{className:"vm-mobile-option",onClick:w,children:[Qr("span",{className:"vm-mobile-option__icon",children:Qr(Ii,{})}),Qr("div",{className:"vm-mobile-option-text",children:Qr("span",{className:"vm-mobile-option-text__label",children:ep})}),Qr("span",{className:"vm-mobile-option__arrow",children:Qr(Zi,{})})]}):Qr(Jo,{title:ep,children:Qr(Go,{className:so()({"vm-header-button":!t}),variant:"contained",color:"primary",startIcon:Qr(Ii,{}),onClick:w,ariaLabel:"settings"})}),D&&Qr($f,{title:ep,onClose:k,children:Qr("div",{className:so()({"vm-server-configurator":!0,"vm-server-configurator_mobile":e}),children:[E.map((function(e,t){return Qr("div",{className:"vm-server-configurator__input",children:e.component},t)})),Qr("div",{className:"vm-server-configurator-footer",children:[Qr(Go,{color:"error",variant:"outlined",onClick:k,children:"Cancel"}),Qr(Go,{color:"primary",variant:"contained",onClick:x,children:"Apply"})]})]})})]})},np=function(e){var t=e.isMobile;return Qr("div",{className:so()({"vm-header-controls":!0,"vm-header-controls_mobile":t}),children:Qr(tp,{})})},rp=function(){var e=Fr(),t=To().isMobile;return oe((function(){var e,t="vmui for VictoriaLogs",n=null===(e=Of[Tf.logs])||void 0===e?void 0:e.title;document.title=n?"".concat(n," - ").concat(t):t}),[Un().pathname]),Qr("section",{className:"vm-container",children:[Qr(Wf,{controlsComponent:np}),Qr("div",{className:so()({"vm-container-body":!0,"vm-container-body_mobile":t,"vm-container-body_app":e}),children:Qr(ar,{})}),!e&&Qr(Zf,{})]})},ip=function(){var e=Lt(re(!1),2),t=e[0],n=e[1];return Qr(_,{children:Qr(gr,{children:Qr(Io,{children:Qr(_,{children:[Qr(Vo,{onLoaded:n}),t&&Qr(cr,{children:Qr(ur,{path:"/",element:Qr(rp,{}),children:Qr(ur,{path:"/",element:Qr(Sf,{})})})})]})})})})},op=function(e){e&&n.e(522).then(n.bind(n,522)).then((function(t){var n=t.getCLS,r=t.getFID,i=t.getFCP,o=t.getLCP,a=t.getTTFB;n(e),r(e),i(e),o(e),a(e)}))},ap=document.getElementById("root");ap&&Qe(Qr(ip,{}),ap),op()}()}(); |