@social-mail/social-mail-client 1.0.104 → 1.0.105

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.
@@ -19548,7 +19548,7 @@ System.register(["@web-atoms/core/dist/style/styled", "../PageNavigator", "./Mob
19548
19548
  System.register([], function (_export, _context) {
19549
19549
  "use strict";
19550
19550
 
19551
- var k, m, b, kb, mb, gb, toCompactFixed, toKMBString, toFileSize, formatNumber;
19551
+ var k, m, b, kb, mb, gb, tb, pb, toCompactFixed, toKMBString, toFileSize, formatNumber;
19552
19552
  return {
19553
19553
  setters: [],
19554
19554
  execute: function () {
@@ -19556,8 +19556,10 @@ System.register([], function (_export, _context) {
19556
19556
  m = k * k;
19557
19557
  b = m * k;
19558
19558
  kb = 1024;
19559
- mb = k * k;
19560
- gb = m * k;
19559
+ mb = kb * k;
19560
+ gb = mb * k;
19561
+ tb = gb * k;
19562
+ pb = tb * k;
19561
19563
  _export("toCompactFixed", toCompactFixed = (n, decimals) => {
19562
19564
  let text = n.toFixed(decimals);
19563
19565
  if (decimals > 0) {
@@ -19593,6 +19595,12 @@ System.register([], function (_export, _context) {
19593
19595
  if (!n) {
19594
19596
  return def + "";
19595
19597
  }
19598
+ if (n > pb) {
19599
+ return toCompactFixed(n / gb, decimals) + " PB";
19600
+ }
19601
+ if (n > tb) {
19602
+ return toCompactFixed(n / gb, decimals) + " TB";
19603
+ }
19596
19604
  if (n > gb) {
19597
19605
  return toCompactFixed(n / gb, decimals) + " GB";
19598
19606
  }