scope360-core 0.0.230 → 0.0.231
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/dist/scope360-core.js
CHANGED
|
@@ -30117,17 +30117,8 @@ const ft = (t, e = {
|
|
|
30117
30117
|
return e.isFixed && (s = on(s)), e.isPercentage ? `${n}${s}%` : `${n}${Mu()}${on(s * Qf())}`;
|
|
30118
30118
|
};
|
|
30119
30119
|
function T5(t, e) {
|
|
30120
|
-
const n = +new Date(e) - +new Date(t), s = Math.floor(n / (1e3 * 60 * 60 * 24)), i = Math.floor(
|
|
30121
|
-
|
|
30122
|
-
), r = Math.floor(n % (1e3 * 60 * 60) / (1e3 * 60)), a = Math.floor(n % (1e3 * 60) / 1e3);
|
|
30123
|
-
if (s > 0)
|
|
30124
|
-
return `${s} d`;
|
|
30125
|
-
if (i > 0)
|
|
30126
|
-
return `${i} h`;
|
|
30127
|
-
if (r > 0)
|
|
30128
|
-
return `${r} m`;
|
|
30129
|
-
if (a > 0)
|
|
30130
|
-
return `${a} s`;
|
|
30120
|
+
const n = +new Date(e) - +new Date(t), s = Math.floor(n / (1e3 * 60 * 60 * 24)), i = Math.floor(n % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), r = Math.floor(n % (1e3 * 60 * 60) / (1e3 * 60)), a = Math.floor(n % (1e3 * 60) / 1e3), o = [];
|
|
30121
|
+
return s > 0 && o.push(`${s}D`), i > 0 && o.push(`${i}H`), r > 0 && o.push(`${r}M`), a > 0 && o.push(`${a}S`), o.join(" ");
|
|
30131
30122
|
}
|
|
30132
30123
|
function FV(t) {
|
|
30133
30124
|
const e = /^(.*?)(BTC|ETH|USDT|USD|USDC)$/, n = t.match(e);
|