@perses-dev/loki-plugin 0.5.0-rc.1 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__mf/js/{Loki.e49fa487.js → Loki.ca74c810.js} +3 -3
- package/__mf/js/async/{1728.cc0cc756.js → 1728.c6a9c8d6.js} +1 -1
- package/__mf/js/async/{1750.21abeeba.js → 1750.a7bd1384.js} +1 -1
- package/__mf/js/async/208.55931f88.js +4 -0
- package/__mf/js/async/392.2c7c202d.js +2 -0
- package/__mf/js/async/54.f8265ee0.js +22 -0
- package/__mf/js/async/6710.a94fd362.js +2 -0
- package/__mf/js/async/9811.422fb6ad.js +7 -0
- package/__mf/js/async/{__federation_expose_LokiDatasource.5690e6a2.js → __federation_expose_LokiDatasource.5e30f7dd.js} +2 -2
- package/__mf/js/async/{__federation_expose_LokiLogQuery.a00fdb54.js → __federation_expose_LokiLogQuery.c30e299e.js} +1 -1
- package/__mf/js/async/{__federation_expose_LokiTimeSeriesQuery.8bfdd289.js → __federation_expose_LokiTimeSeriesQuery.aa1ffedf.js} +1 -1
- package/__mf/js/{main.7d8c4286.js → main.34b789cc.js} +3 -3
- package/lib/components/complete.js.map +1 -1
- package/lib/queries/loki-log-query/LokiLogQueryEditor.js.map +1 -1
- package/lib/queries/loki-time-series-query/LokiTimeSeriesQueryEditor.js.map +1 -1
- package/mf-manifest.json +32 -32
- package/mf-stats.json +32 -32
- package/package.json +6 -6
- package/__mf/js/async/392.c0f9d49a.js +0 -2
- package/__mf/js/async/54.53a40701.js +0 -22
- package/__mf/js/async/6710.0e76bee9.js +0 -2
- package/__mf/js/async/7958.b9f7c0ed.js +0 -7
- package/__mf/js/async/9010.36cfe73b.js +0 -2
- /package/__mf/js/async/{9010.36cfe73b.js.LICENSE.txt → 208.55931f88.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{392.c0f9d49a.js.LICENSE.txt → 392.2c7c202d.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{54.53a40701.js.LICENSE.txt → 54.f8265ee0.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{6710.0e76bee9.js.LICENSE.txt → 6710.a94fd362.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{7958.b9f7c0ed.js.LICENSE.txt → 9811.422fb6ad.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{__federation_expose_LokiDatasource.5690e6a2.js.LICENSE.txt → __federation_expose_LokiDatasource.5e30f7dd.js.LICENSE.txt} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 6710.0e76bee9.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.chunk_Loki=self.chunk_Loki||[]).push([["6710"],{92890:function(e,t,r){r.d(t,{A:()=>$});var n=r(70451),i=r(11750),a=r(81023),o=r(54553),s=r(24726),l=r(10972),u=r(96313),c=r(11502),f=r(29009),p=r(46733);function m(e){return(0,p.Ay)("MuiDialog",e)}let d=(0,f.A)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);var g=r(37042),h=r(32309),b=r(77308),y=r(56599),v=r(23434),w=r(72052),x=r(73397),S=r(62540);let D=(0,b.A)(h.A,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),A=(0,b.A)(l.A,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),B=(0,b.A)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.container,t[`scroll${(0,s.A)(r.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),N=(0,b.A)(c.A,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.paper,t[`scrollPaper${(0,s.A)(r.scroll)}`],t[`paperWidth${(0,s.A)(String(r.maxWidth))}`],r.fullWidth&&t.paperFullWidth,r.fullScreen&&t.paperFullScreen]}})((0,v.A)(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:e})=>!e.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${d.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(e=>"xs"!==e).map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${d.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:e})=>e.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:e})=>e.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${d.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),$=n.forwardRef(function(e,t){let r=(0,w.b)({props:e,name:"MuiDialog"}),l=(0,y.A)(),f={enter:l.transitions.duration.enteringScreen,exit:l.transitions.duration.leavingScreen},{"aria-describedby":p,"aria-labelledby":d,"aria-modal":h=!0,BackdropComponent:b,BackdropProps:v,children:$,className:T,disableEscapeKeyDown:O=!1,fullScreen:M=!1,fullWidth:k=!1,maxWidth:F="sm",onBackdropClick:E,onClick:C,onClose:I,open:L,PaperComponent:P=c.A,PaperProps:U={},scroll:_="paper",slots:j={},slotProps:R={},TransitionComponent:W=u.A,transitionDuration:G=f,TransitionProps:V,...Z}=r,q={...r,disableEscapeKeyDown:O,fullScreen:M,fullWidth:k,maxWidth:F,scroll:_},K=(e=>{let{classes:t,scroll:r,maxWidth:n,fullWidth:i,fullScreen:o}=e,l={root:["root"],container:["container",`scroll${(0,s.A)(r)}`],paper:["paper",`paperScroll${(0,s.A)(r)}`,`paperWidth${(0,s.A)(String(n))}`,i&&"paperFullWidth",o&&"paperFullScreen"]};return(0,a.A)(l,m,t)})(q),Y=n.useRef(),z=(0,o.A)(d),H=n.useMemo(()=>({titleId:z}),[z]),J={slots:{transition:W,...j},slotProps:{transition:V,paper:U,backdrop:v,...R}},[X,Q]=(0,x.A)("root",{elementType:A,shouldForwardComponentProp:!0,externalForwardedProps:J,ownerState:q,className:(0,i.A)(K.root,T),ref:t}),[ee,et]=(0,x.A)("backdrop",{elementType:D,shouldForwardComponentProp:!0,externalForwardedProps:J,ownerState:q}),[er,en]=(0,x.A)("paper",{elementType:N,shouldForwardComponentProp:!0,externalForwardedProps:J,ownerState:q,className:(0,i.A)(K.paper,U.className)}),[ei,ea]=(0,x.A)("container",{elementType:B,externalForwardedProps:J,ownerState:q,className:(0,i.A)(K.container)}),[eo,es]=(0,x.A)("transition",{elementType:u.A,externalForwardedProps:J,ownerState:q,additionalProps:{appear:!0,in:L,timeout:G,role:"presentation"}});return(0,S.jsx)(X,{closeAfterTransition:!0,slots:{backdrop:ee},slotProps:{backdrop:{transitionDuration:G,as:b,...et}},disableEscapeKeyDown:O,onClose:I,open:L,onClick:e=>{C&&C(e),Y.current&&(Y.current=null,E&&E(e),I&&I(e,"backdropClick"))},...Q,...Z,children:(0,S.jsx)(eo,{...es,children:(0,S.jsx)(ei,{onMouseDown:e=>{Y.current=e.target===e.currentTarget},...ea,children:(0,S.jsx)(er,{as:P,elevation:24,role:"dialog","aria-describedby":p,"aria-labelledby":z,"aria-modal":h,...en,children:(0,S.jsx)(g.A.Provider,{value:H,children:$})})})})})})},37042:function(e,t,r){r.d(t,{A:()=>n});let n=r(70451).createContext({})},39750:function(e,t,r){r.d(t,{A:()=>m});var n=r(70451),i=r(11750),a=r(81023),o=r(77308),s=r(72052),l=r(29009),u=r(46733);function c(e){return(0,u.Ay)("MuiDialogActions",e)}(0,l.A)("MuiDialogActions",["root","spacing"]);var f=r(62540);let p=(0,o.A)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),m=n.forwardRef(function(e,t){let r=(0,s.b)({props:e,name:"MuiDialogActions"}),{className:n,disableSpacing:o=!1,...l}=r,u={...r,disableSpacing:o},m=(e=>{let{classes:t,disableSpacing:r}=e;return(0,a.A)({root:["root",!r&&"spacing"]},c,t)})(u);return(0,f.jsx)(p,{className:(0,i.A)(m.root,n),ownerState:u,ref:t,...l})})},66834:function(e,t,r){r.d(t,{A:()=>g});var n=r(70451),i=r(11750),a=r(81023),o=r(77308),s=r(23434),l=r(72052),u=r(29009),c=r(46733);function f(e){return(0,c.Ay)("MuiDialogContent",e)}(0,u.A)("MuiDialogContent",["root","dividers"]);var p=r(36831),m=r(62540);let d=(0,o.A)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.dividers&&t.dividers]}})((0,s.A)(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:e})=>e.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>!e.dividers,style:{[`.${p.A.root} + &`]:{paddingTop:0}}}]}))),g=n.forwardRef(function(e,t){let r=(0,l.b)({props:e,name:"MuiDialogContent"}),{className:n,dividers:o=!1,...s}=r,u={...r,dividers:o},c=(e=>{let{classes:t,dividers:r}=e;return(0,a.A)({root:["root",r&&"dividers"]},f,t)})(u);return(0,m.jsx)(d,{className:(0,i.A)(c.root,n),ownerState:u,ref:t,...s})})},91467:function(e,t,r){r.d(t,{A:()=>m});var n=r(70451),i=r(11750),a=r(81023),o=r(88091),s=r(77308),l=r(72052),u=r(36831),c=r(37042),f=r(62540);let p=(0,s.A)(o.A,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),m=n.forwardRef(function(e,t){let r=(0,l.b)({props:e,name:"MuiDialogTitle"}),{className:o,id:s,...m}=r,d=(e=>{let{classes:t}=e;return(0,a.A)({root:["root"]},u.t,t)})(r),{titleId:g=s}=n.useContext(c.A);return(0,f.jsx)(p,{component:"h2",className:(0,i.A)(d.root,o),ownerState:r,ref:t,variant:"h6",id:s??g,...m})})},36831:function(e,t,r){r.d(t,{A:()=>o,t:()=>a});var n=r(29009),i=r(46733);function a(e){return(0,i.Ay)("MuiDialogTitle",e)}let o=(0,n.A)("MuiDialogTitle",["root"])},14045:function(e,t,r){r.d(t,{A:()=>g});var n=r(70451),i=r(11750),a=r(81023),o=r(47599),s=r(88091),l=r(67214),u=r(77308),c=r(72052),f=r(85397),p=r(73397),m=r(62540);let d=(0,u.A)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`& .${f.A.primary}`]:t.primary},{[`& .${f.A.secondary}`]:t.secondary},t.root,r.inset&&t.inset,r.primary&&r.secondary&&t.multiline,r.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${o.A.root}:where(& .${f.A.primary})`]:{display:"block"},[`.${o.A.root}:where(& .${f.A.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),g=n.forwardRef(function(e,t){let r=(0,c.b)({props:e,name:"MuiListItemText"}),{children:o,className:u,disableTypography:g=!1,inset:h=!1,primary:b,primaryTypographyProps:y,secondary:v,secondaryTypographyProps:w,slots:x={},slotProps:S={},...D}=r,{dense:A}=n.useContext(l.A),B=null!=b?b:o,N=v,$={...r,disableTypography:g,inset:h,primary:!!B,secondary:!!N,dense:A},T=(e=>{let{classes:t,inset:r,primary:n,secondary:i,dense:o}=e;return(0,a.A)({root:["root",r&&"inset",o&&"dense",n&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},f.b,t)})($),O={slots:x,slotProps:{primary:y,secondary:w,...S}},[M,k]=(0,p.A)("root",{className:(0,i.A)(T.root,u),elementType:d,externalForwardedProps:{...O,...D},ownerState:$,ref:t}),[F,E]=(0,p.A)("primary",{className:T.primary,elementType:s.A,externalForwardedProps:O,ownerState:$}),[C,I]=(0,p.A)("secondary",{className:T.secondary,elementType:s.A,externalForwardedProps:O,ownerState:$});return null==B||B.type===s.A||g||(B=(0,m.jsx)(F,{variant:A?"body2":"body1",component:E?.variant?void 0:"span",...E,children:B})),null==N||N.type===s.A||g||(N=(0,m.jsx)(C,{variant:"body2",color:"textSecondary",...I,children:N})),(0,m.jsxs)(M,{...k,children:[B,N]})})},3967:function(e,t,r){r.d(t,{DY:()=>s,Dk:()=>o,G2:()=>i,JW:()=>c,M8:()=>a,VE:()=>l,lh:()=>p,nV:()=>f,qw:()=>n,yf:()=>u});let n=["bottom","right"],i=["list","table"],a=["small","medium"];function o(e){return n.includes(e)}function s(e){return i.includes(e)}function l(e){return a.includes(e)}let u={position:"bottom",mode:"list",size:"medium"};function c(e){return void 0===e?u.position:o(e)?e:u.position}function f(e){return e&&s(e)?e:u.mode}function p(e){return e&&l(e)?e:u.size}},3627:function(e,t,r){r.d(t,{L:()=>n});let n={JoinByColumnValue:"Join by column value",MergeColumns:"Merge columns",MergeIndexedColumns:"Merge indexed columns",MergeSeries:"Merge series"}},12826:function(e,t,r){r.d(t,{T6:()=>eb,W5:()=>ec,x9:()=>ey,AC:()=>en,Fl:()=>ei,Se:()=>eo,px:()=>ep,GU:()=>eu,i$:()=>em,j9:()=>ed,fZ:()=>eg,Yf:()=>eh,KN:()=>el,w0:()=>er,oy:()=>ef,r_:()=>ea,CB:()=>es});var n,i,a,o,s,l,u,c,f,p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{};function m(){if(s)return o;s=1;let e=[{key:"ZiB",factor:11805916207174113e5},{key:"ZB",factor:1e21},{key:"YiB",factor:12089258196146292e8},{key:"YB",factor:1e24},{key:"TiB",factor:0x10000000000},{key:"TB",factor:1e12},{key:"PiB",factor:0x4000000000000},{key:"PB",factor:1e15},{key:"MiB",factor:1048576},{key:"MB",factor:1e6},{key:"KiB",factor:1024},{key:"KB",factor:1e3},{key:"GiB",factor:0x40000000},{key:"GB",factor:1e9},{key:"EiB",factor:0x1000000000000000},{key:"EB",factor:1e18},{key:"B",factor:1}];function t(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}return o={unformat:function(r,n){let i,a=h(),o=a.currentDelimiters(),s=a.currentCurrency().symbol,l=a.currentOrdinal(),u=a.getZeroFormat(),c=a.currentAbbreviations();if("string"==typeof r)if(function(e,t){if(!(e.indexOf(":")&&":"!==t.thousands))return!1;let r=e.split(":");if(3!==r.length)return!1;let n=+r[0],i=+r[1],a=+r[2];return!isNaN(n)&&!isNaN(i)&&!isNaN(a)}(r,o)){let e,t,n;t=+(e=r.split(":"))[0],n=+e[1],i=+e[2]+60*n+3600*t}else i=function(r,n,i="",a,o,s,l){if(""!==r)return r===o?0:function r(n,i,a,o,s,l,u){if(!isNaN(+n))return+n;let c="",f=n.replace(/(^[^(]*)\((.*)\)([^)]*$)/,"$1$2$3");if(f!==n)return -1*r(f,i,a,o,s,l);for(let t=0;t<e.length;t++){let u=e[t];if((c=n.replace(RegExp(`([0-9 ])(${u.key})$`),"$1"))!==n)return r(c,i,a,o,s,l)*u.factor}if((c=n.replace("%",""))!==n)return r(c,i,a,o,s,l)/100;let p=parseFloat(n);if(isNaN(p))return;let m=o(p);if(m&&"."!==m&&(c=n.replace(RegExp(`${t(m)}$`),""))!==n)return r(c,i,a,o,s,l);let d={};Object.keys(l).forEach(e=>{d[l[e]]=e});let g=Object.keys(d).sort().reverse(),h=g.length;for(let e=0;e<h;e++){let t=g[e],u=d[t];if((c=n.replace(t,""))!==n){let e;switch(u){case"thousand":e=1e3;break;case"million":e=1e6;break;case"billion":e=1e9;break;case"trillion":e=1e12}return r(c,i,a,o,s,l)*e}}}(r.replace(i,"").replace(RegExp(`([0-9])${t(n.thousands)}([0-9])`,"g"),"$1$2").replace(n.decimal,"."),n,i,a,o,s)}(r,o,s,l,u,c);else{if("number"!=typeof r)return;i=r}if(void 0!==i)return i}}}function d(){if(u)return l;u=1;let e=m(),t=/^[a-z]{2,3}(-[a-zA-Z]{4})?(-([A-Z]{2}|[0-9]{3}))?$/,r={output:{type:"string",validValues:["currency","percent","byte","time","ordinal","number"]},base:{type:"string",validValues:["decimal","binary","general"],restriction:(e,t)=>"byte"===t.output,message:"`base` must be provided only when the output is `byte`",mandatory:e=>"byte"===e.output},characteristic:{type:"number",restriction:e=>e>=0,message:"value must be positive"},prefix:"string",postfix:"string",forceAverage:{type:"string",validValues:["trillion","billion","million","thousand"]},average:"boolean",lowPrecision:{type:"boolean",restriction:(e,t)=>!0===t.average,message:"`lowPrecision` must be provided only when the option `average` is set"},currencyPosition:{type:"string",validValues:["prefix","infix","postfix"]},currencySymbol:"string",totalLength:{type:"number",restrictions:[{restriction:e=>e>=0,message:"value must be positive"},{restriction:(e,t)=>!t.exponential,message:"`totalLength` is incompatible with `exponential`"}]},mantissa:{type:"number",restriction:e=>e>=0,message:"value must be positive"},optionalMantissa:"boolean",trimMantissa:"boolean",roundingFunction:"function",optionalCharacteristic:"boolean",thousandSeparated:"boolean",spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",spaceSeparatedAbbreviation:"boolean",abbreviations:{type:"object",children:{thousand:"string",million:"string",billion:"string",trillion:"string"}},negative:{type:"string",validValues:["sign","parenthesis"]},forceSign:"boolean",exponential:{type:"boolean"},prefixSymbol:{type:"boolean",restriction:(e,t)=>"percent"===t.output,message:"`prefixSymbol` can be provided only when the output is `percent`"}},n={languageTag:{type:"string",mandatory:!0,restriction:e=>e.match(t),message:"the language tag must follow the BCP 47 specification (see https://tools.ieft.org/html/bcp47)"},delimiters:{type:"object",children:{thousands:"string",decimal:"string",thousandsSize:"number"},mandatory:!0},abbreviations:{type:"object",children:{thousand:{type:"string",mandatory:!0},million:{type:"string",mandatory:!0},billion:{type:"string",mandatory:!0},trillion:{type:"string",mandatory:!0}},mandatory:!0},spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",ordinal:{type:"function",mandatory:!0},bytes:{type:"object",children:{binarySuffixes:"object",decimalSuffixes:"object"}},currency:{type:"object",children:{symbol:"string",position:"string",code:"string"},mandatory:!0},defaults:"format",ordinalFormat:"format",byteFormat:"format",percentageFormat:"format",currencyFormat:"format",timeDefaults:"format",formats:{type:"object",children:{fourDigits:{type:"format",mandatory:!0},fullWithTwoDecimals:{type:"format",mandatory:!0},fullWithTwoDecimalsNoCurrency:{type:"format",mandatory:!0},fullWithNoDecimals:{type:"format",mandatory:!0}}}};function i(t){return void 0!==e.unformat(t)}function a(e,t,n,i=!1){let o=Object.keys(e).map(i=>{if(!t[i])return console.error(`${n} Invalid key: ${i}`),!1;let o=e[i],s=t[i];if("string"==typeof s&&(s={type:s}),"format"===s.type){if(!a(o,r,`[Validate ${i}]`,!0))return!1}else if(typeof o!==s.type)return console.error(`${n} ${i} type mismatched: "${s.type}" expected, "${typeof o}" provided`),!1;if(s.restrictions&&s.restrictions.length){let t=s.restrictions.length;for(let r=0;r<t;r++){let{restriction:t,message:a}=s.restrictions[r];if(!t(o,e))return console.error(`${n} ${i} invalid value: ${a}`),!1}}return s.restriction&&!s.restriction(o,e)?(console.error(`${n} ${i} invalid value: ${s.message}`),!1):s.validValues&&-1===s.validValues.indexOf(o)?(console.error(`${n} ${i} invalid value: must be among ${JSON.stringify(s.validValues)}, "${o}" provided`),!1):(!s.children||!!a(o,s.children,`[Validate ${i}]`))&&!0});return i||o.push(...Object.keys(t).map(r=>{let i=t[r];if("string"==typeof i&&(i={type:i}),i.mandatory){let t=i.mandatory;if("function"==typeof t&&(t=t(e)),t&&void 0===e[r])return console.error(`${n} Missing mandatory key "${r}"`),!1}return!0})),o.reduce((e,t)=>e&&t,!0)}function o(e){return a(e,r,"[Validate format]")}return l={validate:function(e,t){let r=i(e),n=o(t);return r&&n},validateFormat:o,validateInput:i,validateLanguage:function(e){return a(e,n,"[Validate language]")}}}var g=function(e,t={}){var r,n,i,a,o,s;let l,u,c,f,p;if("string"!=typeof e)return e;n=e=(l=(r=e).match(/^{([^}]*)}/))?(t.prefix=l[1],r.slice(l[0].length)):r,function(e,t){if(-1!==e.indexOf("$")){t.output="currency";return}if(-1!==e.indexOf("%")){t.output="percent";return}if(-1!==e.indexOf("bd")){t.output="byte",t.base="general";return}if(-1!==e.indexOf("b")){t.output="byte",t.base="binary";return}if(-1!==e.indexOf("d")){t.output="byte",t.base="decimal";return}if(-1!==e.indexOf(":")){t.output="time";return}-1!==e.indexOf("o")&&(t.output="ordinal")}(e=(u=n.match(/{([^}]*)}$/))?(t.postfix=u[1],n.slice(0,-u[0].length)):n,t),(c=e.match(/[1-9]+[0-9]*/))&&(t.totalLength=+c[0]),(f=e.split(".")[0].match(/0+/))&&(t.characteristic=f[0].length),-1!==(i=e).indexOf(".")&&(t.optionalCharacteristic=-1===i.split(".")[0].indexOf("0")),-1!==e.indexOf("a")&&(t.average=!0),-1!==(a=e).indexOf("K")?t.forceAverage="thousand":-1!==a.indexOf("M")?t.forceAverage="million":-1!==a.indexOf("B")?t.forceAverage="billion":-1!==a.indexOf("T")&&(t.forceAverage="trillion");let m=e.split(".")[1];if(m){let e=m.match(/0+/);e&&(t.mantissa=e[0].length)}return(o=e).match(/\[\.]/)?t.optionalMantissa=!0:o.match(/\./)&&(t.optionalMantissa=!1),(p=e.split(".")[1])&&(t.trimMantissa=-1!==p.indexOf("[")),-1!==e.indexOf(",")&&(t.thousandSeparated=!0),-1!==e.indexOf(" ")&&(t.spaceSeparated=!0,t.spaceSeparatedCurrency=!0,(t.average||t.forceAverage)&&(t.spaceSeparatedAbbreviation=!0)),(s=e).match(/^\+?\([^)]*\)$/)&&(t.negative="parenthesis"),s.match(/^\+?-/)&&(t.negative="sign"),e.match(/^\+/)&&(t.forceSign=!0),t};function h(){let e;if(f)return c;f=1;let t=a?i:(a=1,i={languageTag:"en-US",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},spaceSeparated:!1,ordinal:function(e){let t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},bytes:{binarySuffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],decimalSuffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},currency:{symbol:"$",position:"prefix",code:"USD"},currencyFormat:{thousandSeparated:!0,totalLength:4,spaceSeparated:!0,spaceSeparatedCurrency:!0},formats:{fourDigits:{totalLength:4,spaceSeparated:!0},fullWithTwoDecimals:{output:"currency",thousandSeparated:!0,mantissa:2},fullWithTwoDecimalsNoCurrency:{thousandSeparated:!0,mantissa:2},fullWithNoDecimals:{output:"currency",thousandSeparated:!0,mantissa:0}}}),r=d(),n={},o={},s=null,l={};function u(){return o[e]}return n.languages=()=>Object.assign({},o),n.currentLanguage=()=>e,n.currentBytes=()=>u().bytes||{},n.currentCurrency=()=>u().currency,n.currentAbbreviations=()=>u().abbreviations,n.currentDelimiters=()=>u().delimiters,n.currentOrdinal=()=>u().ordinal,n.currentDefaults=()=>Object.assign({},u().defaults,l),n.currentOrdinalDefaultFormat=()=>Object.assign({},n.currentDefaults(),u().ordinalFormat),n.currentByteDefaultFormat=()=>Object.assign({},n.currentDefaults(),u().byteFormat),n.currentPercentageDefaultFormat=()=>Object.assign({},n.currentDefaults(),u().percentageFormat),n.currentCurrencyDefaultFormat=()=>Object.assign({},n.currentDefaults(),u().currencyFormat),n.currentTimeDefaultFormat=()=>Object.assign({},n.currentDefaults(),u().timeFormat),n.setDefaults=e=>{e=g(e),r.validateFormat(e)&&(l=e)},n.getZeroFormat=()=>s,n.setZeroFormat=e=>s="string"==typeof e?e:null,n.hasZeroFormat=()=>null!==s,n.languageData=e=>{if(e){if(o[e])return o[e];throw Error(`Unknown tag "${e}"`)}return u()},n.registerLanguage=(t,n=!1)=>{if(!r.validateLanguage(t))throw Error("Invalid language data");o[t.languageTag]=t,n&&(e=t.languageTag)},n.setLanguage=(r,n=t.languageTag)=>{if(!o[r]){let t=r.split("-")[0],i=Object.keys(o).find(e=>e.split("-")[0]===t);return o[i]?void(e=i):void(e=n)}e=r},n.registerLanguage(t),e=t.languageTag,c=n}var b={exports:{}};(function(e){var t,r=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,n=Math.ceil,i=Math.floor,a="[BigNumber Error] ",o=a+"Number primitive has more than 15 significant digits: ",s=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13];function l(e){var t=0|e;return e>0||e===t?t:t-1}function u(e){for(var t,r,n=1,i=e.length,a=e[0]+"";n<i;){for(r=14-(t=e[n++]+"").length;r--;t="0"+t);a+=t}for(i=a.length;48===a.charCodeAt(--i););return a.slice(0,i+1||1)}function c(e,t){var r,n,i=e.c,a=t.c,o=e.s,s=t.s,l=e.e,u=t.e;if(!o||!s)return null;if(r=i&&!i[0],n=a&&!a[0],r||n)return r?n?0:-s:o;if(o!=s)return o;if(r=o<0,n=l==u,!i||!a)return n?0:!i^r?1:-1;if(!n)return l>u^r?1:-1;for(o=0,s=(l=i.length)<(u=a.length)?l:u;o<s;o++)if(i[o]!=a[o])return i[o]>a[o]^r?1:-1;return l==u?0:l>u^r?1:-1}function f(e,t,r,n){if(e<t||e>r||e!==i(e))throw Error(a+(n||"Argument")+("number"==typeof e?e<t||e>r?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function p(e){var t=e.c.length-1;return l(e.e/14)==t&&e.c[t]%2!=0}function m(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function d(e,t,r){var n,i;if(t<0){for(i=r+".";++t;i+=r);e=i+e}else if(n=e.length,++t>n){for(i=r,t-=n;--t;i+=r);e+=i}else t<n&&(e=e.slice(0,t)+"."+e.slice(t));return e}(t=function e(t){var g,h,b,y,v,w,x,S,D,A=U.prototype={constructor:U,toString:null,valueOf:null},B=new U(1),N=20,$=4,T=-7,O=21,M=-1e7,k=1e7,F=!1,E=1,C=0,I={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},L="0123456789abcdefghijklmnopqrstuvwxyz",P=!0;function U(e,t){var n,a,s,l,u,c,p,m,d=this;if(!(d instanceof U))return new U(e,t);if(null==t){if(e&&!0===e._isBigNumber){d.s=e.s,!e.c||e.e>k?d.c=d.e=null:e.e<M?d.c=[d.e=0]:(d.e=e.e,d.c=e.c.slice());return}if((c="number"==typeof e)&&0*e==0){if(d.s=1/e<0?(e=-e,-1):1,e===~~e){for(l=0,u=e;u>=10;u/=10,l++);l>k?d.c=d.e=null:(d.e=l,d.c=[e]);return}m=String(e)}else{if(!r.test(m=String(e)))return D(d,m,c);d.s=45==m.charCodeAt(0)?(m=m.slice(1),-1):1}(l=m.indexOf("."))>-1&&(m=m.replace(".","")),(u=m.search(/e/i))>0?(l<0&&(l=u),l+=+m.slice(u+1),m=m.substring(0,u)):l<0&&(l=m.length)}else{if(f(t,2,L.length,"Base"),10==t&&P)return W(d=new U(e),N+d.e+1,$);if(m=String(e),c="number"==typeof e){if(0*e!=0)return D(d,m,c,t);if(d.s=1/e<0?(m=m.slice(1),-1):1,U.DEBUG&&m.replace(/^0\.0*|\./,"").length>15)throw Error(o+e)}else d.s=45===m.charCodeAt(0)?(m=m.slice(1),-1):1;for(n=L.slice(0,t),l=u=0,p=m.length;u<p;u++)if(0>n.indexOf(a=m.charAt(u))){if("."==a){if(u>l){l=p;continue}}else if(!s&&(m==m.toUpperCase()&&(m=m.toLowerCase())||m==m.toLowerCase()&&(m=m.toUpperCase()))){s=!0,u=-1,l=0;continue}return D(d,String(e),c,t)}c=!1,(l=(m=S(m,t,10,d.s)).indexOf("."))>-1?m=m.replace(".",""):l=m.length}for(u=0;48===m.charCodeAt(u);u++);for(p=m.length;48===m.charCodeAt(--p););if(m=m.slice(u,++p)){if(p-=u,c&&U.DEBUG&&p>15&&(e>0x1fffffffffffff||e!==i(e)))throw Error(o+d.s*e);if((l=l-u-1)>k)d.c=d.e=null;else if(l<M)d.c=[d.e=0];else{if(d.e=l,d.c=[],u=(l+1)%14,l<0&&(u+=14),u<p){for(u&&d.c.push(+m.slice(0,u)),p-=14;u<p;)d.c.push(+m.slice(u,u+=14));u=14-(m=m.slice(u)).length}else u-=p;for(;u--;m+="0");d.c.push(+m)}}else d.c=[d.e=0]}function _(e,t,r,n){var i,a,o,s,l;if(null==r?r=$:f(r,0,8),!e.c)return e.toString();if(i=e.c[0],o=e.e,null==t)l=u(e.c),l=1==n||2==n&&(o<=T||o>=O)?m(l,o):d(l,o,"0");else if(a=(e=W(new U(e),t,r)).e,s=(l=u(e.c)).length,1==n||2==n&&(t<=a||a<=T)){for(;s<t;l+="0",s++);l=m(l,a)}else if(t-=o,l=d(l,a,"0"),a+1>s){if(--t>0)for(l+=".";t--;l+="0");}else if((t+=a-s)>0)for(a+1==s&&(l+=".");t--;l+="0");return e.s<0&&i?"-"+l:l}function j(e,t){for(var r,n,i=1,a=new U(e[0]);i<e.length;i++)(n=new U(e[i])).s&&(r=c(a,n))!==t&&(0!==r||a.s!==t)||(a=n);return a}function R(e,t,r){for(var n=1,i=t.length;!t[--i];t.pop());for(i=t[0];i>=10;i/=10,n++);return(r=n+14*r-1)>k?e.c=e.e=null:r<M?e.c=[e.e=0]:(e.e=r,e.c=t),e}function W(e,t,r,a){var o,l,u,c,f,p,m,d=e.c;if(d){e:{for(o=1,c=d[0];c>=10;c/=10,o++);if((l=t-o)<0)l+=14,u=t,m=i((f=d[p=0])/s[o-u-1]%10);else if((p=n((l+1)/14))>=d.length)if(a){for(;d.length<=p;d.push(0));f=m=0,o=1,l%=14,u=l-14+1}else break e;else{for(o=1,f=c=d[p];c>=10;c/=10,o++);l%=14,m=(u=l-14+o)<0?0:i(f/s[o-u-1]%10)}if(a=a||t<0||null!=d[p+1]||(u<0?f:f%s[o-u-1]),a=r<4?(m||a)&&(0==r||r==(e.s<0?3:2)):m>5||5==m&&(4==r||a||6==r&&(l>0?u>0?f/s[o-u]:0:d[p-1])%10&1||r==(e.s<0?8:7)),t<1||!d[0])return d.length=0,a?(t-=e.e+1,d[0]=s[(14-t%14)%14],e.e=-t||0):d[0]=e.e=0,e;if(0==l?(d.length=p,c=1,p--):(d.length=p+1,c=s[14-l],d[p]=u>0?i(f/s[o-u]%s[u])*c:0),a)for(;;)if(0==p){for(l=1,u=d[0];u>=10;u/=10,l++);for(u=d[0]+=c,c=1;u>=10;u/=10,c++);l!=c&&(e.e++,1e14==d[0]&&(d[0]=1));break}else{if(d[p]+=c,1e14!=d[p])break;d[p--]=0,c=1}for(l=d.length;0===d[--l];d.pop());}e.e>k?e.c=e.e=null:e.e<M&&(e.c=[e.e=0])}return e}function G(e){var t,r=e.e;return null===r?e.toString():(t=u(e.c),t=r<=T||r>=O?m(t,r):d(t,r,"0"),e.s<0?"-"+t:t)}return U.clone=e,U.ROUND_UP=0,U.ROUND_DOWN=1,U.ROUND_CEIL=2,U.ROUND_FLOOR=3,U.ROUND_HALF_UP=4,U.ROUND_HALF_DOWN=5,U.ROUND_HALF_EVEN=6,U.ROUND_HALF_CEIL=7,U.ROUND_HALF_FLOOR=8,U.EUCLID=9,U.config=U.set=function(e){var t,r;if(null!=e)if("object"==typeof e){if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(f(r=e[t],0,1e9,t),N=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(f(r=e[t],0,8,t),$=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((r=e[t])&&r.pop?(f(r[0],-1e9,0,t),f(r[1],0,1e9,t),T=r[0],O=r[1]):(f(r,-1e9,1e9,t),T=-(O=r<0?-r:r))),e.hasOwnProperty(t="RANGE"))if((r=e[t])&&r.pop)f(r[0],-1e9,-1,t),f(r[1],1,1e9,t),M=r[0],k=r[1];else if(f(r,-1e9,1e9,t),r)M=-(k=r<0?-r:r);else throw Error(a+t+" cannot be zero: "+r);if(e.hasOwnProperty(t="CRYPTO"))if(!!(r=e[t])===r)if(r)if("undefined"!=typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))F=r;else throw F=!r,Error(a+"crypto unavailable");else F=r;else throw Error(a+t+" not true or false: "+r);if(e.hasOwnProperty(t="MODULO_MODE")&&(f(r=e[t],0,9,t),E=r),e.hasOwnProperty(t="POW_PRECISION")&&(f(r=e[t],0,1e9,t),C=r),e.hasOwnProperty(t="FORMAT"))if("object"==typeof(r=e[t]))I=r;else throw Error(a+t+" not an object: "+r);if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(r=e[t])||/^.?$|[+\-.\s]|(.).*\1/.test(r))throw Error(a+t+" invalid: "+r);P="0123456789"==r.slice(0,10),L=r}}else throw Error(a+"Object expected: "+e);return{DECIMAL_PLACES:N,ROUNDING_MODE:$,EXPONENTIAL_AT:[T,O],RANGE:[M,k],CRYPTO:F,MODULO_MODE:E,POW_PRECISION:C,FORMAT:I,ALPHABET:L}},U.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!U.DEBUG)return!0;var t,r,n=e.c,o=e.e,s=e.s;e:if("[object Array]"==({}).toString.call(n)){if((1===s||-1===s)&&o>=-1e9&&o<=1e9&&o===i(o)){if(0===n[0]){if(0===o&&1===n.length)return!0;break e}if((t=(o+1)%14)<1&&(t+=14),String(n[0]).length==t){for(t=0;t<n.length;t++)if((r=n[t])<0||r>=1e14||r!==i(r))break e;if(0!==r)return!0}}}else if(null===n&&null===o&&(null===s||1===s||-1===s))return!0;throw Error(a+"Invalid BigNumber: "+e)},U.maximum=U.max=function(){return j(arguments,-1)},U.minimum=U.min=function(){return j(arguments,1)},g=0x20000000000000*Math.random()&2097151?function(){return i(0x20000000000000*Math.random())}:function(){return(0x40000000*Math.random()|0)*8388608+(8388608*Math.random()|0)},U.random=function(e){var t,r,o,l,u,c=0,p=[],m=new U(B);if(null==e?e=N:f(e,0,1e9),l=n(e/14),F)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(l*=2));c<l;)(u=131072*t[c]+(t[c+1]>>>11))>=9e15?(r=crypto.getRandomValues(new Uint32Array(2)),t[c]=r[0],t[c+1]=r[1]):(p.push(u%1e14),c+=2);c=l/2}else if(crypto.randomBytes){for(t=crypto.randomBytes(l*=7);c<l;)(u=(31&t[c])*0x1000000000000+0x10000000000*t[c+1]+0x100000000*t[c+2]+0x1000000*t[c+3]+(t[c+4]<<16)+(t[c+5]<<8)+t[c+6])>=9e15?crypto.randomBytes(7).copy(t,c):(p.push(u%1e14),c+=7);c=l/7}else throw F=!1,Error(a+"crypto unavailable");if(!F)for(;c<l;)(u=g())<9e15&&(p[c++]=u%1e14);for(l=p[--c],e%=14,l&&e&&(u=s[14-e],p[c]=i(l/u)*u);0===p[c];p.pop(),c--);if(c<0)p=[o=0];else{for(o=-1;0===p[0];p.splice(0,1),o-=14);for(c=1,u=p[0];u>=10;u/=10,c++);c<14&&(o-=14-c)}return m.e=o,m.c=p,m},U.sum=function(){for(var e=1,t=arguments,r=new U(t[0]);e<t.length;)r=r.plus(t[e++]);return r},S=function(){var e="0123456789";function t(e,t,r,n){for(var i,a,o=[0],s=0,l=e.length;s<l;){for(a=o.length;a--;o[a]*=t);for(o[0]+=n.indexOf(e.charAt(s++)),i=0;i<o.length;i++)o[i]>r-1&&(null==o[i+1]&&(o[i+1]=0),o[i+1]+=o[i]/r|0,o[i]%=r)}return o.reverse()}return function(r,n,i,a,o){var s,l,c,f,p,m,g,h,b=r.indexOf("."),y=N,v=$;for(b>=0&&(f=C,C=0,r=r.replace(".",""),m=(h=new U(n)).pow(r.length-b),C=f,h.c=t(d(u(m.c),m.e,"0"),10,i,e),h.e=h.c.length),c=f=(g=t(r,n,i,o?(s=L,e):(s=e,L))).length;0==g[--f];g.pop());if(!g[0])return s.charAt(0);if(b<0?--c:(m.c=g,m.e=c,m.s=a,g=(m=x(m,h,y,v,i)).c,p=m.r,c=m.e),b=g[l=c+y+1],f=i/2,p=p||l<0||null!=g[l+1],p=v<4?(null!=b||p)&&(0==v||v==(m.s<0?3:2)):b>f||b==f&&(4==v||p||6==v&&1&g[l-1]||v==(m.s<0?8:7)),l<1||!g[0])r=p?d(s.charAt(1),-y,s.charAt(0)):s.charAt(0);else{if(g.length=l,p)for(--i;++g[--l]>i;)g[l]=0,l||(++c,g=[1].concat(g));for(f=g.length;!g[--f];);for(b=0,r="";b<=f;r+=s.charAt(g[b++]));r=d(r,c,s.charAt(0))}return r}}(),x=function(){function e(e,t,r){var n,i,a,o,s=0,l=e.length,u=t%1e7,c=t/1e7|0;for(e=e.slice();l--;)n=c*(a=e[l]%1e7)+(o=e[l]/1e7|0)*u,s=((i=u*a+n%1e7*1e7+s)/r|0)+(n/1e7|0)+c*o,e[l]=i%r;return s&&(e=[s].concat(e)),e}function t(e,t,r,n){var i,a;if(r!=n)a=r>n?1:-1;else for(i=a=0;i<r;i++)if(e[i]!=t[i]){a=e[i]>t[i]?1:-1;break}return a}function r(e,t,r,n){for(var i=0;r--;)e[r]-=i,i=+(e[r]<t[r]),e[r]=i*n+e[r]-t[r];for(;!e[0]&&e.length>1;e.splice(0,1));}return function(n,a,o,s,u){var c,f,p,m,d,g,h,b,y,v,w,x,S,D,A,B,N,$=n.s==a.s?1:-1,T=n.c,O=a.c;if(!T||!T[0]||!O||!O[0])return new U(!n.s||!a.s||(T?O&&T[0]==O[0]:!O)?NaN:T&&0==T[0]||!O?0*$:$/0);for(y=(b=new U($)).c=[],$=o+(f=n.e-a.e)+1,u||(u=1e14,f=l(n.e/14)-l(a.e/14),$=$/14|0),p=0;O[p]==(T[p]||0);p++);if(O[p]>(T[p]||0)&&f--,$<0)y.push(1),m=!0;else{for(D=T.length,B=O.length,p=0,$+=2,(d=i(u/(O[0]+1)))>1&&(O=e(O,d,u),T=e(T,d,u),B=O.length,D=T.length),S=B,w=(v=T.slice(0,B)).length;w<B;v[w++]=0);N=[0].concat(N=O.slice()),A=O[0],O[1]>=u/2&&A++;do{if(d=0,(c=t(O,v,B,w))<0){if(x=v[0],B!=w&&(x=x*u+(v[1]||0)),(d=i(x/A))>1)for(d>=u&&(d=u-1),h=(g=e(O,d,u)).length,w=v.length;1==t(g,v,h,w);)d--,r(g,B<h?N:O,h,u),h=g.length,c=1;else 0==d&&(c=d=1),h=(g=O.slice()).length;if(h<w&&(g=[0].concat(g)),r(v,g,w,u),w=v.length,-1==c)for(;1>t(O,v,B,w);)d++,r(v,B<w?N:O,w,u),w=v.length}else 0===c&&(d++,v=[0]);y[p++]=d,v[0]?v[w++]=T[S]||0:(v=[T[S]],w=1)}while((S++<D||null!=v[0])&&$--);m=null!=v[0],y[0]||y.splice(0,1)}if(1e14==u){for(p=1,$=y[0];$>=10;$/=10,p++);W(b,o+(b.e=p+14*f-1)+1,s,m)}else b.e=f,b.r=+m;return b}}(),h=/^(-?)0([xbo])(?=\w[\w.]*$)/i,b=/^([^.]+)\.$/,y=/^\.([^.]+)$/,v=/^-?(Infinity|NaN)$/,w=/^\s*\+(?=[\w.])|^\s+|\s+$/g,D=function(e,t,r,n){var i,o=r?t:t.replace(w,"");if(v.test(o))e.s=isNaN(o)?null:o<0?-1:1;else{if(!r&&(o=o.replace(h,function(e,t,r){return i="x"==(r=r.toLowerCase())?16:"b"==r?2:8,n&&n!=i?e:t}),n&&(i=n,o=o.replace(b,"$1").replace(y,"0.$1")),t!=o))return new U(o,i);if(U.DEBUG)throw Error(a+"Not a"+(n?" base "+n:"")+" number: "+t);e.s=null}e.c=e.e=null},A.absoluteValue=A.abs=function(){var e=new U(this);return e.s<0&&(e.s=1),e},A.comparedTo=function(e,t){return c(this,new U(e,t))},A.decimalPlaces=A.dp=function(e,t){var r,n,i;if(null!=e)return f(e,0,1e9),null==t?t=$:f(t,0,8),W(new U(this),e+this.e+1,t);if(!(r=this.c))return null;if(n=((i=r.length-1)-l(this.e/14))*14,i=r[i])for(;i%10==0;i/=10,n--);return n<0&&(n=0),n},A.dividedBy=A.div=function(e,t){return x(this,new U(e,t),N,$)},A.dividedToIntegerBy=A.idiv=function(e,t){return x(this,new U(e,t),0,1)},A.exponentiatedBy=A.pow=function(e,t){var r,o,s,l,u,c,f,m,d,g=this;if((e=new U(e)).c&&!e.isInteger())throw Error(a+"Exponent not an integer: "+G(e));if(null!=t&&(t=new U(t)),c=e.e>14,!g.c||!g.c[0]||1==g.c[0]&&!g.e&&1==g.c.length||!e.c||!e.c[0])return d=new U(Math.pow(+G(g),c?e.s*(2-p(e)):+G(e))),t?d.mod(t):d;if(f=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new U(NaN);(o=!f&&g.isInteger()&&t.isInteger())&&(g=g.mod(t))}else{if(e.e>9&&(g.e>0||g.e<-1||(0==g.e?g.c[0]>1||c&&g.c[1]>=24e7:g.c[0]<8e13||c&&g.c[0]<=9999975e7)))return l=g.s<0&&p(e)?-0:0,g.e>-1&&(l=1/l),new U(f?1/l:l);C&&(l=n(C/14+2))}for(c?(r=new U(.5),f&&(e.s=1),m=p(e)):m=(s=Math.abs(+G(e)))%2,d=new U(B);;){if(m){if(!(d=d.times(g)).c)break;l?d.c.length>l&&(d.c.length=l):o&&(d=d.mod(t))}if(s){if(0===(s=i(s/2)))break;m=s%2}else if(W(e=e.times(r),e.e+1,1),e.e>14)m=p(e);else{if(0==(s=+G(e)))break;m=s%2}g=g.times(g),l?g.c&&g.c.length>l&&(g.c.length=l):o&&(g=g.mod(t))}return o?d:(f&&(d=B.div(d)),t?d.mod(t):l?W(d,C,$,u):d)},A.integerValue=function(e){var t=new U(this);return null==e?e=$:f(e,0,8),W(t,t.e+1,e)},A.isEqualTo=A.eq=function(e,t){return 0===c(this,new U(e,t))},A.isFinite=function(){return!!this.c},A.isGreaterThan=A.gt=function(e,t){return c(this,new U(e,t))>0},A.isGreaterThanOrEqualTo=A.gte=function(e,t){return 1===(t=c(this,new U(e,t)))||0===t},A.isInteger=function(){return!!this.c&&l(this.e/14)>this.c.length-2},A.isLessThan=A.lt=function(e,t){return 0>c(this,new U(e,t))},A.isLessThanOrEqualTo=A.lte=function(e,t){return -1===(t=c(this,new U(e,t)))||0===t},A.isNaN=function(){return!this.s},A.isNegative=function(){return this.s<0},A.isPositive=function(){return this.s>0},A.isZero=function(){return!!this.c&&0==this.c[0]},A.minus=function(e,t){var r,n,i,a,o=this.s;if(t=(e=new U(e,t)).s,!o||!t)return new U(NaN);if(o!=t)return e.s=-t,this.plus(e);var s=this.e/14,u=e.e/14,c=this.c,f=e.c;if(!s||!u){if(!c||!f)return c?(e.s=-t,e):new U(f?this:NaN);if(!c[0]||!f[0])return f[0]?(e.s=-t,e):new U(c[0]?this:3==$?-0:0)}if(s=l(s),u=l(u),c=c.slice(),o=s-u){for((a=o<0)?(o=-o,i=c):(u=s,i=f),i.reverse(),t=o;t--;i.push(0));i.reverse()}else for(n=(a=(o=c.length)<(t=f.length))?o:t,o=t=0;t<n;t++)if(c[t]!=f[t]){a=c[t]<f[t];break}if(a&&(i=c,c=f,f=i,e.s=-e.s),(t=(n=f.length)-(r=c.length))>0)for(;t--;c[r++]=0);for(t=1e14-1;n>o;){if(c[--n]<f[n]){for(r=n;r&&!c[--r];c[r]=t);--c[r],c[n]+=1e14}c[n]-=f[n]}for(;0==c[0];c.splice(0,1),--u);return c[0]?R(e,c,u):(e.s=3==$?-1:1,e.c=[e.e=0],e)},A.modulo=A.mod=function(e,t){var r,n;return(e=new U(e,t),this.c&&e.s&&(!e.c||e.c[0]))?e.c&&(!this.c||this.c[0])?(9==E?(n=e.s,e.s=1,r=x(this,e,0,3),e.s=n,r.s*=n):r=x(this,e,0,E),(e=this.minus(r.times(e))).c[0]||1!=E||(e.s=this.s),e):new U(this):new U(NaN)},A.multipliedBy=A.times=function(e,t){var r,n,i,a,o,s,u,c,f,p,m,d,g,h=this.c,b=(e=new U(e,t)).c;if(!h||!b||!h[0]||!b[0])return this.s&&e.s&&(!h||h[0]||b)&&(!b||b[0]||h)?(e.s*=this.s,h&&b?(e.c=[0],e.e=0):e.c=e.e=null):e.c=e.e=e.s=null,e;for(n=l(this.e/14)+l(e.e/14),e.s*=this.s,(u=h.length)<(p=b.length)&&(g=h,h=b,b=g,i=u,u=p,p=i),i=u+p,g=[];i--;g.push(0));for(i=p;--i>=0;){for(r=0,m=b[i]%1e7,d=b[i]/1e7|0,a=i+(o=u);a>i;)s=d*(c=h[--o]%1e7)+(f=h[o]/1e7|0)*m,r=((c=m*c+s%1e7*1e7+g[a]+r)/1e14|0)+(s/1e7|0)+d*f,g[a--]=c%1e14;g[a]=r}return r?++n:g.splice(0,1),R(e,g,n)},A.negated=function(){var e=new U(this);return e.s=-e.s||null,e},A.plus=function(e,t){var r,n=this.s;if(t=(e=new U(e,t)).s,!n||!t)return new U(NaN);if(n!=t)return e.s=-t,this.minus(e);var i=this.e/14,a=e.e/14,o=this.c,s=e.c;if(!i||!a){if(!o||!s)return new U(n/0);if(!o[0]||!s[0])return s[0]?e:new U(o[0]?this:0*n)}if(i=l(i),a=l(a),o=o.slice(),n=i-a){for(n>0?(a=i,r=s):(n=-n,r=o),r.reverse();n--;r.push(0));r.reverse()}for((n=o.length)-(t=s.length)<0&&(r=s,s=o,o=r,t=n),n=0;t;)n=(o[--t]=o[t]+s[t]+n)/1e14|0,o[t]=1e14===o[t]?0:o[t]%1e14;return n&&(o=[n].concat(o),++a),R(e,o,a)},A.precision=A.sd=function(e,t){var r,n,i;if(null!=e&&!!e!==e)return f(e,1,1e9),null==t?t=$:f(t,0,8),W(new U(this),e,t);if(!(r=this.c))return null;if(n=14*(i=r.length-1)+1,i=r[i]){for(;i%10==0;i/=10,n--);for(i=r[0];i>=10;i/=10,n++);}return e&&this.e+1>n&&(n=this.e+1),n},A.shiftedBy=function(e){return f(e,-0x1fffffffffffff,0x1fffffffffffff),this.times("1e"+e)},A.squareRoot=A.sqrt=function(){var e,t,r,n,i,a=this.c,o=this.s,s=this.e,c=N+4,f=new U("0.5");if(1!==o||!a||!a[0])return new U(!o||o<0&&(!a||a[0])?NaN:a?this:1/0);if(0==(o=Math.sqrt(+G(this)))||o==1/0?(((t=u(a)).length+s)%2==0&&(t+="0"),o=Math.sqrt(+t),s=l((s+1)/2)-(s<0||s%2),r=new U(t=o==1/0?"5e"+s:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+s)):r=new U(o+""),r.c[0]){for((o=(s=r.e)+c)<3&&(o=0);;)if(i=r,r=f.times(i.plus(x(this,i,c,1))),u(i.c).slice(0,o)===(t=u(r.c)).slice(0,o)){if(r.e<s&&--o,"9999"!=(t=t.slice(o-3,o+1))&&(n||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(W(r,r.e+N+2,1),e=!r.times(r).eq(this));break}if(!n&&(W(i,i.e+N+2,0),i.times(i).eq(this))){r=i;break}c+=4,o+=4,n=1}}return W(r,r.e+N+1,$,e)},A.toExponential=function(e,t){return null!=e&&(f(e,0,1e9),e++),_(this,e,t,1)},A.toFixed=function(e,t){return null!=e&&(f(e,0,1e9),e=e+this.e+1),_(this,e,t)},A.toFormat=function(e,t,r){var n;if(null==r)null!=e&&t&&"object"==typeof t?(r=t,t=null):e&&"object"==typeof e?(r=e,e=t=null):r=I;else if("object"!=typeof r)throw Error(a+"Argument not an object: "+r);if(n=this.toFixed(e,t),this.c){var i,o=n.split("."),s=+r.groupSize,l=+r.secondaryGroupSize,u=r.groupSeparator||"",c=o[0],f=o[1],p=this.s<0,m=p?c.slice(1):c,d=m.length;if(l&&(i=s,s=l,l=i,d-=i),s>0&&d>0){for(i=d%s||s,c=m.substr(0,i);i<d;i+=s)c+=u+m.substr(i,s);l>0&&(c+=u+m.slice(i)),p&&(c="-"+c)}n=f?c+(r.decimalSeparator||"")+((l=+r.fractionGroupSize)?f.replace(RegExp("\\d{"+l+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):f):c}return(r.prefix||"")+n+(r.suffix||"")},A.toFraction=function(e){var t,r,n,i,o,l,c,f,p,m,d,g,h=this.c;if(null!=e&&(!(c=new U(e)).isInteger()&&(c.c||1!==c.s)||c.lt(B)))throw Error(a+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+G(c));if(!h)return new U(this);for(t=new U(B),p=r=new U(B),n=f=new U(B),g=u(h),o=t.e=g.length-this.e-1,t.c[0]=s[(l=o%14)<0?14+l:l],e=!e||c.comparedTo(t)>0?o>0?t:p:c,l=k,k=1/0,c=new U(g),f.c[0]=0;m=x(c,t,0,1),1!=(i=r.plus(m.times(n))).comparedTo(e);)r=n,n=i,p=f.plus(m.times(i=p)),f=i,t=c.minus(m.times(i=t)),c=i;return i=x(e.minus(r),n,0,1),f=f.plus(i.times(p)),r=r.plus(i.times(n)),f.s=p.s=this.s,o*=2,d=1>x(p,n,o,$).minus(this).abs().comparedTo(x(f,r,o,$).minus(this).abs())?[p,n]:[f,r],k=l,d},A.toNumber=function(){return+G(this)},A.toPrecision=function(e,t){return null!=e&&f(e,1,1e9),_(this,e,t,2)},A.toString=function(e){var t,r=this,n=r.s,i=r.e;return null===i?n?(t="Infinity",n<0&&(t="-"+t)):t="NaN":(null==e?t=i<=T||i>=O?m(u(r.c),i):d(u(r.c),i,"0"):10===e&&P?t=d(u((r=W(new U(r),N+i+1,$)).c),r.e,"0"):(f(e,2,L.length,"Base"),t=S(d(u(r.c),i,"0"),10,e,n,!0)),n<0&&r.c[0]&&(t="-"+t)),t},A.valueOf=A.toJSON=function(){return G(this)},A._isBigNumber=!0,null!=t&&U.set(t),U}()).default=t.BigNumber=t,b.exports?b.exports=t:(e||(e="undefined"!=typeof self&&self?self:window),e.BigNumber=t)})(p);var y=b.exports;let v=h(),w=d(),x={trillion:1e12,billion:1e9,million:1e6,thousand:1e3},S={totalLength:0,characteristic:0,forceAverage:!1,average:!1,mantissa:-1,optionalMantissa:!0,thousandSeparated:!1,spaceSeparated:!1,negative:"sign",forceSign:!1,roundingFunction:Math.round,spaceSeparatedAbbreviation:!1},{binarySuffixes:D,decimalSuffixes:A}=v.currentBytes(),B={scale:1024,suffixes:A,marker:"bd"},N={scale:1024,suffixes:D,marker:"b"},$={scale:1e3,suffixes:A,marker:"d"};function T(e,t,r){let n=t[0],i=Math.abs(e);if(i>=r){for(let a=1;a<t.length;++a){let o=Math.pow(r,a),s=Math.pow(r,a+1);if(i>=o&&i<s){n=t[a],e/=o;break}}n===t[0]&&(e/=Math.pow(r,t.length-1),n=t[t.length-1])}return{value:e,suffix:n}}function O(e){let t="";for(let r=0;r<e;r++)t+="0";return t}function M({instance:e,providedFormat:t,state:r=v,decimalSeparator:n,defaults:i=r.currentDefaults()}){var a,o,s,l,u;let c,f,p,m,d,g,h,b=e._value;if(0===b&&r.hasZeroFormat())return r.getZeroFormat();if(!isFinite(b))return b.toString();let w=Object.assign({},S,i,t),D=w.totalLength,A=D?0:w.characteristic,B=w.optionalCharacteristic,N=w.forceAverage,$=w.lowPrecision,T=!!D||!!N||w.average,M=D?-1:T&&void 0===t.mantissa?0:w.mantissa,k=!D&&(void 0===t.optionalMantissa?-1===M:w.optionalMantissa),F=w.trimMantissa,E=w.thousandSeparated,C=w.spaceSeparated,I=w.negative,L=w.forceSign,P=w.exponential,U=w.roundingFunction,_="";if(T){let e=function({value:e,forceAverage:t,lowPrecision:r=!0,abbreviations:n,spaceSeparated:i=!1,totalLength:a=0,roundingFunction:o=Math.round}){let s="",l=Math.abs(e),u=-1;if(t&&n[t]&&x[t]?(s=n[t],e/=x[t]):l>=x.trillion||r&&1===o(l/x.trillion)?(s=n.trillion,e/=x.trillion):l<x.trillion&&l>=x.billion||r&&1===o(l/x.billion)?(s=n.billion,e/=x.billion):l<x.billion&&l>=x.million||r&&1===o(l/x.million)?(s=n.million,e/=x.million):(l<x.million&&l>=x.thousand||r&&1===o(l/x.thousand))&&(s=n.thousand,e/=x.thousand),s&&(s=(i?" ":"")+s),a){let t=e<0,r=e.toString().split(".")[0];u=Math.max(a-(t?r.length-1:r.length),0)}return{value:e,abbreviation:s,mantissaPrecision:u}}({value:b,forceAverage:N,lowPrecision:$,abbreviations:r.currentAbbreviations(),spaceSeparated:C,roundingFunction:U,totalLength:D});b=e.value,_+=e.abbreviation,D&&(M=e.mantissaPrecision)}if(P){let e=function({value:e,characteristicPrecision:t}){let[r,n]=e.toExponential().split("e"),i=+r;return t&&1<t&&(i*=Math.pow(10,t-1),n-=t-1,n=n>=0?`+${n}`:n),{value:i,abbreviation:`e${n}`}}({value:b,characteristicPrecision:A});b=e.value,_=e.abbreviation+_}let j=function(e,t,r,n,i,a){if(-1===n)return e;let o=function(e,t,r=Math.round){return -1!==e.toString().indexOf("e")?function(e,t){let r=e.toString(),[n,i]=r.split("e"),[a,o=""]=n.split(".");if(+i>0)r=a+o+O(i-o.length);else{let e=".";e=0>+a?`-0${e}`:`0${e}`;let n=(O(-i-1)+Math.abs(a)+o).substr(0,t);n.length<t&&(n+=O(t-n.length)),r=e+n}return+i>0&&t>0&&(r+=`.${O(t)}`),r}(e,t):new y(r(+`${e}e+${t}`)/Math.pow(10,t)).toFixed(t)}(t,n,a),[s,l=""]=o.toString().split(".");if(l.match(/^0+$/)&&(r||i))return s;let u=l.match(/0+$/);return i&&u?`${s}.${l.toString().slice(0,u.index)}`:o.toString()}(b.toString(),b,k,M,F,U);return a=j=function(e,t,r,n){let i=e,[a,o]=i.toString().split(".");if(a.match(/^-?0$/)&&r)return o?`${a.replace("0","")}.${o}`:a.replace("0","");let s=t<0&&0===a.indexOf("-");if(s&&(a=a.slice(1),i=i.slice(1)),a.length<n){let e=n-a.length;for(let t=0;t<e;t++)i=`0${i}`}return s&&(i=`-${i}`),i.toString()}(j,b,B,A),o=b,s=n,f=(c=r.currentDelimiters()).thousands,s=s||c.decimal,p=c.thousandsSize||3,d=(m=a.toString()).split(".")[0],g=m.split(".")[1],h=o<0&&0===d.indexOf("-"),E&&(h&&(d=d.slice(1)),(function(e,t){let r=[],n=0;for(let i=e;i>0;i--)n===t&&(r.unshift(i),n=0),n++;return r})(d.length,p).forEach((e,t)=>{d=d.slice(0,e+t)+f+d.slice(e+t)}),h&&(d=`-${d}`)),j=m=g?d+s+g:d,(T||P)&&(j+=_),(L||b<0)&&(l=j,j=0===(u=b)?l:0==+l?l.replace("-",""):u>0?`+${l}`:"sign"===I?l:`(${l.replace("-","")})`),j}function k(e,t){if(!e)return t;let r=Object.keys(e);return 1===r.length&&"output"===r[0]?t:e}function F(e,t,r){let n=new y(e._value),i=t;return r.isNumbro(t)&&(i=t._value),i=new y(i),e._value=n.minus(i).toNumber(),e}let E=h(),C=d(),I={loadLanguagesInNode:e=>{e.forEach(e=>{let t;try{t=function(e){throw Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}(`../languages/${e}`)}catch(t){console.error(`Unable to load "${e}". No matching language file found.`)}t&&R.registerLanguage(t)})}},L=m(),P={format:(...e)=>(function(e,t={},r){if("string"==typeof t&&(t=g(t)),!w.validateFormat(t))return"ERROR: invalid format";let n=t.prefix||"",i=t.postfix||"",a=function(e,t,r){var n,i,a;switch(t.output){case"currency":let o,s,l,u,c,f,p,m,d,g;return n=t=k(t,v.currentCurrencyDefaultFormat()),o=v.currentCurrency(),l=Object.assign({},S,s=Object.assign({},n)),c="",f=!!l.totalLength||!!l.forceAverage||l.average,p=s.currencyPosition||o.position,m=s.currencySymbol||o.symbol,d=void 0!==l.spaceSeparatedCurrency?l.spaceSeparatedCurrency:l.spaceSeparated,void 0===s.lowPrecision&&(s.lowPrecision=!1),d&&(c=" "),"infix"===p&&(u=c+m+c),g=M({instance:e,providedFormat:s,state:v,decimalSeparator:u}),"prefix"===p&&(g=e._value<0&&"sign"===l.negative?`-${c}${m}${g.slice(1)}`:e._value>0&&l.forceSign?`+${c}${m}${g.slice(1)}`:m+c+g),p&&"postfix"!==p||(g=g+(c=!l.spaceSeparatedAbbreviation&&f?"":c)+m),g;case"percent":let h,b,y;return i=t=k(t,v.currentPercentageDefaultFormat()),h=i.prefixSymbol,b=M({instance:r(100*e._value),providedFormat:i,state:v}),y=Object.assign({},S,i),h?`%${y.spaceSeparated?" ":""}${b}`:`${b}${y.spaceSeparated?" ":""}%`;case"byte":return function(e,t,r,n){let i=t.base||"binary",a=Object.assign({},S,t),{binarySuffixes:o,decimalSuffixes:s}=r.currentBytes(),l={general:{scale:1024,suffixes:s||A,marker:"bd"},binary:{scale:1024,suffixes:o||D,marker:"b"},decimal:{scale:1e3,suffixes:s||A,marker:"d"}}[i],{value:u,suffix:c}=T(e._value,l.suffixes,l.scale),f=M({instance:n(u),providedFormat:t,state:r,defaults:r.currentByteDefaultFormat()});return`${f}${a.spaceSeparated?" ":""}${c}`}(e,t=k(t,v.currentByteDefaultFormat()),v,r);case"time":let w,x,B;return t=k(t,v.currentTimeDefaultFormat()),w=Math.floor(e._value/60/60),x=Math.floor((e._value-60*w*60)/60),B=Math.round(e._value-60*w*60-60*x),`${w}:${x<10?"0":""}${x}:${B<10?"0":""}${B}`;case"ordinal":let N,$,O,F;return a=t=k(t,v.currentOrdinalDefaultFormat()),N=v.currentOrdinal(),$=Object.assign({},S,a),O=M({instance:e,providedFormat:a,state:v}),F=N(e._value),`${O}${$.spaceSeparated?" ":""}${F}`;default:return M({instance:e,providedFormat:t,numbro:r})}}(e,t,r);return(a=n+a)+i})(...e,R),getByteUnit:(...e)=>(function(e){return T(e._value,B.suffixes,B.scale).suffix})(...e,R),getBinaryByteUnit:(...e)=>(function(e){return T(e._value,N.suffixes,N.scale).suffix})(...e,R),getDecimalByteUnit:(...e)=>(function(e){return T(e._value,$.suffixes,$.scale).suffix})(...e,R),formatOrDefault:k},U={add:(e,t)=>{let r,n;return r=new y(e._value),n=t,R.isNumbro(t)&&(n=t._value),n=new y(n),e._value=r.plus(n).toNumber(),e},subtract:(e,t)=>F(e,t,R),multiply:(e,t)=>{let r,n;return r=new y(e._value),n=t,R.isNumbro(t)&&(n=t._value),n=new y(n),e._value=r.times(n).toNumber(),e},divide:(e,t)=>{let r,n;return r=new y(e._value),n=t,R.isNumbro(t)&&(n=t._value),n=new y(n),e._value=r.dividedBy(n).toNumber(),e},set:(e,t)=>{let r;return r=t,R.isNumbro(t)&&(r=t._value),e._value=r,e},difference:(e,t)=>{let r;return F(r=R(e._value),t,R),Math.abs(r._value)},BigNumber:y};class _{constructor(e){this._value=e}clone(){return R(this._value)}format(e={}){return P.format(this,e)}formatCurrency(e){return"string"==typeof e&&(e=g(e)),(e=P.formatOrDefault(e,E.currentCurrencyDefaultFormat())).output="currency",P.format(this,e)}formatTime(e={}){return e.output="time",P.format(this,e)}binaryByteUnits(){return P.getBinaryByteUnit(this)}decimalByteUnits(){return P.getDecimalByteUnit(this)}byteUnits(){return P.getByteUnit(this)}difference(e){return U.difference(this,e)}add(e){return U.add(this,e)}subtract(e){return U.subtract(this,e)}multiply(e){return U.multiply(this,e)}divide(e){return U.divide(this,e)}set(e){return U.set(this,j(e))}value(){return this._value}valueOf(){return this._value}}function j(e){let t=e;return R.isNumbro(e)?t=e._value:"string"==typeof e?t=R.unformat(e):isNaN(e)&&(t=NaN),t}function R(e){return new _(j(e))}R.version="2.5.0",R.isNumbro=function(e){return e instanceof _},R.language=E.currentLanguage,R.registerLanguage=E.registerLanguage,R.setLanguage=E.setLanguage,R.languages=E.languages,R.languageData=E.languageData,R.zeroFormat=E.setZeroFormat,R.defaultFormat=E.currentDefaults,R.setDefaults=E.setDefaults,R.defaultCurrencyFormat=E.currentCurrencyDefaultFormat,R.validate=C.validate,R.loadLanguagesInNode=I.loadLanguagesInNode,R.unformat=L.unformat,R.BigNumber=U.BigNumber;var W=R&&R.__esModule&&Object.prototype.hasOwnProperty.call(R,"default")?R.default:R,G=r(71065);function V(e,{unit:t="bytes",shortValues:r,decimalPlaces:n}){let i="decbytes"===t;if(!(0,G.jb)(r)||Math.abs(e)<(i?1e3:1024)){let t={style:"unit",unit:"byte",unitDisplay:"long",useGrouping:!0};return(0,G.IU)(n)?(t.minimumFractionDigits=(0,G.To)(n),t.maximumFractionDigits=(0,G.To)(n)):(0,G.jb)(r)&&(t.maximumSignificantDigits=3),Intl.NumberFormat("en-US",t).format(e)}return W(e).format({output:"byte",base:i?"decimal":"binary",spaceSeparated:!0,mantissa:(0,G.IU)(n)?n:2,trimMantissa:!(0,G.IU)(n),optionalMantissa:!(0,G.IU)(n)})}function Z(e,{unit:t="bits",shortValues:r,decimalPlaces:n}){let i="decbits"===t;if(!(0,G.jb)(r)||Math.abs(e)<(i?1e3:1024)){let t={style:"decimal",useGrouping:!0};return(0,G.IU)(n)?(t.minimumFractionDigits=(0,G.To)(n),t.maximumFractionDigits=(0,G.To)(n)):(0,G.jb)(r)&&(t.maximumSignificantDigits=3),Intl.NumberFormat("en-US",t).format(e)+" bits"}return W(e).format({output:"byte",base:i?"decimal":"binary",spaceSeparated:!0,mantissa:(0,G.IU)(n)?n:2,trimMantissa:!(0,G.IU)(n),optionalMantissa:!(0,G.IU)(n)}).replace(/KB/g,"Kb").replace(/MB/g,"Mb").replace(/GB/g,"Gb").replace(/TB/g,"Tb").replace(/PB/g,"Pb").replace(/EB/g,"Eb").replace(/KiB/g,"Kib").replace(/MiB/g,"Mib").replace(/GiB/g,"Gib").replace(/TiB/g,"Tib").replace(/PiB/g,"Pib").replace(/EiB/g,"Eib")}let q="Percent",K="Temperature",Y="Time";var z=((n={}).nanoseconds="nanosecond",n.microseconds="microsecond",n.milliseconds="millisecond",n.seconds="second",n.minutes="minute",n.hours="hour",n.days="day",n.weeks="week",n.months="month",n.years="year",n);let H={years:31536e3,months:2592e3,weeks:604800,days:86400,hours:3600,minutes:60,seconds:1,milliseconds:.001,microseconds:1e-6,nanoseconds:1e-9},J=["years","months","weeks","days","hours","minutes","seconds","milliseconds","microseconds","nanoseconds"],X="Throughput";var Q=r(40224);let ee="Currency",et="Date",er={Time:{label:"Time",decimalPlaces:!0},Percent:{label:"percent",decimalPlaces:!0},Decimal:{label:"Decimal",decimalPlaces:!0,shortValues:!0},Bytes:{label:"Bytes",decimalPlaces:!0,shortValues:!0},Bits:{label:"Bits",decimalPlaces:!0,shortValues:!0},Throughput:{label:"Throughput",decimalPlaces:!0},Currency:{label:"Currency",decimalPlaces:!0},Temperature:{label:K,decimalPlaces:!0},Date:{label:"Date & Time"}},en={nanoseconds:{group:Y,label:"Nanoseconds"},microseconds:{group:Y,label:"Microseconds"},milliseconds:{group:Y,label:"Milliseconds"},seconds:{group:Y,label:"Seconds"},minutes:{group:Y,label:"Minutes"},hours:{group:Y,label:"Hours"},days:{group:Y,label:"Days"},weeks:{group:Y,label:"Weeks"},months:{group:Y,label:"Months"},years:{group:Y,label:"Years"},percent:{group:q,label:"Percent (0-100)"},"percent-decimal":{group:q,label:"Percent (0.0-1.0)"},"%":{disableSelectorOption:!0,group:q,label:"%"},decimal:{group:"Decimal",label:"Decimal"},bytes:{group:"Bytes",label:"Bytes (IEC)"},decbytes:{group:"Bytes",label:"Bytes (SI)"},bits:{group:"Bits",label:"Bits (IEC)"},decbits:{group:"Bits",label:"Bits (SI)"},"bits/sec":{group:X,label:"Bits/sec (IEC)"},"decbits/sec":{group:X,label:"Bits/sec (SI)"},"bytes/sec":{group:X,label:"Bytes/sec (IEC)"},"decbytes/sec":{group:X,label:"Bytes/sec (SI)"},"counts/sec":{group:X,label:"Counts/sec"},"events/sec":{group:X,label:"Events/sec"},"messages/sec":{group:X,label:"Messages/sec"},"ops/sec":{group:X,label:"Ops/sec"},"packets/sec":{group:X,label:"Packets/sec"},"reads/sec":{group:X,label:"Reads/sec"},"requests/sec":{group:X,label:"Requests/sec"},"records/sec":{group:X,label:"Records/sec"},"rows/sec":{group:X,label:"Rows/sec"},"writes/sec":{group:X,label:"Writes/sec"},aud:{group:ee,label:"Australian Dollar (A$)"},cad:{group:ee,label:"Canadian Dollar (CA$)"},chf:{group:ee,label:"Swiss Franc (CHF)"},cny:{group:ee,label:"Renminbi (CN\xa5)"},eur:{group:ee,label:"Euro (€)"},gbp:{group:ee,label:"Pound (\xa3)"},hkd:{group:ee,label:"Hong Kong Dollar (HK$)"},inr:{group:ee,label:"Indian Rupee (₹)"},jpy:{group:ee,label:"Yen (\xa5)"},krw:{group:ee,label:"South Korean Won (₩)"},nok:{group:ee,label:"Norwegian Krone (NOK)"},nzd:{group:ee,label:"New Zealand Dollar (NZ$)"},sek:{group:ee,label:"Swedish Krona (SEK)"},sgd:{group:ee,label:"Singapore Dollar (S$)"},usd:{group:ee,label:"US Dollar ($)"},celsius:{group:K,label:"Celsius (\xb0C)"},fahrenheit:{group:K,label:"Fahrenheit (\xb0F)"},"datetime-iso":{group:et,label:"DateTime (GMT)"},"datetime-us":{group:et,label:"DateTime (US-East)"},"datetime-local":{group:et,label:"DateTime (Browser Local)"},"date-iso":{group:et,label:"Date (GMT)"},"date-us":{group:et,label:"Date (US-East)"},"date-local":{group:et,label:"Date (Browser Local)"},"time-local":{group:et,label:"Time (Browser Local)"},"time-iso":{group:et,label:"Time (GMT)"},"time-us":{group:et,label:"Time (US-East)"},"relative-time":{group:et,label:"Relative Time"},"unix-timestamp":{group:et,label:"Unix Timestamp (s)"},"unix-timestamp-ms":{group:et,label:"Unix Timestamp (ms)"}};function ei(e,t){if(!t)return e.toString();if(ef(t))return V(e,t);if(ep(t))return Z(e,t);if(ec(t))return function(e,{shortValues:t,decimalPlaces:r}){let n={style:"decimal",useGrouping:!0};return(0,G.jb)(t)&&(n.notation="compact"),(0,G.IU)(r)?(n.minimumFractionDigits=(0,G.To)(r),n.maximumFractionDigits=(0,G.To)(r)):(0,G.jb)(t)&&(n.maximumSignificantDigits=3),Intl.NumberFormat("en-US",n).format(e)}(e,t);if(eu(t))return function(e,{unit:t,decimalPlaces:r}){let n={style:"percent",useGrouping:!0};return(0,G.IU)(r)?(n.minimumFractionDigits=(0,G.To)(r),n.maximumFractionDigits=(0,G.To)(r)):n.maximumSignificantDigits=3,"percent"===t&&(e/=100),Intl.NumberFormat("en-US",n).format(e)}(e,t);if(el(t))return function(e,{unit:t,decimalPlaces:r}){var n;if(0===e)return"0s";let i=function(e,t){let r=e*H[t],n=J[0]||"years",i=n,a=r/H[n];for(i of J)if((a=r/H[i])>=1)break;return{value:a,unit:i}}(e,t??"seconds"),a={style:"unit",unit:z[i.unit],unitDisplay:"months"===(n=i.unit)||"years"===n?"long":"narrow"};return(0,G.IU)(r)?(a.minimumFractionDigits=(0,G.To)(r),a.maximumFractionDigits=(0,G.To)(r)):a.maximumSignificantDigits=3,Intl.NumberFormat("en-US",a).format(i.value)}(e,t);if(eg(t))return function(e,{unit:t,shortValues:r,decimalPlaces:n}){if("bits/sec"===t){let t=1024>Math.abs(e)?"sec":"s";return Z(e,{unit:"bits",shortValues:r,decimalPlaces:n})+"/"+t}if("decbits/sec"===t){let t=1e3>Math.abs(e)?"sec":"s";return Z(e,{unit:"decbits",shortValues:r,decimalPlaces:n})+"/"+t}if("decbytes/sec"===t){let t=1e3>Math.abs(e)?"sec":"s";return V(e,{unit:"decbytes",shortValues:r,decimalPlaces:n})+"/"+t}if("bytes/sec"===t){let t=1024>Math.abs(e)?"sec":"s";return V(e,{unit:"bytes",shortValues:r,decimalPlaces:n})+"/"+t}let i={style:"decimal",useGrouping:!0};return(0,G.jb)(r)&&(i.notation="compact"),(0,G.IU)(n)?(i.minimumFractionDigits=(0,G.To)(n),i.maximumFractionDigits=(0,G.To)(n)):(0,G.jb)(r)&&(i.maximumSignificantDigits=3),Intl.NumberFormat("en-US",i).format(e)+" "+t}(e,t);if(eh(t))return function(e,{unit:t,decimalPlaces:r}){let n={style:"currency",currency:(0,Q.toUpper)(t),currencyDisplay:"symbol"};return(0,G.IU)(r)?(n.minimumFractionDigits=(0,G.To)(r),n.maximumFractionDigits=(0,G.To)(r)):n.maximumSignificantDigits=3,Intl.NumberFormat("en-US",n).format(e)}(e,t);if(eb(t))return function(e,t={}){let r=Intl.DateTimeFormat().resolvedOptions().timeZone,{unit:n="datetime-local",locale:i=(()=>{if("undefined"!=typeof navigator){if(navigator.language)return navigator.language;if(navigator.languages&&navigator.languages.length>0){let e=navigator.languages[0];if(e)return e}let e=navigator;if(e.userLanguage)return e.userLanguage;if(e.browserLanguage)return e.browserLanguage;if(e.systemLanguage)return e.systemLanguage}return Intl.DateTimeFormat().resolvedOptions().locale||"en-US"})(),timeZone:a=r,referenceTime:o=Date.now()}=t;if("unix-timestamp"===n)return(e>1e12?Math.floor(e/1e3):e).toString();if("unix-timestamp-ms"===n)return Math.floor(e<1e11?1e3*e:e).toString();let s=function(e){if(e<0)if(Math.abs(e)>1e10)return new Date(e);else return new Date(1e3*e);if(e>=25e10&&e<=26e10){let t=new Date(1e3*e);if(t.getUTCFullYear()>=9999)return t}return new Date(e<1e10?1e3*e:e)}(e);if("relative-time"===n){let e=new Date(o),t=s.getTime()-e.getTime();for(let{unit:e,ms:r}of[{unit:"year",ms:31536e6},{unit:"month",ms:2592e6},{unit:"week",ms:6048e5},{unit:"day",ms:864e5},{unit:"hour",ms:36e5},{unit:"minute",ms:6e4},{unit:"second",ms:1e3}]){let n=Math.round(t/r);if(Math.abs(n)>=1)return new Intl.RelativeTimeFormat(i,{numeric:"auto"}).format(n,e)}return new Intl.RelativeTimeFormat(i,{numeric:"auto"}).format(0,"second")}let l={timeZone:a};switch(n){case"datetime-iso":return s.toISOString();case"datetime-us":return l.timeZone="America/New_York",l.year="numeric",l.month="2-digit",l.day="2-digit",l.hour="2-digit",l.minute="2-digit",l.second="2-digit",l.hour12=!0,new Intl.DateTimeFormat("en-US",l).format(s);case"datetime-local":l.year="numeric",l.month="2-digit",l.day="2-digit",l.hour="2-digit",l.minute="2-digit",l.second="2-digit",l.hour12=!1;break;case"date-iso":return s.toISOString().split("T")[0];case"date-us":return l.timeZone="America/New_York",l.year="numeric",l.month="2-digit",l.day="2-digit",new Intl.DateTimeFormat("en-US",l).format(s);case"date-local":l.year="numeric",l.month="2-digit",l.day="2-digit";break;case"time-local":l.hour="2-digit",l.minute="2-digit",l.second="2-digit",l.hour12=!1;break;case"time-iso":return s.toISOString().split("T")[1].replace("Z","");case"time-us":return l.timeZone="America/New_York",l.hour="2-digit",l.minute="2-digit",l.second="2-digit",l.hour12=!0,new Intl.DateTimeFormat("en-US",l).format(s);default:throw Error(`Unknown date unit: ${n}`)}return new Intl.DateTimeFormat(i,l).format(s)}(e,t);if(ey(t))return((e,{unit:t,decimalPlaces:r})=>{let n={unit:t,style:"unit"};(0,G.IU)(r)?(n.minimumFractionDigits=(0,G.To)(r),n.maximumFractionDigits=(0,G.To)(r)):n.maximumSignificantDigits=3;let i="celsius"===t?"en-GB":"en-US";return Intl.NumberFormat(i,n).format(e)})(e,t);throw Error(`Unknown unit options ${t}`)}function ea(e){return en[e.unit??"decimal"]}function eo(e){return ea(e).group??"Decimal"}function es(e){return er[ea(e).group??"Decimal"]}function el(e){return"Time"===eo(e)}function eu(e){return"Percent"===eo(e)}function ec(e){return"Decimal"===eo(e)}function ef(e){return"Bytes"===eo(e)}function ep(e){return"Bits"===eo(e)}function em(e){return!!es(e).decimalPlaces}function ed(e){return!!es(e).shortValues}function eg(e){return"Throughput"===eo(e)}function eh(e){return"Currency"===eo(e)}function eb(e){return"Date"===eo(e)}function ey(e){return"Temperature"===eo(e)}},71065:function(e,t,r){function n(e){return!1!==e}function i(e){return"number"==typeof e}function a(e){return e&&(e<0?e=0:e>20&&(e=20)),e}r.d(t,{IU:()=>i,To:()=>a,jb:()=>n})},7800:function(e,t,r){var n;t.default=void 0,t.default=(0,((n=r(1448))&&n.__esModule?n:{default:n}).default)("M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z","Close")},42524:function(e,t,r){var n;t.default=void 0,t.default=(0,((n=r(1448))&&n.__esModule?n:{default:n}).default)("M19,13H5V11H19V13Z","Minus")}}]);
|