@perses-dev/scatter-chart-plugin 0.11.0-beta.0 → 0.11.0-beta.2

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.
Files changed (43) hide show
  1. package/__mf/js/ScatterChart.30c3d368.js +7 -0
  2. package/__mf/js/async/181.c7d3eed2.js +2 -0
  3. package/__mf/js/async/181.c7d3eed2.js.LICENSE.txt +9 -0
  4. package/__mf/js/async/222.72c6f282.js +147 -0
  5. package/__mf/js/async/{301.643f002b.js.LICENSE.txt → 222.72c6f282.js.LICENSE.txt} +26 -2
  6. package/__mf/js/async/285.76f8ba2e.js +7 -0
  7. package/__mf/js/async/386.c425d184.js +2 -0
  8. package/__mf/js/async/386.c425d184.js.LICENSE.txt +9 -0
  9. package/__mf/js/async/90.8382577e.js +24 -0
  10. package/__mf/js/async/{986.287d4ccd.js.LICENSE.txt → 90.8382577e.js.LICENSE.txt} +5 -3
  11. package/__mf/js/async/__federation_expose_ScatterChart.5ab2b939.js +2 -0
  12. package/__mf/js/async/__federation_expose_ScatterChart.5ab2b939.js.LICENSE.txt +9 -0
  13. package/__mf/js/async/lib-router.ac74a3dc.js +2 -0
  14. package/__mf/js/async/{lib-router.3e810b61.js.LICENSE.txt → lib-router.ac74a3dc.js.LICENSE.txt} +3 -3
  15. package/__mf/js/main.458f9590.js +7 -0
  16. package/lib/ScatterChartPanel.d.ts +1 -1
  17. package/lib/ScatterChartPanel.d.ts.map +1 -1
  18. package/lib/ScatterChartPanel.js.map +1 -1
  19. package/lib/Scatterplot.d.ts.map +1 -1
  20. package/lib/Scatterplot.js +1 -2
  21. package/lib/Scatterplot.js.map +1 -1
  22. package/lib/cjs/Scatterplot.js +2 -3
  23. package/lib/mock-trace-data.d.ts +1 -1
  24. package/lib/mock-trace-data.js.map +1 -1
  25. package/lib/scatter-chart-model.d.ts +1 -1
  26. package/lib/scatter-chart-model.d.ts.map +1 -1
  27. package/lib/scatter-chart-model.js.map +1 -1
  28. package/mf-manifest.json +14 -16
  29. package/mf-stats.json +14 -16
  30. package/package.json +5 -4
  31. package/__mf/js/ScatterChart.7ec4d004.js +0 -7
  32. package/__mf/js/async/282.ec0a0600.js +0 -1
  33. package/__mf/js/async/301.643f002b.js +0 -2
  34. package/__mf/js/async/366.421872cb.js +0 -24
  35. package/__mf/js/async/366.421872cb.js.LICENSE.txt +0 -35
  36. package/__mf/js/async/558.54cf316c.js +0 -1
  37. package/__mf/js/async/755.e44e74f9.js +0 -7
  38. package/__mf/js/async/986.287d4ccd.js +0 -147
  39. package/__mf/js/async/__federation_expose_ScatterChart.e6e00868.js +0 -1
  40. package/__mf/js/async/lib-router.3e810b61.js +0 -2
  41. package/__mf/js/main.9cf99f7c.js +0 -7
  42. /package/__mf/css/async/{755.85c2cbf6.css → 285.85c2cbf6.css} +0 -0
  43. /package/__mf/js/async/{755.e44e74f9.js.LICENSE.txt → 285.76f8ba2e.js.LICENSE.txt} +0 -0
@@ -1,2 +0,0 @@
1
- /*! For license information please see 301.643f002b.js.LICENSE.txt */
2
- "use strict";(self["chunk_ScatterChart "]=self["chunk_ScatterChart "]||[]).push([["301"],{20009(e,t,r){r.d(t,{A:()=>I});var n,i,a,o,s,l,u,c,f="u">typeof globalThis?globalThis:"u">typeof window?window:void 0!==r.g?r.g:"u">typeof self?self:{};function h(){if(o)return a;o=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 a={unformat:function(r,n){let i,a=d(),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){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 h=parseFloat(n);if(isNaN(h))return;let g=o(h);if(g&&"."!==g&&(c=n.replace(RegExp(`${t(g)}$`),""))!==n)return r(c,i,a,o,s,l);let p={};Object.keys(l).forEach(e=>{p[l[e]]=e});let d=Object.keys(p).sort().reverse(),m=d.length;for(let e=0;e<m;e++){let t=d[e],u=p[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 g(){if(l)return s;l=1;let e=h(),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 s={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 p=function(e,t={}){var r,n,i,a,o,s;let l,u,c,f,h;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 g=e.split(".")[1];if(g){let e=g.match(/0+/);e&&(t.mantissa=e[0].length)}return(o=e).match(/\[\.]/)?t.optionalMantissa=!0:o.match(/\./)&&(t.optionalMantissa=!1),(h=e.split(".")[1])&&(t.trimMantissa=-1!==h.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 d(){let e;if(c)return u;c=1;let t=i?n:(i=1,n={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=g(),a={},o={},s=null,l={};function f(){return o[e]}return a.languages=()=>Object.assign({},o),a.currentLanguage=()=>e,a.currentBytes=()=>f().bytes||{},a.currentCurrency=()=>f().currency,a.currentAbbreviations=()=>f().abbreviations,a.currentDelimiters=()=>f().delimiters,a.currentOrdinal=()=>f().ordinal,a.currentDefaults=()=>Object.assign({},f().defaults,l),a.currentOrdinalDefaultFormat=()=>Object.assign({},a.currentDefaults(),f().ordinalFormat),a.currentByteDefaultFormat=()=>Object.assign({},a.currentDefaults(),f().byteFormat),a.currentPercentageDefaultFormat=()=>Object.assign({},a.currentDefaults(),f().percentageFormat),a.currentCurrencyDefaultFormat=()=>Object.assign({},a.currentDefaults(),f().currencyFormat),a.currentTimeDefaultFormat=()=>Object.assign({},a.currentDefaults(),f().timeFormat),a.setDefaults=e=>{e=p(e),r.validateFormat(e)&&(l=e)},a.getZeroFormat=()=>s,a.setZeroFormat=e=>s="string"==typeof e?e:null,a.hasZeroFormat=()=>null!==s,a.languageData=e=>{if(e){if(o[e])return o[e];throw Error(`Unknown tag "${e}"`)}return f()},a.registerLanguage=(t,n=!1)=>{if(!r.validateLanguage(t))throw Error("Invalid language data");o[t.languageTag]=t,n&&(e=t.languageTag)},a.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},a.registerLanguage(t),e=t.languageTag,u=a}var m={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 h(e){var t=e.c.length-1;return l(e.e/14)==t&&e.c[t]%2!=0}function g(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function p(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 d,m,y,b,v,w,O,x,N,S=j.prototype={constructor:j,toString:null,valueOf:null},$=new j(1),B=20,_=4,D=-7,E=21,A=-1e7,k=1e7,F=!1,M=1,L=0,C={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},P="0123456789abcdefghijklmnopqrstuvwxyz",T=!0;function j(e,t){var n,a,s,l,u,c,h,g,p=this;if(!(p instanceof j))return new j(e,t);if(null==t){if(e&&!0===e._isBigNumber){p.s=e.s,!e.c||e.e>k?p.c=p.e=null:e.e<A?p.c=[p.e=0]:(p.e=e.e,p.c=e.c.slice());return}if((c="number"==typeof e)&&0*e==0){if(p.s=1/e<0?(e=-e,-1):1,e===~~e){for(l=0,u=e;u>=10;u/=10,l++);l>k?p.c=p.e=null:(p.e=l,p.c=[e]);return}g=String(e)}else{if(!r.test(g=String(e)))return N(p,g,c);p.s=45==g.charCodeAt(0)?(g=g.slice(1),-1):1}(l=g.indexOf("."))>-1&&(g=g.replace(".","")),(u=g.search(/e/i))>0?(l<0&&(l=u),l+=+g.slice(u+1),g=g.substring(0,u)):l<0&&(l=g.length)}else{if(f(t,2,P.length,"Base"),10==t&&T)return G(p=new j(e),B+p.e+1,_);if(g=String(e),c="number"==typeof e){if(0*e!=0)return N(p,g,c,t);if(p.s=1/e<0?(g=g.slice(1),-1):1,j.DEBUG&&g.replace(/^0\.0*|\./,"").length>15)throw Error(o+e)}else p.s=45===g.charCodeAt(0)?(g=g.slice(1),-1):1;for(n=P.slice(0,t),l=u=0,h=g.length;u<h;u++)if(0>n.indexOf(a=g.charAt(u))){if("."==a){if(u>l){l=h;continue}}else if(!s&&(g==g.toUpperCase()&&(g=g.toLowerCase())||g==g.toLowerCase()&&(g=g.toUpperCase()))){s=!0,u=-1,l=0;continue}return N(p,String(e),c,t)}c=!1,(l=(g=x(g,t,10,p.s)).indexOf("."))>-1?g=g.replace(".",""):l=g.length}for(u=0;48===g.charCodeAt(u);u++);for(h=g.length;48===g.charCodeAt(--h););if(g=g.slice(u,++h)){if(h-=u,c&&j.DEBUG&&h>15&&(e>0x1fffffffffffff||e!==i(e)))throw Error(o+p.s*e);if((l=l-u-1)>k)p.c=p.e=null;else if(l<A)p.c=[p.e=0];else{if(p.e=l,p.c=[],u=(l+1)%14,l<0&&(u+=14),u<h){for(u&&p.c.push(+g.slice(0,u)),h-=14;u<h;)p.c.push(+g.slice(u,u+=14));u=14-(g=g.slice(u)).length}else u-=h;for(;u--;g+="0");p.c.push(+g)}}else p.c=[p.e=0]}function R(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<=D||o>=E)?g(l,o):p(l,o,"0");else if(a=(e=G(new j(e),t,r)).e,s=(l=u(e.c)).length,1==n||2==n&&(t<=a||a<=D)){for(;s<t;l+="0",s++);l=g(l,a)}else if(t-=o,l=p(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 U(e,t){for(var r,n,i=1,a=new j(e[0]);i<e.length;i++)(n=new j(e[i])).s&&(r=c(a,n))!==t&&(0!==r||a.s!==t)||(a=n);return a}function I(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<A?e.c=[e.e=0]:(e.e=r,e.c=t),e}function G(e,t,r,a){var o,l,u,c,f,h,g,p=e.c;if(p){e:{for(o=1,c=p[0];c>=10;c/=10,o++);if((l=t-o)<0)l+=14,u=t,g=i((f=p[h=0])/s[o-u-1]%10);else if((h=n((l+1)/14))>=p.length)if(a){for(;p.length<=h;p.push(0));f=g=0,o=1,l%=14,u=l-14+1}else break e;else{for(o=1,f=c=p[h];c>=10;c/=10,o++);l%=14,g=(u=l-14+o)<0?0:i(f/s[o-u-1]%10)}if(a=a||t<0||null!=p[h+1]||(u<0?f:f%s[o-u-1]),a=r<4?(g||a)&&(0==r||r==(e.s<0?3:2)):g>5||5==g&&(4==r||a||6==r&&(l>0?u>0?f/s[o-u]:0:p[h-1])%10&1||r==(e.s<0?8:7)),t<1||!p[0])return p.length=0,a?(t-=e.e+1,p[0]=s[(14-t%14)%14],e.e=-t||0):p[0]=e.e=0,e;if(0==l?(p.length=h,c=1,h--):(p.length=h+1,c=s[14-l],p[h]=u>0?i(f/s[o-u]%s[u])*c:0),a)for(;;)if(0==h){for(l=1,u=p[0];u>=10;u/=10,l++);for(u=p[0]+=c,c=1;u>=10;u/=10,c++);l!=c&&(e.e++,1e14==p[0]&&(p[0]=1));break}else{if(p[h]+=c,1e14!=p[h])break;p[h--]=0,c=1}for(l=p.length;0===p[--l];p.pop());}e.e>k?e.c=e.e=null:e.e<A&&(e.c=[e.e=0])}return e}function V(e){var t,r=e.e;return null===r?e.toString():(t=u(e.c),t=r<=D||r>=E?g(t,r):p(t,r,"0"),e.s<0?"-"+t:t)}return j.clone=e,j.ROUND_UP=0,j.ROUND_DOWN=1,j.ROUND_CEIL=2,j.ROUND_FLOOR=3,j.ROUND_HALF_UP=4,j.ROUND_HALF_DOWN=5,j.ROUND_HALF_EVEN=6,j.ROUND_HALF_CEIL=7,j.ROUND_HALF_FLOOR=8,j.EUCLID=9,j.config=j.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),B=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),D=r[0],E=r[1]):(f(r,-1e9,1e9,t),D=-(E=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),A=r[0],k=r[1];else if(f(r,-1e9,1e9,t),r)A=-(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("u">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),M=r),e.hasOwnProperty(t="POW_PRECISION")&&(f(r=e[t],0,1e9,t),L=r),e.hasOwnProperty(t="FORMAT"))if("object"==typeof(r=e[t]))C=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);T="0123456789"==r.slice(0,10),P=r}}else throw Error(a+"Object expected: "+e);return{DECIMAL_PLACES:B,ROUNDING_MODE:_,EXPONENTIAL_AT:[D,E],RANGE:[A,k],CRYPTO:F,MODULO_MODE:M,POW_PRECISION:L,FORMAT:C,ALPHABET:P}},j.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!j.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)},j.maximum=j.max=function(){return U(arguments,-1)},j.minimum=j.min=function(){return U(arguments,1)},d=0x20000000000000*Math.random()&2097151?function(){return i(0x20000000000000*Math.random())}:function(){return(0x40000000*Math.random()|0)*8388608+(8388608*Math.random()|0)},j.random=function(e){var t,r,o,l,u,c=0,h=[],g=new j($);if(null==e?e=B: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]):(h.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):(h.push(u%1e14),c+=7);c=l/7}else throw F=!1,Error(a+"crypto unavailable");if(!F)for(;c<l;)(u=d())<9e15&&(h[c++]=u%1e14);for(l=h[--c],e%=14,l&&e&&(u=s[14-e],h[c]=i(l/u)*u);0===h[c];h.pop(),c--);if(c<0)h=[o=0];else{for(o=-1;0===h[0];h.splice(0,1),o-=14);for(c=1,u=h[0];u>=10;u/=10,c++);c<14&&(o-=14-c)}return g.e=o,g.c=h,g},j.sum=function(){for(var e=1,t=arguments,r=new j(t[0]);e<t.length;)r=r.plus(t[e++]);return r},x=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,h,g,d,m,y=r.indexOf("."),b=B,v=_;for(y>=0&&(f=L,L=0,r=r.replace(".",""),g=(m=new j(n)).pow(r.length-y),L=f,m.c=t(p(u(g.c),g.e,"0"),10,i,e),m.e=m.c.length),c=f=(d=t(r,n,i,o?(s=P,e):(s=e,P))).length;0==d[--f];d.pop());if(!d[0])return s.charAt(0);if(y<0?--c:(g.c=d,g.e=c,g.s=a,d=(g=O(g,m,b,v,i)).c,h=g.r,c=g.e),y=d[l=c+b+1],f=i/2,h=h||l<0||null!=d[l+1],h=v<4?(null!=y||h)&&(0==v||v==(g.s<0?3:2)):y>f||y==f&&(4==v||h||6==v&&1&d[l-1]||v==(g.s<0?8:7)),l<1||!d[0])r=h?p(s.charAt(1),-b,s.charAt(0)):s.charAt(0);else{if(d.length=l,h)for(--i;++d[--l]>i;)d[l]=0,l||(++c,d=[1].concat(d));for(f=d.length;!d[--f];);for(y=0,r="";y<=f;r+=s.charAt(d[y++]));r=p(r,c,s.charAt(0))}return r}}(),O=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,h,g,p,d,m,y,b,v,w,O,x,N,S,$,B,_=n.s==a.s?1:-1,D=n.c,E=a.c;if(!D||!D[0]||!E||!E[0])return new j(!n.s||!a.s||(D?E&&D[0]==E[0]:!E)?NaN:D&&0==D[0]||!E?0*_:_/0);for(b=(y=new j(_)).c=[],_=o+(f=n.e-a.e)+1,u||(u=1e14,f=l(n.e/14)-l(a.e/14),_=_/14|0),h=0;E[h]==(D[h]||0);h++);if(E[h]>(D[h]||0)&&f--,_<0)b.push(1),g=!0;else{for(N=D.length,$=E.length,h=0,_+=2,(p=i(u/(E[0]+1)))>1&&(E=e(E,p,u),D=e(D,p,u),$=E.length,N=D.length),x=$,w=(v=D.slice(0,$)).length;w<$;v[w++]=0);B=[0].concat(B=E.slice()),S=E[0],E[1]>=u/2&&S++;do{if(p=0,(c=t(E,v,$,w))<0){if(O=v[0],$!=w&&(O=O*u+(v[1]||0)),(p=i(O/S))>1)for(p>=u&&(p=u-1),m=(d=e(E,p,u)).length,w=v.length;1==t(d,v,m,w);)p--,r(d,$<m?B:E,m,u),m=d.length,c=1;else 0==p&&(c=p=1),m=(d=E.slice()).length;if(m<w&&(d=[0].concat(d)),r(v,d,w,u),w=v.length,-1==c)for(;1>t(E,v,$,w);)p++,r(v,$<w?B:E,w,u),w=v.length}else 0===c&&(p++,v=[0]);b[h++]=p,v[0]?v[w++]=D[x]||0:(v=[D[x]],w=1)}while((x++<N||null!=v[0])&&_--);g=null!=v[0],b[0]||b.splice(0,1)}if(1e14==u){for(h=1,_=b[0];_>=10;_/=10,h++);G(y,o+(y.e=h+14*f-1)+1,s,g)}else y.e=f,y.r=+g;return y}}(),m=/^(-?)0([xbo])(?=\w[\w.]*$)/i,y=/^([^.]+)\.$/,b=/^\.([^.]+)$/,v=/^-?(Infinity|NaN)$/,w=/^\s*\+(?=[\w.])|^\s+|\s+$/g,N=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(m,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(y,"$1").replace(b,"0.$1")),t!=o))return new j(o,i);if(j.DEBUG)throw Error(a+"Not a"+(n?" base "+n:"")+" number: "+t);e.s=null}e.c=e.e=null},S.absoluteValue=S.abs=function(){var e=new j(this);return e.s<0&&(e.s=1),e},S.comparedTo=function(e,t){return c(this,new j(e,t))},S.decimalPlaces=S.dp=function(e,t){var r,n,i;if(null!=e)return f(e,0,1e9),null==t?t=_:f(t,0,8),G(new j(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},S.dividedBy=S.div=function(e,t){return O(this,new j(e,t),B,_)},S.dividedToIntegerBy=S.idiv=function(e,t){return O(this,new j(e,t),0,1)},S.exponentiatedBy=S.pow=function(e,t){var r,o,s,l,u,c,f,g,p,d=this;if((e=new j(e)).c&&!e.isInteger())throw Error(a+"Exponent not an integer: "+V(e));if(null!=t&&(t=new j(t)),c=e.e>14,!d.c||!d.c[0]||1==d.c[0]&&!d.e&&1==d.c.length||!e.c||!e.c[0])return p=new j(Math.pow(+V(d),c?e.s*(2-h(e)):+V(e))),t?p.mod(t):p;if(f=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new j(NaN);(o=!f&&d.isInteger()&&t.isInteger())&&(d=d.mod(t))}else{if(e.e>9&&(d.e>0||d.e<-1||(0==d.e?d.c[0]>1||c&&d.c[1]>=24e7:d.c[0]<8e13||c&&d.c[0]<=9999975e7)))return l=d.s<0&&h(e)?-0:0,d.e>-1&&(l=1/l),new j(f?1/l:l);L&&(l=n(L/14+2))}for(c?(r=new j(.5),f&&(e.s=1),g=h(e)):g=(s=Math.abs(+V(e)))%2,p=new j($);;){if(g){if(!(p=p.times(d)).c)break;l?p.c.length>l&&(p.c.length=l):o&&(p=p.mod(t))}if(s){if(0===(s=i(s/2)))break;g=s%2}else if(G(e=e.times(r),e.e+1,1),e.e>14)g=h(e);else{if(0==(s=+V(e)))break;g=s%2}d=d.times(d),l?d.c&&d.c.length>l&&(d.c.length=l):o&&(d=d.mod(t))}return o?p:(f&&(p=$.div(p)),t?p.mod(t):l?G(p,L,_,u):p)},S.integerValue=function(e){var t=new j(this);return null==e?e=_:f(e,0,8),G(t,t.e+1,e)},S.isEqualTo=S.eq=function(e,t){return 0===c(this,new j(e,t))},S.isFinite=function(){return!!this.c},S.isGreaterThan=S.gt=function(e,t){return c(this,new j(e,t))>0},S.isGreaterThanOrEqualTo=S.gte=function(e,t){return 1===(t=c(this,new j(e,t)))||0===t},S.isInteger=function(){return!!this.c&&l(this.e/14)>this.c.length-2},S.isLessThan=S.lt=function(e,t){return 0>c(this,new j(e,t))},S.isLessThanOrEqualTo=S.lte=function(e,t){return -1===(t=c(this,new j(e,t)))||0===t},S.isNaN=function(){return!this.s},S.isNegative=function(){return this.s<0},S.isPositive=function(){return this.s>0},S.isZero=function(){return!!this.c&&0==this.c[0]},S.minus=function(e,t){var r,n,i,a,o=this.s;if(t=(e=new j(e,t)).s,!o||!t)return new j(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 j(f?this:NaN);if(!c[0]||!f[0])return f[0]?(e.s=-t,e):new j(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]?I(e,c,u):(e.s=3==_?-1:1,e.c=[e.e=0],e)},S.modulo=S.mod=function(e,t){var r,n;return(e=new j(e,t),this.c&&e.s&&(!e.c||e.c[0]))?e.c&&(!this.c||this.c[0])?(9==M?(n=e.s,e.s=1,r=O(this,e,0,3),e.s=n,r.s*=n):r=O(this,e,0,M),(e=this.minus(r.times(e))).c[0]||1!=M||(e.s=this.s),e):new j(this):new j(NaN)},S.multipliedBy=S.times=function(e,t){var r,n,i,a,o,s,u,c,f,h,g,p,d,m=this.c,y=(e=new j(e,t)).c;if(!m||!y||!m[0]||!y[0])return this.s&&e.s&&(!m||m[0]||y)&&(!y||y[0]||m)?(e.s*=this.s,m&&y?(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=m.length)<(h=y.length)&&(d=m,m=y,y=d,i=u,u=h,h=i),i=u+h,d=[];i--;d.push(0));for(i=h;--i>=0;){for(r=0,g=y[i]%1e7,p=y[i]/1e7|0,a=i+(o=u);a>i;)s=p*(c=m[--o]%1e7)+(f=m[o]/1e7|0)*g,r=((c=g*c+s%1e7*1e7+d[a]+r)/1e14|0)+(s/1e7|0)+p*f,d[a--]=c%1e14;d[a]=r}return r?++n:d.splice(0,1),I(e,d,n)},S.negated=function(){var e=new j(this);return e.s=-e.s||null,e},S.plus=function(e,t){var r,n=this.s;if(t=(e=new j(e,t)).s,!n||!t)return new j(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 j(n/0);if(!o[0]||!s[0])return s[0]?e:new j(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),I(e,o,a)},S.precision=S.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),G(new j(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},S.shiftedBy=function(e){return f(e,-0x1fffffffffffff,0x1fffffffffffff),this.times("1e"+e)},S.squareRoot=S.sqrt=function(){var e,t,r,n,i,a=this.c,o=this.s,s=this.e,c=B+4,f=new j("0.5");if(1!==o||!a||!a[0])return new j(!o||o<0&&(!a||a[0])?NaN:a?this:1/0);if(0==(o=Math.sqrt(+V(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 j(t=o==1/0?"5e"+s:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+s)):r=new j(o+""),r.c[0]){for((o=(s=r.e)+c)<3&&(o=0);;)if(i=r,r=f.times(i.plus(O(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))||(G(r,r.e+B+2,1),e=!r.times(r).eq(this));break}if(!n&&(G(i,i.e+B+2,0),i.times(i).eq(this))){r=i;break}c+=4,o+=4,n=1}}return G(r,r.e+B+1,_,e)},S.toExponential=function(e,t){return null!=e&&(f(e,0,1e9),e++),R(this,e,t,1)},S.toFixed=function(e,t){return null!=e&&(f(e,0,1e9),e=e+this.e+1),R(this,e,t)},S.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=C;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],h=this.s<0,g=h?c.slice(1):c,p=g.length;if(l&&(i=s,s=l,l=i,p-=i),s>0&&p>0){for(i=p%s||s,c=g.substr(0,i);i<p;i+=s)c+=u+g.substr(i,s);l>0&&(c+=u+g.slice(i)),h&&(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||"")},S.toFraction=function(e){var t,r,n,i,o,l,c,f,h,g,p,d,m=this.c;if(null!=e&&(!(c=new j(e)).isInteger()&&(c.c||1!==c.s)||c.lt($)))throw Error(a+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+V(c));if(!m)return new j(this);for(t=new j($),h=r=new j($),n=f=new j($),d=u(m),o=t.e=d.length-this.e-1,t.c[0]=s[(l=o%14)<0?14+l:l],e=!e||c.comparedTo(t)>0?o>0?t:h:c,l=k,k=1/0,c=new j(d),f.c[0]=0;g=O(c,t,0,1),1!=(i=r.plus(g.times(n))).comparedTo(e);)r=n,n=i,h=f.plus(g.times(i=h)),f=i,t=c.minus(g.times(i=t)),c=i;return i=O(e.minus(r),n,0,1),f=f.plus(i.times(h)),r=r.plus(i.times(n)),f.s=h.s=this.s,o*=2,p=1>O(h,n,o,_).minus(this).abs().comparedTo(O(f,r,o,_).minus(this).abs())?[h,n]:[f,r],k=l,p},S.toNumber=function(){return+V(this)},S.toPrecision=function(e,t){return null!=e&&f(e,1,1e9),R(this,e,t,2)},S.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<=D||i>=E?g(u(r.c),i):p(u(r.c),i,"0"):10===e&&T?t=p(u((r=G(new j(r),B+i+1,_)).c),r.e,"0"):(f(e,2,P.length,"Base"),t=x(p(u(r.c),i,"0"),10,e,n,!0)),n<0&&r.c[0]&&(t="-"+t)),t},S.valueOf=S.toJSON=function(){return V(this)},S._isBigNumber=!0,null!=t&&j.set(t),j}()).default=t.BigNumber=t,m.exports?m.exports=t:(e||(e="u">typeof self&&self?self:window),e.BigNumber=t)})(f);var y=m.exports;let b=d(),v=g(),w={trillion:1e12,billion:1e9,million:1e6,thousand:1e3},O={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:x,decimalSuffixes:N}=b.currentBytes(),S={scale:1024,suffixes:N,marker:"bd"},$={scale:1024,suffixes:x,marker:"b"},B={scale:1e3,suffixes:N,marker:"d"};function _(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 D(e){let t="";for(let r=0;r<e;r++)t+="0";return t}function E({instance:e,providedFormat:t,state:r=b,decimalSeparator:n,defaults:i=r.currentDefaults()}){var a,o,s,l,u;let c,f,h,g,p,d,m,v=e._value;if(0===v&&r.hasZeroFormat())return r.getZeroFormat();if(!isFinite(v))return v.toString();let x=Object.assign({},O,i,t),N=x.totalLength,S=N?0:x.characteristic,$=x.optionalCharacteristic,B=x.forceAverage,_=x.lowPrecision,A=!!N||!!B||x.average,k=N?-1:A&&void 0===t.mantissa?0:x.mantissa,F=!N&&(void 0===t.optionalMantissa?-1===k:x.optionalMantissa),M=x.trimMantissa,L=x.thousandSeparated,C=x.spaceSeparated,P=x.negative,T=x.forceSign,j=x.exponential,R=x.roundingFunction,U="";if(A){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]&&w[t]?(s=n[t],e/=w[t]):l>=w.trillion||r&&1===o(l/w.trillion)?(s=n.trillion,e/=w.trillion):l<w.trillion&&l>=w.billion||r&&1===o(l/w.billion)?(s=n.billion,e/=w.billion):l<w.billion&&l>=w.million||r&&1===o(l/w.million)?(s=n.million,e/=w.million):(l<w.million&&l>=w.thousand||r&&1===o(l/w.thousand))&&(s=n.thousand,e/=w.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:v,forceAverage:B,lowPrecision:_,abbreviations:r.currentAbbreviations(),spaceSeparated:C,roundingFunction:R,totalLength:N});v=e.value,U+=e.abbreviation,N&&(k=e.mantissaPrecision)}if(j){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:v,characteristicPrecision:S});v=e.value,U=e.abbreviation+U}let I=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+D(i-o.length);else{let e=".";e=0>+a?`-0${e}`:`0${e}`;let n=(D(-i-1)+Math.abs(a)+o).substr(0,t);n.length<t&&(n+=D(t-n.length)),r=e+n}return+i>0&&t>0&&(r+=`.${D(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()}(v.toString(),v,F,k,M,R);return a=I=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()}(I,v,$,S),o=v,s=n,f=(c=r.currentDelimiters()).thousands,s=s||c.decimal,h=c.thousandsSize||3,p=(g=a.toString()).split(".")[0],d=g.split(".")[1],m=o<0&&0===p.indexOf("-"),L&&(m&&(p=p.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})(p.length,h).forEach((e,t)=>{p=p.slice(0,e+t)+f+p.slice(e+t)}),m&&(p=`-${p}`)),I=g=d?p+s+d:p,(A||j)&&(I+=U),(T||v<0)&&(l=I,I=0===(u=v)?l:0==+l?l.replace("-",""):u>0?`+${l}`:"sign"===P?l:`(${l.replace("-","")})`),I}function A(e,t){if(!e)return t;let r=Object.keys(e);return 1===r.length&&"output"===r[0]?t:e}function k(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 F=d(),M=g(),L={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&&U.registerLanguage(t)})}},C=h(),P={format:(...e)=>(function(e,t={},r){if("string"==typeof t&&(t=p(t)),!v.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,h,g,p,d;return n=t=A(t,b.currentCurrencyDefaultFormat()),o=b.currentCurrency(),l=Object.assign({},O,s=Object.assign({},n)),c="",f=!!l.totalLength||!!l.forceAverage||l.average,h=s.currencyPosition||o.position,g=s.currencySymbol||o.symbol,p=void 0!==l.spaceSeparatedCurrency?l.spaceSeparatedCurrency:l.spaceSeparated,void 0===s.lowPrecision&&(s.lowPrecision=!1),p&&(c=" "),"infix"===h&&(u=c+g+c),d=E({instance:e,providedFormat:s,state:b,decimalSeparator:u}),"prefix"===h&&(d=e._value<0&&"sign"===l.negative?`-${c}${g}${d.slice(1)}`:e._value>0&&l.forceSign?`+${c}${g}${d.slice(1)}`:g+c+d),h&&"postfix"!==h||(d=d+(c=!l.spaceSeparatedAbbreviation&&f?"":c)+g),d;case"percent":let m,y,v;return i=t=A(t,b.currentPercentageDefaultFormat()),m=i.prefixSymbol,y=E({instance:r(100*e._value),providedFormat:i,state:b}),v=Object.assign({},O,i),m?`%${v.spaceSeparated?" ":""}${y}`:`${y}${v.spaceSeparated?" ":""}%`;case"byte":return function(e,t,r,n){let i=t.base||"binary",a=Object.assign({},O,t),{binarySuffixes:o,decimalSuffixes:s}=r.currentBytes(),l={general:{scale:1024,suffixes:s||N,marker:"bd"},binary:{scale:1024,suffixes:o||x,marker:"b"},decimal:{scale:1e3,suffixes:s||N,marker:"d"}}[i],{value:u,suffix:c}=_(e._value,l.suffixes,l.scale),f=E({instance:n(u),providedFormat:t,state:r,defaults:r.currentByteDefaultFormat()});return`${f}${a.spaceSeparated?" ":""}${c}`}(e,t=A(t,b.currentByteDefaultFormat()),b,r);case"time":let w,S,$;return t=A(t,b.currentTimeDefaultFormat()),w=Math.floor(e._value/60/60),S=Math.floor((e._value-60*w*60)/60),$=Math.round(e._value-60*w*60-60*S),`${w}:${S<10?"0":""}${S}:${$<10?"0":""}${$}`;case"ordinal":let B,D,k,F;return a=t=A(t,b.currentOrdinalDefaultFormat()),B=b.currentOrdinal(),D=Object.assign({},O,a),k=E({instance:e,providedFormat:a,state:b}),F=B(e._value),`${k}${D.spaceSeparated?" ":""}${F}`;default:return E({instance:e,providedFormat:t,numbro:r})}}(e,t,r);return(a=n+a)+i})(...e,U),getByteUnit:(...e)=>(function(e){return _(e._value,S.suffixes,S.scale).suffix})(...e),getBinaryByteUnit:(...e)=>(function(e){return _(e._value,$.suffixes,$.scale).suffix})(...e),getDecimalByteUnit:(...e)=>(function(e){return _(e._value,B.suffixes,B.scale).suffix})(...e),formatOrDefault:A},T={add:(e,t)=>{let r,n;return r=new y(e._value),n=t,U.isNumbro(t)&&(n=t._value),n=new y(n),e._value=r.plus(n).toNumber(),e},subtract:(e,t)=>k(e,t,U),multiply:(e,t)=>{let r,n;return r=new y(e._value),n=t,U.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,U.isNumbro(t)&&(n=t._value),n=new y(n),e._value=r.dividedBy(n).toNumber(),e},set:(e,t)=>{let r;return r=t,U.isNumbro(t)&&(r=t._value),e._value=r,e},difference:(e,t)=>{let r;return k(r=U(e._value),t,U),Math.abs(r._value)},BigNumber:y};class j{constructor(e){this._value=e}clone(){return U(this._value)}format(e={}){return P.format(this,e)}formatCurrency(e){return"string"==typeof e&&(e=p(e)),(e=P.formatOrDefault(e,F.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 T.difference(this,e)}add(e){return T.add(this,e)}subtract(e){return T.subtract(this,e)}multiply(e){return T.multiply(this,e)}divide(e){return T.divide(this,e)}set(e){return T.set(this,R(e))}value(){return this._value}valueOf(){return this._value}}function R(e){let t=e;return U.isNumbro(e)?t=e._value:"string"==typeof e?t=U.unformat(e):isNaN(e)&&(t=NaN),t}function U(e){return new j(R(e))}U.version="2.5.0",U.isNumbro=function(e){return e instanceof j},U.language=F.currentLanguage,U.registerLanguage=F.registerLanguage,U.setLanguage=F.setLanguage,U.languages=F.languages,U.languageData=F.languageData,U.zeroFormat=F.setZeroFormat,U.defaultFormat=F.currentDefaults,U.setDefaults=F.setDefaults,U.defaultCurrencyFormat=F.currentCurrencyDefaultFormat,U.validate=M.validate,U.loadLanguagesInNode=L.loadLanguagesInNode,U.unformat=C.unformat,U.BigNumber=T.BigNumber;var I=U&&U.__esModule&&Object.prototype.hasOwnProperty.call(U,"default")?U.default:U},2192(e,t,r){var n=r(70451),i=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,a={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,n)&&!l.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:i,type:e,key:u,ref:c,props:a,_owner:s.current}}t.Fragment=a,t.jsx=u,t.jsxs=u},62540(e,t,r){e.exports=r(2192)}}]);