scope360-core 0.0.471 → 0.0.473

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.
@@ -29868,9 +29868,9 @@ function bl() {
29868
29868
  function X4(t) {
29869
29869
  return new Date(t).getFullYear();
29870
29870
  }
29871
- function Z4(t) {
29872
- const e = bl();
29873
- return Pe.fromISO(t, { setZone: !0 }).setZone(e).toFormat("dd LLLL, y, TT");
29871
+ function Z4(t, e = !0) {
29872
+ const n = e ? bl() : "UTC+0";
29873
+ return Pe.fromISO(t, { setZone: !0 }).setZone(n).toFormat("dd LLLL, y, TT");
29874
29874
  }
29875
29875
  function lw(t, e = "dd/LL/y", n = !0) {
29876
29876
  const s = n ? bl() : "UTC+0";
@@ -30046,11 +30046,11 @@ function Fr(t) {
30046
30046
  "USDC",
30047
30047
  "CNH"
30048
30048
  ];
30049
- for (let n of e)
30050
- if (t.startsWith(n)) {
30051
- const s = n, i = t.substring(n.length);
30049
+ for (let n = 1; n < t.length; n++) {
30050
+ const s = t.substring(0, n), i = t.substring(n);
30051
+ if (e.includes(s) || e.includes(i))
30052
30052
  return `${s}/${i}`;
30053
- }
30053
+ }
30054
30054
  return t;
30055
30055
  }
30056
30056
  function Bu(t, e) {