@skip-go/widget 3.8.3 → 3.8.4
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.
|
@@ -18,7 +18,7 @@ import { WalletConnectWalletAdapter as wp } from "@walletconnect/solana-adapter"
|
|
|
18
18
|
import Qi from "pluralize";
|
|
19
19
|
import { track as V, setUserId as yp, init as vp } from "@amplitude/analytics-browser";
|
|
20
20
|
import { setTag as Qo, captureException as ws, setUser as ys, init as Ep, breadcrumbsIntegration as Fp, dedupeIntegration as Bp, functionToStringIntegration as Mp, httpContextIntegration as Pp, inboundFiltersIntegration as zp, linkedErrorsIntegration as Sp, browserSessionIntegration as qp, replayIntegration as jp } from "@sentry/react";
|
|
21
|
-
import { useQuery as _o, useMutation as Ip, QueryClient as
|
|
21
|
+
import { useQuery as _o, useMutation as Ip, QueryClient as Tp, QueryClientProvider as Hp } from "@tanstack/react-query";
|
|
22
22
|
import { atomEffect as $o } from "jotai-effect";
|
|
23
23
|
import { ErrorBoundary as Mo } from "react-error-boundary";
|
|
24
24
|
import { createPortal as Np } from "react-dom";
|
|
@@ -254,7 +254,7 @@ function Ba(e, n) {
|
|
|
254
254
|
return !wn(i, n);
|
|
255
255
|
});
|
|
256
256
|
}
|
|
257
|
-
var nt = 1, ki = 1, Is = 0, on = 0,
|
|
257
|
+
var nt = 1, ki = 1, Is = 0, on = 0, He = 0, zi = "";
|
|
258
258
|
function it(e, n, i, o, t, c, a, r) {
|
|
259
259
|
return { value: e, root: n, parent: i, type: o, props: t, children: c, line: nt, column: ki, length: a, return: "", siblings: r };
|
|
260
260
|
}
|
|
@@ -267,13 +267,13 @@ function Di(e) {
|
|
|
267
267
|
Yi(e, e.siblings);
|
|
268
268
|
}
|
|
269
269
|
function ch() {
|
|
270
|
-
return
|
|
270
|
+
return He;
|
|
271
271
|
}
|
|
272
272
|
function ah() {
|
|
273
|
-
return
|
|
273
|
+
return He = on > 0 ? Re(zi, --on) : 0, ki--, He === 10 && (ki = 1, nt--), He;
|
|
274
274
|
}
|
|
275
275
|
function ln() {
|
|
276
|
-
return
|
|
276
|
+
return He = on < Is ? Re(zi, on++) : 0, ki++, He === 10 && (ki = 1, nt++), He;
|
|
277
277
|
}
|
|
278
278
|
function Qn() {
|
|
279
279
|
return Re(zi, on);
|
|
@@ -326,23 +326,23 @@ function Bt(e) {
|
|
|
326
326
|
return qs(ot(on - 1, Qt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
327
327
|
}
|
|
328
328
|
function lh(e) {
|
|
329
|
-
for (; (
|
|
329
|
+
for (; (He = Qn()) && He < 33; )
|
|
330
330
|
ln();
|
|
331
|
-
return Jt(e) > 2 || Jt(
|
|
331
|
+
return Jt(e) > 2 || Jt(He) > 3 ? "" : " ";
|
|
332
332
|
}
|
|
333
333
|
function mh(e, n) {
|
|
334
|
-
for (; --n && ln() && !(
|
|
334
|
+
for (; --n && ln() && !(He < 48 || He > 102 || He > 57 && He < 65 || He > 70 && He < 97); )
|
|
335
335
|
;
|
|
336
336
|
return ot(e, qo() + (n < 6 && Qn() == 32 && ln() == 32));
|
|
337
337
|
}
|
|
338
338
|
function Qt(e) {
|
|
339
339
|
for (; ln(); )
|
|
340
|
-
switch (
|
|
340
|
+
switch (He) {
|
|
341
341
|
case e:
|
|
342
342
|
return on;
|
|
343
343
|
case 34:
|
|
344
344
|
case 39:
|
|
345
|
-
e !== 34 && e !== 39 && Qt(
|
|
345
|
+
e !== 34 && e !== 39 && Qt(He);
|
|
346
346
|
break;
|
|
347
347
|
case 40:
|
|
348
348
|
e === 41 && Qt(e);
|
|
@@ -354,8 +354,8 @@ function Qt(e) {
|
|
|
354
354
|
return on;
|
|
355
355
|
}
|
|
356
356
|
function ph(e, n) {
|
|
357
|
-
for (; ln() && e +
|
|
358
|
-
if (e +
|
|
357
|
+
for (; ln() && e + He !== 57; )
|
|
358
|
+
if (e + He === 84 && Qn() === 47)
|
|
359
359
|
break;
|
|
360
360
|
return "/*" + ot(n, on - 1) + "*" + jc(e === 47 ? e : ln());
|
|
361
361
|
}
|
|
@@ -368,26 +368,26 @@ function uh(e) {
|
|
|
368
368
|
return sh(jo("", null, null, null, [""], e = rh(e), 0, [0], e));
|
|
369
369
|
}
|
|
370
370
|
function jo(e, n, i, o, t, c, a, r, s) {
|
|
371
|
-
for (var l = 0, h = 0, d = a, D = 0, b = 0, A = 0, g = 1, x = 1, y = 1, f = 0, k = "", q = t, F = c, I = o,
|
|
371
|
+
for (var l = 0, h = 0, d = a, D = 0, b = 0, A = 0, g = 1, x = 1, y = 1, f = 0, k = "", q = t, F = c, I = o, H = k; x; )
|
|
372
372
|
switch (A = f, f = ln()) {
|
|
373
373
|
case 40:
|
|
374
|
-
if (A != 108 && Re(
|
|
375
|
-
So(
|
|
374
|
+
if (A != 108 && Re(H, d - 1) == 58) {
|
|
375
|
+
So(H += ne(Bt(f), "&", "&\f"), "&\f", Ss(l ? r[l - 1] : 0)) != -1 && (y = -1);
|
|
376
376
|
break;
|
|
377
377
|
}
|
|
378
378
|
case 34:
|
|
379
379
|
case 39:
|
|
380
380
|
case 91:
|
|
381
|
-
|
|
381
|
+
H += Bt(f);
|
|
382
382
|
break;
|
|
383
383
|
case 9:
|
|
384
384
|
case 10:
|
|
385
385
|
case 13:
|
|
386
386
|
case 32:
|
|
387
|
-
|
|
387
|
+
H += lh(A);
|
|
388
388
|
break;
|
|
389
389
|
case 92:
|
|
390
|
-
|
|
390
|
+
H += mh(qo() - 1, 7);
|
|
391
391
|
continue;
|
|
392
392
|
case 47:
|
|
393
393
|
switch (Qn()) {
|
|
@@ -396,11 +396,11 @@ function jo(e, n, i, o, t, c, a, r, s) {
|
|
|
396
396
|
Yi(dh(ph(ln(), qo()), n, i, s), s);
|
|
397
397
|
break;
|
|
398
398
|
default:
|
|
399
|
-
|
|
399
|
+
H += "/";
|
|
400
400
|
}
|
|
401
401
|
break;
|
|
402
402
|
case 123 * g:
|
|
403
|
-
r[l++] = Dn(
|
|
403
|
+
r[l++] = Dn(H) * y;
|
|
404
404
|
case 125 * g:
|
|
405
405
|
case 59:
|
|
406
406
|
case 0:
|
|
@@ -409,16 +409,16 @@ function jo(e, n, i, o, t, c, a, r, s) {
|
|
|
409
409
|
case 125:
|
|
410
410
|
x = 0;
|
|
411
411
|
case 59 + h:
|
|
412
|
-
y == -1 && (
|
|
412
|
+
y == -1 && (H = ne(H, /\f/g, "")), b > 0 && Dn(H) - d && Yi(b > 32 ? Pa(H + ";", o, i, d - 1, s) : Pa(ne(H, " ", "") + ";", o, i, d - 2, s), s);
|
|
413
413
|
break;
|
|
414
414
|
case 59:
|
|
415
|
-
|
|
415
|
+
H += ";";
|
|
416
416
|
default:
|
|
417
|
-
if (Yi(I = Ma(
|
|
417
|
+
if (Yi(I = Ma(H, n, i, l, h, t, r, k, q = [], F = [], d, c), c), f === 123)
|
|
418
418
|
if (h === 0)
|
|
419
|
-
jo(
|
|
419
|
+
jo(H, n, I, I, q, c, d, r, F);
|
|
420
420
|
else
|
|
421
|
-
switch (D === 99 && Re(
|
|
421
|
+
switch (D === 99 && Re(H, 3) === 110 ? 100 : D) {
|
|
422
422
|
case 100:
|
|
423
423
|
case 108:
|
|
424
424
|
case 109:
|
|
@@ -426,13 +426,13 @@ function jo(e, n, i, o, t, c, a, r, s) {
|
|
|
426
426
|
jo(e, I, I, o && Yi(Ma(e, I, I, 0, 0, t, r, k, t, q = [], d, F), F), t, F, d, r, o ? q : F);
|
|
427
427
|
break;
|
|
428
428
|
default:
|
|
429
|
-
jo(
|
|
429
|
+
jo(H, I, I, I, [""], F, 0, r, F);
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
|
-
l = h = b = 0, g = y = 1, k =
|
|
432
|
+
l = h = b = 0, g = y = 1, k = H = "", d = a;
|
|
433
433
|
break;
|
|
434
434
|
case 58:
|
|
435
|
-
d = 1 + Dn(
|
|
435
|
+
d = 1 + Dn(H), b = A;
|
|
436
436
|
default:
|
|
437
437
|
if (g < 1) {
|
|
438
438
|
if (f == 123)
|
|
@@ -440,18 +440,18 @@ function jo(e, n, i, o, t, c, a, r, s) {
|
|
|
440
440
|
else if (f == 125 && g++ == 0 && ah() == 125)
|
|
441
441
|
continue;
|
|
442
442
|
}
|
|
443
|
-
switch (
|
|
443
|
+
switch (H += jc(f), f * g) {
|
|
444
444
|
case 38:
|
|
445
|
-
y = h > 0 ? 1 : (
|
|
445
|
+
y = h > 0 ? 1 : (H += "\f", -1);
|
|
446
446
|
break;
|
|
447
447
|
case 44:
|
|
448
|
-
r[l++] = (Dn(
|
|
448
|
+
r[l++] = (Dn(H) - 1) * y, y = 1;
|
|
449
449
|
break;
|
|
450
450
|
case 64:
|
|
451
|
-
Qn() === 45 && (
|
|
451
|
+
Qn() === 45 && (H += Bt(ln())), D = Qn(), h = d = Dn(k = H += hh(qo())), f++;
|
|
452
452
|
break;
|
|
453
453
|
case 45:
|
|
454
|
-
A === 45 && Dn(
|
|
454
|
+
A === 45 && Dn(H) == 2 && (g = 0);
|
|
455
455
|
}
|
|
456
456
|
}
|
|
457
457
|
return c;
|
|
@@ -468,7 +468,7 @@ function dh(e, n, i, o) {
|
|
|
468
468
|
function Pa(e, n, i, o, t) {
|
|
469
469
|
return it(e, n, i, qc, Ci(e, 0, o), Ci(e, o + 1, -1), o, t);
|
|
470
470
|
}
|
|
471
|
-
function
|
|
471
|
+
function Ts(e, n, i) {
|
|
472
472
|
switch (oh(e, n)) {
|
|
473
473
|
case 5103:
|
|
474
474
|
return ge + "print-" + e + e;
|
|
@@ -583,7 +583,7 @@ function Hs(e, n, i) {
|
|
|
583
583
|
case 102:
|
|
584
584
|
return ne(e, /(.+:)(.+)-([^]+)/, "$1" + ge + "$2-$3$1" + _i + (Re(e, n + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
585
585
|
case 115:
|
|
586
|
-
return ~So(e, "stretch", 0) ?
|
|
586
|
+
return ~So(e, "stretch", 0) ? Ts(ne(e, "stretch", "fill-available"), n, i) + e : e;
|
|
587
587
|
}
|
|
588
588
|
break;
|
|
589
589
|
case 5152:
|
|
@@ -650,7 +650,7 @@ function bh(e, n, i, o) {
|
|
|
650
650
|
if (e.length > -1 && !e.return)
|
|
651
651
|
switch (e.type) {
|
|
652
652
|
case qc:
|
|
653
|
-
e.return =
|
|
653
|
+
e.return = Ts(e.value, e.length, i);
|
|
654
654
|
return;
|
|
655
655
|
case zs:
|
|
656
656
|
return Lo([In(e, { value: ne(e.value, "@", "@" + ge) })], o);
|
|
@@ -718,7 +718,7 @@ var fh = {
|
|
|
718
718
|
strokeMiterlimit: 1,
|
|
719
719
|
strokeOpacity: 1,
|
|
720
720
|
strokeWidth: 1
|
|
721
|
-
}, ni = typeof ae < "u" && ae.env !== void 0 && (ae.env.REACT_APP_SC_ATTR || ae.env.SC_ATTR) || "data-styled",
|
|
721
|
+
}, ni = typeof ae < "u" && ae.env !== void 0 && (ae.env.REACT_APP_SC_ATTR || ae.env.SC_ATTR) || "data-styled", Hs = "active", Ns = "data-styled-version", tt = "6.1.13", Ic = `/*!sc*/
|
|
722
722
|
`, Ro = typeof window < "u" && "HTMLElement" in window, Ah = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof ae < "u" && ae.env !== void 0 && ae.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && ae.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? ae.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && ae.env.REACT_APP_SC_DISABLE_SPEEDY : typeof ae < "u" && ae.env !== void 0 && ae.env.SC_DISABLE_SPEEDY !== void 0 && ae.env.SC_DISABLE_SPEEDY !== "" ? ae.env.SC_DISABLE_SPEEDY !== "false" && ae.env.SC_DISABLE_SPEEDY : ae.env.NODE_ENV !== "production"), za = /invalid hook call/i, Co = /* @__PURE__ */ new Set(), Ch = function(e, n) {
|
|
723
723
|
if (ae.env.NODE_ENV !== "production") {
|
|
724
724
|
var i = n ? ' with the id of "'.concat(n, '"') : "", o = "The component ".concat(e).concat(i, ` has been created dynamically.
|
|
@@ -772,12 +772,12 @@ function ja(e) {
|
|
|
772
772
|
return ("type" in (n = e) && n.type.$$typeof) === Us ? Gs : "$$typeof" in e ? Mh[e.$$typeof] : Fh;
|
|
773
773
|
var n;
|
|
774
774
|
}
|
|
775
|
-
var Ph = Object.defineProperty, zh = Object.getOwnPropertyNames, Ia = Object.getOwnPropertySymbols, Sh = Object.getOwnPropertyDescriptor, qh = Object.getPrototypeOf,
|
|
775
|
+
var Ph = Object.defineProperty, zh = Object.getOwnPropertyNames, Ia = Object.getOwnPropertySymbols, Sh = Object.getOwnPropertyDescriptor, qh = Object.getPrototypeOf, Ta = Object.prototype;
|
|
776
776
|
function Ks(e, n, i) {
|
|
777
777
|
if (typeof n != "string") {
|
|
778
|
-
if (
|
|
778
|
+
if (Ta) {
|
|
779
779
|
var o = qh(n);
|
|
780
|
-
o && o !==
|
|
780
|
+
o && o !== Ta && Ks(e, o, i);
|
|
781
781
|
}
|
|
782
782
|
var t = zh(n);
|
|
783
783
|
Ia && (t = t.concat(Ia(n)));
|
|
@@ -797,7 +797,7 @@ function Ks(e, n, i) {
|
|
|
797
797
|
function ii(e) {
|
|
798
798
|
return typeof e == "function";
|
|
799
799
|
}
|
|
800
|
-
function
|
|
800
|
+
function Tc(e) {
|
|
801
801
|
return typeof e == "object" && "styledComponentId" in e;
|
|
802
802
|
}
|
|
803
803
|
function Jn(e, n) {
|
|
@@ -817,7 +817,7 @@ function nc(e, n, i) {
|
|
|
817
817
|
else if (yi(n)) for (var o in n) e[o] = nc(e[o], n[o]);
|
|
818
818
|
return e;
|
|
819
819
|
}
|
|
820
|
-
function
|
|
820
|
+
function Hc(e, n) {
|
|
821
821
|
Object.defineProperty(e, "toString", { value: n });
|
|
822
822
|
}
|
|
823
823
|
var jh = ae.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
|
|
@@ -873,7 +873,7 @@ function gn(e) {
|
|
|
873
873
|
for (var n = [], i = 1; i < arguments.length; i++) n[i - 1] = arguments[i];
|
|
874
874
|
return ae.env.NODE_ENV === "production" ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e, " for more information.").concat(n.length > 0 ? " Args: ".concat(n.join(", ")) : "")) : new Error(Ih.apply(void 0, ei([jh[e]], n, !1)).trim());
|
|
875
875
|
}
|
|
876
|
-
var
|
|
876
|
+
var Th = function() {
|
|
877
877
|
function e(n) {
|
|
878
878
|
this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = n;
|
|
879
879
|
}
|
|
@@ -899,14 +899,14 @@ var Hh = function() {
|
|
|
899
899
|
for (var o = this.groupSizes[n], t = this.indexOfGroup(n), c = t + o, a = t; a < c; a++) i += "".concat(this.tag.getRule(a)).concat(Ic);
|
|
900
900
|
return i;
|
|
901
901
|
}, e;
|
|
902
|
-
}(),
|
|
902
|
+
}(), Hh = 1 << 30, Io = /* @__PURE__ */ new Map(), Oo = /* @__PURE__ */ new Map(), To = 1, wo = function(e) {
|
|
903
903
|
if (Io.has(e)) return Io.get(e);
|
|
904
|
-
for (; Oo.has(
|
|
905
|
-
var n =
|
|
906
|
-
if (ae.env.NODE_ENV !== "production" && ((0 | n) < 0 || n >
|
|
904
|
+
for (; Oo.has(To); ) To++;
|
|
905
|
+
var n = To++;
|
|
906
|
+
if (ae.env.NODE_ENV !== "production" && ((0 | n) < 0 || n > Hh)) throw gn(16, "".concat(n));
|
|
907
907
|
return Io.set(e, n), Oo.set(n, e), n;
|
|
908
908
|
}, Nh = function(e, n) {
|
|
909
|
-
|
|
909
|
+
To = n + 1, Io.set(e, n), Oo.set(n, e);
|
|
910
910
|
}, Vh = "style[".concat(ni, "][").concat(Ns, '="').concat(tt, '"]'), Lh = new RegExp("^".concat(ni, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), Rh = function(e, n, i) {
|
|
911
911
|
for (var o, t = i.split(","), c = 0, a = t.length; c < a; c++) (o = t[c]) && e.registerName(n, o);
|
|
912
912
|
}, Oh = function(e, n) {
|
|
@@ -920,10 +920,10 @@ var Hh = function() {
|
|
|
920
920
|
} else t.push(r);
|
|
921
921
|
}
|
|
922
922
|
}
|
|
923
|
-
},
|
|
923
|
+
}, Ha = function(e) {
|
|
924
924
|
for (var n = document.querySelectorAll(Vh), i = 0, o = n.length; i < o; i++) {
|
|
925
925
|
var t = n[i];
|
|
926
|
-
t && t.getAttribute(ni) !==
|
|
926
|
+
t && t.getAttribute(ni) !== Hs && (Oh(e, t), t.parentNode && t.parentNode.removeChild(t));
|
|
927
927
|
}
|
|
928
928
|
};
|
|
929
929
|
function Wh() {
|
|
@@ -934,7 +934,7 @@ var Xs = function(e) {
|
|
|
934
934
|
var s = Array.from(r.querySelectorAll("style[".concat(ni, "]")));
|
|
935
935
|
return s[s.length - 1];
|
|
936
936
|
}(i), c = t !== void 0 ? t.nextSibling : null;
|
|
937
|
-
o.setAttribute(ni,
|
|
937
|
+
o.setAttribute(ni, Hs), o.setAttribute(Ns, tt);
|
|
938
938
|
var a = Wh();
|
|
939
939
|
return a && o.setAttribute("nonce", a), i.insertBefore(o, c), o;
|
|
940
940
|
}, Uh = function() {
|
|
@@ -990,7 +990,7 @@ var Xs = function(e) {
|
|
|
990
990
|
function e(n, i, o) {
|
|
991
991
|
n === void 0 && (n = wi), i === void 0 && (i = {});
|
|
992
992
|
var t = this;
|
|
993
|
-
this.options = Ge(Ge({}, Xh), n), this.gs = i, this.names = new Map(o), this.server = !!n.isServer, !this.server && Ro && Na && (Na = !1,
|
|
993
|
+
this.options = Ge(Ge({}, Xh), n), this.gs = i, this.names = new Map(o), this.server = !!n.isServer, !this.server && Ro && Na && (Na = !1, Ha(this)), Hc(this, function() {
|
|
994
994
|
return function(c) {
|
|
995
995
|
for (var a = c.getTag(), r = a.length, s = "", l = function(d) {
|
|
996
996
|
var D = function(y) {
|
|
@@ -1011,7 +1011,7 @@ var Xs = function(e) {
|
|
|
1011
1011
|
return e.registerId = function(n) {
|
|
1012
1012
|
return wo(n);
|
|
1013
1013
|
}, e.prototype.rehydrate = function() {
|
|
1014
|
-
!this.server && Ro &&
|
|
1014
|
+
!this.server && Ro && Ha(this);
|
|
1015
1015
|
}, e.prototype.reconstructWithOptions = function(n, i) {
|
|
1016
1016
|
return i === void 0 && (i = !0), new e(Ge(Ge({}, this.options), n), this.gs, i && this.names || void 0);
|
|
1017
1017
|
}, e.prototype.allocateGSInstance = function(n) {
|
|
@@ -1020,7 +1020,7 @@ var Xs = function(e) {
|
|
|
1020
1020
|
return this.tag || (this.tag = (n = function(i) {
|
|
1021
1021
|
var o = i.useCSSOMInjection, t = i.target;
|
|
1022
1022
|
return i.isServer ? new Kh(t) : o ? new Uh(t) : new Gh(t);
|
|
1023
|
-
}(this.options), new
|
|
1023
|
+
}(this.options), new Th(n)));
|
|
1024
1024
|
var n;
|
|
1025
1025
|
}, e.prototype.hasNameForId = function(n, i) {
|
|
1026
1026
|
return this.names.has(n) && this.names.get(n).has(i);
|
|
@@ -1095,7 +1095,7 @@ var tc = function() {
|
|
|
1095
1095
|
c === void 0 && (c = ic);
|
|
1096
1096
|
var a = o.name + c.hash;
|
|
1097
1097
|
t.hasNameForId(o.id, a) || t.insertRules(o.id, a, c(o.rules, a, "@keyframes"));
|
|
1098
|
-
}, this.name = n, this.id = "sc-keyframes-".concat(n), this.rules = i,
|
|
1098
|
+
}, this.name = n, this.id = "sc-keyframes-".concat(n), this.rules = i, Hc(this, function() {
|
|
1099
1099
|
throw gn(12, String(o.name));
|
|
1100
1100
|
});
|
|
1101
1101
|
}
|
|
@@ -1125,7 +1125,7 @@ var Qs = function(e) {
|
|
|
1125
1125
|
};
|
|
1126
1126
|
function _n(e, n, i, o) {
|
|
1127
1127
|
if (Qs(e)) return [];
|
|
1128
|
-
if (
|
|
1128
|
+
if (Tc(e)) return [".".concat(e.styledComponentId)];
|
|
1129
1129
|
if (ii(e)) {
|
|
1130
1130
|
if (!ii(c = e) || c.prototype && c.prototype.isReactComponent || !n) return [e];
|
|
1131
1131
|
var t = e(n);
|
|
@@ -1139,7 +1139,7 @@ function _n(e, n, i, o) {
|
|
|
1139
1139
|
function $h(e) {
|
|
1140
1140
|
for (var n = 0; n < e.length; n += 1) {
|
|
1141
1141
|
var i = e[n];
|
|
1142
|
-
if (ii(i) && !
|
|
1142
|
+
if (ii(i) && !Tc(i)) return !1;
|
|
1143
1143
|
}
|
|
1144
1144
|
return !0;
|
|
1145
1145
|
}
|
|
@@ -1198,11 +1198,11 @@ function Ra(e) {
|
|
|
1198
1198
|
}
|
|
1199
1199
|
var zt = {}, Oa = /* @__PURE__ */ new Set();
|
|
1200
1200
|
function iu(e, n, i) {
|
|
1201
|
-
var o =
|
|
1201
|
+
var o = Tc(e), t = e, c = !Pt(e), a = n.attrs, r = a === void 0 ? ct : a, s = n.componentId, l = s === void 0 ? function(q, F) {
|
|
1202
1202
|
var I = typeof q != "string" ? "sc" : Sa(q);
|
|
1203
1203
|
zt[I] = (zt[I] || 0) + 1;
|
|
1204
|
-
var
|
|
1205
|
-
return F ? "".concat(F, "-").concat(
|
|
1204
|
+
var H = "".concat(I, "-").concat(Rs(tt + I + zt[I]));
|
|
1205
|
+
return F ? "".concat(F, "-").concat(H) : H;
|
|
1206
1206
|
}(n.displayName, n.parentComponentId) : s, h = n.displayName, d = h === void 0 ? function(q) {
|
|
1207
1207
|
return Pt(q) ? "styled.".concat(q) : "Styled(".concat(Os(q), ")");
|
|
1208
1208
|
}(e) : h, D = n.displayName && n.componentId ? "".concat(Sa(n.displayName), "-").concat(n.componentId) : n.componentId || l, b = o && t.attrs ? t.attrs.concat(r).filter(Boolean) : r, A = n.shouldForwardProp;
|
|
@@ -1217,24 +1217,24 @@ function iu(e, n, i) {
|
|
|
1217
1217
|
}
|
|
1218
1218
|
var y = new nu(i, D, o ? t.componentStyle : void 0);
|
|
1219
1219
|
function f(q, F) {
|
|
1220
|
-
return function(I,
|
|
1220
|
+
return function(I, H, p) {
|
|
1221
1221
|
var u = I.attrs, C = I.componentStyle, M = I.defaultProps, v = I.foldedComponentIds, P = I.styledComponentId, S = I.target, w = mn.useContext(no), B = oc(), E = I.shouldForwardProp || B.shouldForwardProp;
|
|
1222
1222
|
ae.env.NODE_ENV !== "production" && wa(P);
|
|
1223
|
-
var z = kh(
|
|
1223
|
+
var z = kh(H, w, M) || wi, T = function($, ce, Me) {
|
|
1224
1224
|
for (var ee, Pe = Ge(Ge({}, ce), { className: void 0, theme: Me }), _e = 0; _e < $.length; _e += 1) {
|
|
1225
1225
|
var Oe = ii(ee = $[_e]) ? ee(Pe) : ee;
|
|
1226
1226
|
for (var We in Oe) Pe[We] = We === "className" ? Jn(Pe[We], Oe[We]) : We === "style" ? Ge(Ge({}, Pe[We]), Oe[We]) : Oe[We];
|
|
1227
1227
|
}
|
|
1228
1228
|
return ce.className && (Pe.className = Jn(Pe.className, ce.className)), Pe;
|
|
1229
|
-
}(u,
|
|
1230
|
-
for (var Y in
|
|
1229
|
+
}(u, H, z), U = T.as || S, G = {};
|
|
1230
|
+
for (var Y in T) T[Y] === void 0 || Y[0] === "$" || Y === "as" || Y === "theme" && T.theme === z || (Y === "forwardedAs" ? G.as = T.forwardedAs : E && !E(Y, U) || (G[Y] = T[Y], E || ae.env.NODE_ENV !== "development" || Ms(Y) || Oa.has(Y) || !_t.has(U) || (Oa.add(Y), console.warn('styled-components: it looks like an unknown prop "'.concat(Y, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
|
|
1231
1231
|
var te = function($, ce) {
|
|
1232
1232
|
var Me = oc(), ee = $.generateAndInjectStyles(ce, Me.styleSheet, Me.stylis);
|
|
1233
1233
|
return ae.env.NODE_ENV !== "production" && wa(ee), ee;
|
|
1234
|
-
}(C,
|
|
1234
|
+
}(C, T);
|
|
1235
1235
|
ae.env.NODE_ENV !== "production" && I.warnTooManyClasses && I.warnTooManyClasses(te);
|
|
1236
1236
|
var le = Jn(v, P);
|
|
1237
|
-
return te && (le += " " + te),
|
|
1237
|
+
return te && (le += " " + te), T.className && (le += " " + T.className), G[Pt(U) && !_t.has(U) ? "class" : "className"] = le, G.ref = p, Ym(U, G);
|
|
1238
1238
|
}(k, q, F);
|
|
1239
1239
|
}
|
|
1240
1240
|
f.displayName = d;
|
|
@@ -1243,14 +1243,14 @@ function iu(e, n, i) {
|
|
|
1243
1243
|
return this._foldedDefaultProps;
|
|
1244
1244
|
}, set: function(q) {
|
|
1245
1245
|
this._foldedDefaultProps = o ? function(F) {
|
|
1246
|
-
for (var I = [],
|
|
1246
|
+
for (var I = [], H = 1; H < arguments.length; H++) I[H - 1] = arguments[H];
|
|
1247
1247
|
for (var p = 0, u = I; p < u.length; p++) nc(F, u[p], !0);
|
|
1248
1248
|
return F;
|
|
1249
1249
|
}({}, t.defaultProps, q) : q;
|
|
1250
1250
|
} }), ae.env.NODE_ENV !== "production" && (Ch(d, D), k.warnTooManyClasses = /* @__PURE__ */ function(q, F) {
|
|
1251
|
-
var I = {},
|
|
1251
|
+
var I = {}, H = !1;
|
|
1252
1252
|
return function(p) {
|
|
1253
|
-
if (!
|
|
1253
|
+
if (!H && (I[p] = !0, Object.keys(I).length >= 200)) {
|
|
1254
1254
|
var u = F ? ' with the id of "'.concat(F, '"') : "";
|
|
1255
1255
|
console.warn("Over ".concat(200, " classes were generated for component ").concat(q).concat(u, `.
|
|
1256
1256
|
`) + `Consider using the attrs method, together with a style object for frequently changed styles.
|
|
@@ -1261,10 +1261,10 @@ Example:
|
|
|
1261
1261
|
},
|
|
1262
1262
|
}))\`width: 100%;\`
|
|
1263
1263
|
|
|
1264
|
-
<Component />`),
|
|
1264
|
+
<Component />`), H = !0, I = {};
|
|
1265
1265
|
}
|
|
1266
1266
|
};
|
|
1267
|
-
}(d, D)),
|
|
1267
|
+
}(d, D)), Hc(k, function() {
|
|
1268
1268
|
return ".".concat(k.styledComponentId);
|
|
1269
1269
|
}), c && Ks(k, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), k;
|
|
1270
1270
|
}
|
|
@@ -2011,7 +2011,7 @@ const io = {
|
|
|
2011
2011
|
/* @__PURE__ */ m(A, { backgroundColor: D, color: o }),
|
|
2012
2012
|
/* @__PURE__ */ m(rc, { color: D, fontSize: h, children: e })
|
|
2013
2013
|
] }) : /* @__PURE__ */ m(rc, { capitalize: !0, color: D, fontSize: h, children: e }),
|
|
2014
|
-
/* @__PURE__ */ m(
|
|
2014
|
+
/* @__PURE__ */ m(Tu, { children: /* @__PURE__ */ m(b, { color: D }) })
|
|
2015
2015
|
]
|
|
2016
2016
|
}
|
|
2017
2017
|
) });
|
|
@@ -2165,13 +2165,13 @@ const io = {
|
|
|
2165
2165
|
@media (max-width: 767px) {
|
|
2166
2166
|
height: 61px;
|
|
2167
2167
|
}
|
|
2168
|
-
`,
|
|
2168
|
+
`, Tu = N.div`
|
|
2169
2169
|
z-index: 1;
|
|
2170
2170
|
|
|
2171
2171
|
svg {
|
|
2172
2172
|
display: block;
|
|
2173
2173
|
}
|
|
2174
|
-
`, sc = "https://go.skip.build",
|
|
2174
|
+
`, sc = "https://go.skip.build", Hu = {
|
|
2175
2175
|
getRpcEndpointForChain: async (e) => `${sc}/api/rpc/${e}`,
|
|
2176
2176
|
getRestEndpointForChain: async (e) => `${sc}/api/rest/${e}`
|
|
2177
2177
|
}, Nu = `${sc}/api/skip`, ul = Z({
|
|
@@ -3093,7 +3093,7 @@ class Il extends oe {
|
|
|
3093
3093
|
function Sd(e, n = "wei") {
|
|
3094
3094
|
return jl(e, Pd[n]);
|
|
3095
3095
|
}
|
|
3096
|
-
function
|
|
3096
|
+
function Tl(e) {
|
|
3097
3097
|
const n = Object.entries(e).map(([o, t]) => t === void 0 || t === !1 ? null : [o, t]).filter(Boolean), i = n.reduce((o, [t]) => Math.max(o, t.length), 0);
|
|
3098
3098
|
return n.map(([o, t]) => ` ${`${o}:`.padEnd(i + 1)} ${t}`).join(`
|
|
3099
3099
|
`);
|
|
@@ -3120,7 +3120,7 @@ class Id extends oe {
|
|
|
3120
3120
|
metaMessages: [
|
|
3121
3121
|
"Provided Transaction:",
|
|
3122
3122
|
"{",
|
|
3123
|
-
|
|
3123
|
+
Tl(n),
|
|
3124
3124
|
"}",
|
|
3125
3125
|
"",
|
|
3126
3126
|
"To infer the type, either provide:",
|
|
@@ -3135,12 +3135,12 @@ class Id extends oe {
|
|
|
3135
3135
|
});
|
|
3136
3136
|
}
|
|
3137
3137
|
}
|
|
3138
|
-
class
|
|
3138
|
+
class Td extends oe {
|
|
3139
3139
|
constructor({ storageKey: n }) {
|
|
3140
3140
|
super(`Size for storage key "${n}" is invalid. Expected 32 bytes. Got ${Math.floor((n.length - 2) / 2)} bytes.`, { name: "InvalidStorageKeySizeError" });
|
|
3141
3141
|
}
|
|
3142
3142
|
}
|
|
3143
|
-
function
|
|
3143
|
+
function Hd(e, n) {
|
|
3144
3144
|
const i = (e.details || "").toLowerCase(), o = e instanceof oe ? e.walk((t) => (t == null ? void 0 : t.code) === xi.code) : e;
|
|
3145
3145
|
return o instanceof oe ? new xi({
|
|
3146
3146
|
cause: e,
|
|
@@ -3197,11 +3197,11 @@ const Vd = {
|
|
|
3197
3197
|
eip4844: "0x3",
|
|
3198
3198
|
eip7702: "0x4"
|
|
3199
3199
|
};
|
|
3200
|
-
function
|
|
3200
|
+
function Hl(e) {
|
|
3201
3201
|
const n = {};
|
|
3202
3202
|
return typeof e.authorizationList < "u" && (n.authorizationList = Rd(e.authorizationList)), typeof e.accessList < "u" && (n.accessList = e.accessList), typeof e.blobVersionedHashes < "u" && (n.blobVersionedHashes = e.blobVersionedHashes), typeof e.blobs < "u" && (typeof e.blobs[0] != "string" ? n.blobs = e.blobs.map((i) => Pn(i)) : n.blobs = e.blobs), typeof e.data < "u" && (n.data = e.data), typeof e.from < "u" && (n.from = e.from), typeof e.gas < "u" && (n.gas = Ye(e.gas)), typeof e.gasPrice < "u" && (n.gasPrice = Ye(e.gasPrice)), typeof e.maxFeePerBlobGas < "u" && (n.maxFeePerBlobGas = Ye(e.maxFeePerBlobGas)), typeof e.maxFeePerGas < "u" && (n.maxFeePerGas = Ye(e.maxFeePerGas)), typeof e.maxPriorityFeePerGas < "u" && (n.maxPriorityFeePerGas = Ye(e.maxPriorityFeePerGas)), typeof e.nonce < "u" && (n.nonce = Ye(e.nonce)), typeof e.to < "u" && (n.to = e.to), typeof e.type < "u" && (n.type = Vd[e.type]), typeof e.value < "u" && (n.value = Ye(e.value)), n;
|
|
3203
3203
|
}
|
|
3204
|
-
const Ld = /* @__PURE__ */ ut("transactionRequest",
|
|
3204
|
+
const Ld = /* @__PURE__ */ ut("transactionRequest", Hl);
|
|
3205
3205
|
function Rd(e) {
|
|
3206
3206
|
return e.map((n) => ({
|
|
3207
3207
|
address: n.contractAddress,
|
|
@@ -3600,7 +3600,7 @@ class s0 extends oe {
|
|
|
3600
3600
|
constructor(n, { account: i, docsPath: o, chain: t, data: c, gas: a, gasPrice: r, maxFeePerGas: s, maxPriorityFeePerGas: l, nonce: h, to: d, value: D, stateOverride: b }) {
|
|
3601
3601
|
var x;
|
|
3602
3602
|
const A = i ? ht(i) : void 0;
|
|
3603
|
-
let g =
|
|
3603
|
+
let g = Tl({
|
|
3604
3604
|
from: A == null ? void 0 : A.address,
|
|
3605
3605
|
to: d,
|
|
3606
3606
|
value: typeof D < "u" && `${Sd(D)} ${((x = t == null ? void 0 : t.nativeCurrency) == null ? void 0 : x.symbol) || "ETH"}`,
|
|
@@ -3631,7 +3631,7 @@ ${Gd(b)}`), super(n.shortMessage, {
|
|
|
3631
3631
|
}
|
|
3632
3632
|
function l0(e, { docsPath: n, ...i }) {
|
|
3633
3633
|
const o = (() => {
|
|
3634
|
-
const t =
|
|
3634
|
+
const t = Hd(e, i);
|
|
3635
3635
|
return t instanceof Il ? e : t;
|
|
3636
3636
|
})();
|
|
3637
3637
|
return new s0(o, {
|
|
@@ -3765,7 +3765,7 @@ function Do(e) {
|
|
|
3765
3765
|
const { address: o, storageKeys: t } = e[i];
|
|
3766
3766
|
for (let c = 0; c < t.length; c++)
|
|
3767
3767
|
if (t[c].length - 2 !== 64)
|
|
3768
|
-
throw new
|
|
3768
|
+
throw new Td({ storageKey: t[c] });
|
|
3769
3769
|
if (!tn(o, { strict: !1 }))
|
|
3770
3770
|
throw new pn({ address: o });
|
|
3771
3771
|
n.push([o, t]);
|
|
@@ -4188,12 +4188,12 @@ const Zl = {
|
|
|
4188
4188
|
})
|
|
4189
4189
|
};
|
|
4190
4190
|
function Jl(e, n) {
|
|
4191
|
-
return N0(e) ?
|
|
4191
|
+
return N0(e) ? H0(e) : f0(e, n);
|
|
4192
4192
|
}
|
|
4193
|
-
const
|
|
4193
|
+
const T0 = {
|
|
4194
4194
|
transaction: Jl
|
|
4195
4195
|
};
|
|
4196
|
-
function
|
|
4196
|
+
function H0(e) {
|
|
4197
4197
|
V0(e);
|
|
4198
4198
|
const { sourceHash: n, data: i, from: o, gas: t, isSystemTx: c, mint: a, to: r, value: s } = e, l = [
|
|
4199
4199
|
n,
|
|
@@ -4223,7 +4223,7 @@ function V0(e) {
|
|
|
4223
4223
|
const Ln = {
|
|
4224
4224
|
contracts: Zl,
|
|
4225
4225
|
formatters: I0,
|
|
4226
|
-
serializers:
|
|
4226
|
+
serializers: T0
|
|
4227
4227
|
}, cr = /* @__PURE__ */ Ae({
|
|
4228
4228
|
id: 42161,
|
|
4229
4229
|
name: "Arbitrum One",
|
|
@@ -4843,7 +4843,7 @@ async function $0(e, n) {
|
|
|
4843
4843
|
try {
|
|
4844
4844
|
const { accessList: r, blockNumber: s, blockTag: l, data: h, gas: d, gasPrice: D, maxFeePerGas: b, maxPriorityFeePerGas: A, nonce: g, to: x, value: y, ...f } = n, q = (s ? Ye(s) : void 0) || l;
|
|
4845
4845
|
Od(n);
|
|
4846
|
-
const F = (a = (c = (t = e.chain) == null ? void 0 : t.formatters) == null ? void 0 : c.transactionRequest) == null ? void 0 : a.format,
|
|
4846
|
+
const F = (a = (c = (t = e.chain) == null ? void 0 : t.formatters) == null ? void 0 : c.transactionRequest) == null ? void 0 : a.format, H = (F || Hl)({
|
|
4847
4847
|
// Pick out extra data that might exist on the chain's transaction request type.
|
|
4848
4848
|
...Nd(f, { format: F }),
|
|
4849
4849
|
from: o == null ? void 0 : o.address,
|
|
@@ -4858,7 +4858,7 @@ async function $0(e, n) {
|
|
|
4858
4858
|
value: y
|
|
4859
4859
|
}), { baseFeePerGas: p, gasLimit: u, priorityFeePerGas: C } = await e.request({
|
|
4860
4860
|
method: "linea_estimateGas",
|
|
4861
|
-
params: q ? [
|
|
4861
|
+
params: q ? [H, q] : [H]
|
|
4862
4862
|
});
|
|
4863
4863
|
return {
|
|
4864
4864
|
baseFeePerGas: BigInt(p),
|
|
@@ -5273,7 +5273,7 @@ function _c(e) {
|
|
|
5273
5273
|
let y = D;
|
|
5274
5274
|
if (!y) {
|
|
5275
5275
|
const F = await ((A = d.storage) == null ? void 0 : A.getItem("state")) ?? {};
|
|
5276
|
-
d.chains.some((
|
|
5276
|
+
d.chains.some((H) => H.id === F.chainId) ? y = F.chainId : y = (g = d.chains[0]) == null ? void 0 : g.id;
|
|
5277
5277
|
}
|
|
5278
5278
|
if (!y)
|
|
5279
5279
|
throw new Error("No chains found on connector.");
|
|
@@ -5311,7 +5311,7 @@ function _c(e) {
|
|
|
5311
5311
|
const g = d.chains.map((y) => y.id);
|
|
5312
5312
|
if (!g.length)
|
|
5313
5313
|
return;
|
|
5314
|
-
const { EthereumProvider: x } = await import("./index.es-
|
|
5314
|
+
const { EthereumProvider: x } = await import("./index.es-CalVR7oN.js");
|
|
5315
5315
|
return await x.init({
|
|
5316
5316
|
...e,
|
|
5317
5317
|
disableProviderPing: !0,
|
|
@@ -5376,7 +5376,7 @@ function _c(e) {
|
|
|
5376
5376
|
D != null && D.blockExplorerUrls ? F = D.blockExplorerUrls : F = (x = g.blockExplorers) != null && x.default.url ? [(y = g.blockExplorers) == null ? void 0 : y.default.url] : [];
|
|
5377
5377
|
let I;
|
|
5378
5378
|
(f = D == null ? void 0 : D.rpcUrls) != null && f.length ? I = D.rpcUrls : I = [...g.rpcUrls.default.http];
|
|
5379
|
-
const
|
|
5379
|
+
const H = {
|
|
5380
5380
|
blockExplorerUrls: F,
|
|
5381
5381
|
chainId: Ea(b),
|
|
5382
5382
|
chainName: (D == null ? void 0 : D.chainName) ?? g.name,
|
|
@@ -5386,7 +5386,7 @@ function _c(e) {
|
|
|
5386
5386
|
};
|
|
5387
5387
|
await A.request({
|
|
5388
5388
|
method: "wallet_addEthereumChain",
|
|
5389
|
-
params: [
|
|
5389
|
+
params: [H]
|
|
5390
5390
|
});
|
|
5391
5391
|
const p = await this.getRequestedChainsIds();
|
|
5392
5392
|
return this.setRequestedChainsIds([...p, b]), g;
|
|
@@ -5577,7 +5577,7 @@ const Dt = [
|
|
|
5577
5577
|
})
|
|
5578
5578
|
], Ir = {
|
|
5579
5579
|
apiUrl: Nu,
|
|
5580
|
-
endpointOptions:
|
|
5580
|
+
endpointOptions: Hu
|
|
5581
5581
|
}, hi = Z({
|
|
5582
5582
|
apiURL: void 0,
|
|
5583
5583
|
endpointOptions: void 0
|
|
@@ -5621,8 +5621,8 @@ const Dt = [
|
|
|
5621
5621
|
});
|
|
5622
5622
|
});
|
|
5623
5623
|
return i;
|
|
5624
|
-
},
|
|
5625
|
-
const n = e(fn), { apiURL: i, apiKey: o, cacheDurationMs: t } = e(hi), c = e(ve), a = e(
|
|
5624
|
+
}, Ti = Z(void 0), An = si((e) => {
|
|
5625
|
+
const n = e(fn), { apiURL: i, apiKey: o, cacheDurationMs: t } = e(hi), c = e(ve), a = e(Ti);
|
|
5626
5626
|
return {
|
|
5627
5627
|
queryKey: ["skipAssets", a, { onlyTestnets: a, apiURL: i, apiKey: o, cacheDurationMs: t }],
|
|
5628
5628
|
queryFn: async () => n.assets({
|
|
@@ -5634,7 +5634,7 @@ const Dt = [
|
|
|
5634
5634
|
enabled: a !== void 0 && i !== void 0
|
|
5635
5635
|
};
|
|
5636
5636
|
}), ve = si((e) => {
|
|
5637
|
-
const n = e(fn), { apiURL: i, apiKey: o, cacheDurationMs: t } = e(hi), c = e(
|
|
5637
|
+
const n = e(fn), { apiURL: i, apiKey: o, cacheDurationMs: t } = e(hi), c = e(Ti);
|
|
5638
5638
|
return {
|
|
5639
5639
|
queryKey: ["skipChains", { onlyTestnets: c, apiURL: i, apiKey: o, cacheDurationMs: t }],
|
|
5640
5640
|
queryFn: async () => n.chains({
|
|
@@ -5651,7 +5651,7 @@ const Dt = [
|
|
|
5651
5651
|
queryFn: async () => n.bridges()
|
|
5652
5652
|
};
|
|
5653
5653
|
}), ea = si((e) => {
|
|
5654
|
-
const n = e(fn), { apiURL: i, apiKey: o, cacheDurationMs: t } = e(hi), c = e(
|
|
5654
|
+
const n = e(fn), { apiURL: i, apiKey: o, cacheDurationMs: t } = e(hi), c = e(Ti);
|
|
5655
5655
|
return {
|
|
5656
5656
|
queryKey: ["skipSwapVenue", { onlyTestnets: c, apiURL: i, apiKey: o, cacheDurationMs: t }],
|
|
5657
5657
|
queryFn: async () => n.venues(c),
|
|
@@ -5659,11 +5659,11 @@ const Dt = [
|
|
|
5659
5659
|
};
|
|
5660
5660
|
});
|
|
5661
5661
|
var ti = /* @__PURE__ */ ((e) => (e.FASTEST = "Fastest", e.CHEAPEST = "Cheapest", e))(ti || {});
|
|
5662
|
-
const
|
|
5662
|
+
const Tr = [0.1, 0.5, 1, 3], oD = [
|
|
5663
5663
|
ti.FASTEST,
|
|
5664
5664
|
ti.CHEAPEST
|
|
5665
5665
|
], to = 8;
|
|
5666
|
-
var tD = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, It = Math.ceil, en = Math.floor, Xe = "[BigNumber Error] ",
|
|
5666
|
+
var tD = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, It = Math.ceil, en = Math.floor, Xe = "[BigNumber Error] ", Hr = Xe + "Number primitive has more than 15 significant digits: ", sn = 1e14, _ = 14, Tt = 9007199254740991, Ht = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], qn = 1e7, Le = 1e9;
|
|
5667
5667
|
function im(e) {
|
|
5668
5668
|
var n, i, o, t = f.prototype = { constructor: f, toString: null, valueOf: null }, c = new f(1), a = 20, r = 4, s = -7, l = 21, h = -1e7, d = 1e7, D = !1, b = 1, A = 0, g = {
|
|
5669
5669
|
prefix: "",
|
|
@@ -5702,7 +5702,7 @@ function im(e) {
|
|
|
5702
5702
|
if (E = String(p), w = typeof p == "number") {
|
|
5703
5703
|
if (p * 0 != 0) return o(z, E, w, u);
|
|
5704
5704
|
if (z.s = 1 / p < 0 ? (E = E.slice(1), -1) : 1, f.DEBUG && E.replace(/^0\.0*|\./, "").length > 15)
|
|
5705
|
-
throw Error(
|
|
5705
|
+
throw Error(Hr + p);
|
|
5706
5706
|
} else
|
|
5707
5707
|
z.s = E.charCodeAt(0) === 45 ? (E = E.slice(1), -1) : 1;
|
|
5708
5708
|
for (C = x.slice(0, u), P = S = 0, B = E.length; S < B; S++)
|
|
@@ -5723,8 +5723,8 @@ function im(e) {
|
|
|
5723
5723
|
for (S = 0; E.charCodeAt(S) === 48; S++) ;
|
|
5724
5724
|
for (B = E.length; E.charCodeAt(--B) === 48; ) ;
|
|
5725
5725
|
if (E = E.slice(S, ++B)) {
|
|
5726
|
-
if (B -= S, w && f.DEBUG && B > 15 && (p >
|
|
5727
|
-
throw Error(
|
|
5726
|
+
if (B -= S, w && f.DEBUG && B > 15 && (p > Tt || p !== en(p)))
|
|
5727
|
+
throw Error(Hr + z.s * p);
|
|
5728
5728
|
if ((P = P - S - 1) > d)
|
|
5729
5729
|
z.c = z.e = null;
|
|
5730
5730
|
else if (P < h)
|
|
@@ -5830,7 +5830,7 @@ function im(e) {
|
|
|
5830
5830
|
if (!D)
|
|
5831
5831
|
for (; B < S; )
|
|
5832
5832
|
w = u(), w < 9e15 && (E[B++] = w % 1e14);
|
|
5833
|
-
for (S = E[--B], C %= _, S && C && (w =
|
|
5833
|
+
for (S = E[--B], C %= _, S && C && (w = Ht[_ - C], E[B] = en(S / w) * w); E[B] === 0; E.pop(), B--) ;
|
|
5834
5834
|
if (B < 0)
|
|
5835
5835
|
E = [P = 0];
|
|
5836
5836
|
else {
|
|
@@ -5854,7 +5854,7 @@ function im(e) {
|
|
|
5854
5854
|
return w.reverse();
|
|
5855
5855
|
}
|
|
5856
5856
|
return function(C, M, v, P, S) {
|
|
5857
|
-
var w, B, E, z,
|
|
5857
|
+
var w, B, E, z, T, U, G, Y, te = C.indexOf("."), le = a, $ = r;
|
|
5858
5858
|
for (te >= 0 && (z = A, A = 0, C = C.replace(".", ""), Y = new f(M), U = Y.pow(C.length - te), A = z, Y.c = u(
|
|
5859
5859
|
kn($e(U.c), U.e, "0"),
|
|
5860
5860
|
10,
|
|
@@ -5862,10 +5862,10 @@ function im(e) {
|
|
|
5862
5862
|
p
|
|
5863
5863
|
), Y.e = Y.c.length), G = u(C, M, v, S ? (w = x, p) : (w = p, x)), E = z = G.length; G[--z] == 0; G.pop()) ;
|
|
5864
5864
|
if (!G[0]) return w.charAt(0);
|
|
5865
|
-
if (te < 0 ? --E : (U.c = G, U.e = E, U.s = P, U = n(U, Y, le, $, v), G = U.c,
|
|
5866
|
-
C =
|
|
5865
|
+
if (te < 0 ? --E : (U.c = G, U.e = E, U.s = P, U = n(U, Y, le, $, v), G = U.c, T = U.r, E = U.e), B = E + le + 1, te = G[B], z = v / 2, T = T || B < 0 || G[B + 1] != null, T = $ < 4 ? (te != null || T) && ($ == 0 || $ == (U.s < 0 ? 3 : 2)) : te > z || te == z && ($ == 4 || T || $ == 6 && G[B - 1] & 1 || $ == (U.s < 0 ? 8 : 7)), B < 1 || !G[0])
|
|
5866
|
+
C = T ? kn(w.charAt(1), -le, w.charAt(0)) : w.charAt(0);
|
|
5867
5867
|
else {
|
|
5868
|
-
if (G.length = B,
|
|
5868
|
+
if (G.length = B, T)
|
|
5869
5869
|
for (--v; ++G[--B] > v; )
|
|
5870
5870
|
G[B] = 0, B || (++E, G = [1].concat(G));
|
|
5871
5871
|
for (z = G.length; !G[--z]; ) ;
|
|
@@ -5876,9 +5876,9 @@ function im(e) {
|
|
|
5876
5876
|
};
|
|
5877
5877
|
}(), n = /* @__PURE__ */ function() {
|
|
5878
5878
|
function p(M, v, P) {
|
|
5879
|
-
var S, w, B, E, z = 0,
|
|
5880
|
-
for (M = M.slice();
|
|
5881
|
-
B = M[
|
|
5879
|
+
var S, w, B, E, z = 0, T = M.length, U = v % qn, G = v / qn | 0;
|
|
5880
|
+
for (M = M.slice(); T--; )
|
|
5881
|
+
B = M[T] % qn, E = M[T] / qn | 0, S = G * B + E * U, w = U * B + S % qn * qn + z, z = (w / P | 0) + (S / qn | 0) + G * E, M[T] = w % P;
|
|
5882
5882
|
return z && (M = [z].concat(M)), M;
|
|
5883
5883
|
}
|
|
5884
5884
|
function u(M, v, P, S) {
|
|
@@ -5899,20 +5899,20 @@ function im(e) {
|
|
|
5899
5899
|
for (; !M[0] && M.length > 1; M.splice(0, 1)) ;
|
|
5900
5900
|
}
|
|
5901
5901
|
return function(M, v, P, S, w) {
|
|
5902
|
-
var B, E, z,
|
|
5903
|
-
if (!
|
|
5902
|
+
var B, E, z, T, U, G, Y, te, le, $, ce, Me, ee, Pe, _e, Oe, We, Ee = M.s == v.s ? 1 : -1, Te = M.c, Ce = v.c;
|
|
5903
|
+
if (!Te || !Te[0] || !Ce || !Ce[0])
|
|
5904
5904
|
return new f(
|
|
5905
5905
|
// Return NaN if either NaN, or both Infinity or 0.
|
|
5906
|
-
!M.s || !v.s || (
|
|
5906
|
+
!M.s || !v.s || (Te ? Ce && Te[0] == Ce[0] : !Ce) ? NaN : (
|
|
5907
5907
|
// Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0.
|
|
5908
|
-
|
|
5908
|
+
Te && Te[0] == 0 || !Ce ? Ee * 0 : Ee / 0
|
|
5909
5909
|
)
|
|
5910
5910
|
);
|
|
5911
|
-
for (te = new f(Ee), le = te.c = [], E = M.e - v.e, Ee = P + E + 1, w || (w = sn, E = nn(M.e / _) - nn(v.e / _), Ee = Ee / _ | 0), z = 0; Ce[z] == (
|
|
5912
|
-
if (Ce[z] > (
|
|
5913
|
-
le.push(1),
|
|
5911
|
+
for (te = new f(Ee), le = te.c = [], E = M.e - v.e, Ee = P + E + 1, w || (w = sn, E = nn(M.e / _) - nn(v.e / _), Ee = Ee / _ | 0), z = 0; Ce[z] == (Te[z] || 0); z++) ;
|
|
5912
|
+
if (Ce[z] > (Te[z] || 0) && E--, Ee < 0)
|
|
5913
|
+
le.push(1), T = !0;
|
|
5914
5914
|
else {
|
|
5915
|
-
for (Pe =
|
|
5915
|
+
for (Pe = Te.length, Oe = Ce.length, z = 0, Ee += 2, U = en(w / (Ce[0] + 1)), U > 1 && (Ce = p(Ce, U, w), Te = p(Te, U, w), Oe = Ce.length, Pe = Te.length), ee = Oe, $ = Te.slice(0, Oe), ce = $.length; ce < Oe; $[ce++] = 0) ;
|
|
5916
5916
|
We = Ce.slice(), We = [0].concat(We), _e = Ce[0], Ce[1] >= w / 2 && _e++;
|
|
5917
5917
|
do {
|
|
5918
5918
|
if (U = 0, B = u(Ce, $, Oe, ce), B < 0) {
|
|
@@ -5925,15 +5925,15 @@ function im(e) {
|
|
|
5925
5925
|
for (; u(Ce, $, Oe, ce) < 1; )
|
|
5926
5926
|
U++, C($, Oe < ce ? We : Ce, ce, w), ce = $.length;
|
|
5927
5927
|
} else B === 0 && (U++, $ = [0]);
|
|
5928
|
-
le[z++] = U, $[0] ? $[ce++] =
|
|
5928
|
+
le[z++] = U, $[0] ? $[ce++] = Te[ee] || 0 : ($ = [Te[ee]], ce = 1);
|
|
5929
5929
|
} while ((ee++ < Pe || $[0] != null) && Ee--);
|
|
5930
|
-
|
|
5930
|
+
T = $[0] != null, le[0] || le.splice(0, 1);
|
|
5931
5931
|
}
|
|
5932
5932
|
if (w == sn) {
|
|
5933
5933
|
for (z = 1, Ee = le[0]; Ee >= 10; Ee /= 10, z++) ;
|
|
5934
|
-
I(te, P + (te.e = z + E * _ - 1) + 1, S,
|
|
5934
|
+
I(te, P + (te.e = z + E * _ - 1) + 1, S, T);
|
|
5935
5935
|
} else
|
|
5936
|
-
te.e = E, te.r = +
|
|
5936
|
+
te.e = E, te.r = +T;
|
|
5937
5937
|
return te;
|
|
5938
5938
|
};
|
|
5939
5939
|
}();
|
|
@@ -5968,8 +5968,8 @@ function im(e) {
|
|
|
5968
5968
|
if (M.test(z))
|
|
5969
5969
|
P.s = isNaN(z) ? null : z < 0 ? -1 : 1;
|
|
5970
5970
|
else {
|
|
5971
|
-
if (!w && (z = z.replace(p, function(
|
|
5972
|
-
return E = (G = G.toLowerCase()) == "x" ? 16 : G == "b" ? 2 : 8, !B || B == E ? U :
|
|
5971
|
+
if (!w && (z = z.replace(p, function(T, U, G) {
|
|
5972
|
+
return E = (G = G.toLowerCase()) == "x" ? 16 : G == "b" ? 2 : 8, !B || B == E ? U : T;
|
|
5973
5973
|
}), B && (E = B, z = z.replace(u, "$1").replace(C, "0.$1")), S != z))
|
|
5974
5974
|
return new f(z, E);
|
|
5975
5975
|
if (f.DEBUG)
|
|
@@ -5980,46 +5980,46 @@ function im(e) {
|
|
|
5980
5980
|
};
|
|
5981
5981
|
}();
|
|
5982
5982
|
function I(p, u, C, M) {
|
|
5983
|
-
var v, P, S, w, B, E, z,
|
|
5984
|
-
if (
|
|
5983
|
+
var v, P, S, w, B, E, z, T = p.c, U = Ht;
|
|
5984
|
+
if (T) {
|
|
5985
5985
|
e: {
|
|
5986
|
-
for (v = 1, w =
|
|
5986
|
+
for (v = 1, w = T[0]; w >= 10; w /= 10, v++) ;
|
|
5987
5987
|
if (P = u - v, P < 0)
|
|
5988
|
-
P += _, S = u, B =
|
|
5989
|
-
else if (E = It((P + 1) / _), E >=
|
|
5988
|
+
P += _, S = u, B = T[E = 0], z = en(B / U[v - S - 1] % 10);
|
|
5989
|
+
else if (E = It((P + 1) / _), E >= T.length)
|
|
5990
5990
|
if (M) {
|
|
5991
|
-
for (;
|
|
5991
|
+
for (; T.length <= E; T.push(0)) ;
|
|
5992
5992
|
B = z = 0, v = 1, P %= _, S = P - _ + 1;
|
|
5993
5993
|
} else
|
|
5994
5994
|
break e;
|
|
5995
5995
|
else {
|
|
5996
|
-
for (B = w =
|
|
5996
|
+
for (B = w = T[E], v = 1; w >= 10; w /= 10, v++) ;
|
|
5997
5997
|
P %= _, S = P - _ + v, z = S < 0 ? 0 : en(B / U[v - S - 1] % 10);
|
|
5998
5998
|
}
|
|
5999
5999
|
if (M = M || u < 0 || // Are there any non-zero digits after the rounding digit?
|
|
6000
6000
|
// The expression n % pows10[d - j - 1] returns all digits of n to the right
|
|
6001
6001
|
// of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714.
|
|
6002
|
-
|
|
6003
|
-
(P > 0 ? S > 0 ? B / U[v - S] : 0 :
|
|
6004
|
-
return
|
|
6005
|
-
if (P == 0 ? (
|
|
6002
|
+
T[E + 1] != null || (S < 0 ? B : B % U[v - S - 1]), M = C < 4 ? (z || M) && (C == 0 || C == (p.s < 0 ? 3 : 2)) : z > 5 || z == 5 && (C == 4 || M || C == 6 && // Check whether the digit to the left of the rounding digit is odd.
|
|
6003
|
+
(P > 0 ? S > 0 ? B / U[v - S] : 0 : T[E - 1]) % 10 & 1 || C == (p.s < 0 ? 8 : 7)), u < 1 || !T[0])
|
|
6004
|
+
return T.length = 0, M ? (u -= p.e + 1, T[0] = U[(_ - u % _) % _], p.e = -u || 0) : T[0] = p.e = 0, p;
|
|
6005
|
+
if (P == 0 ? (T.length = E, w = 1, E--) : (T.length = E + 1, w = U[_ - P], T[E] = S > 0 ? en(B / U[v - S] % U[S]) * w : 0), M)
|
|
6006
6006
|
for (; ; )
|
|
6007
6007
|
if (E == 0) {
|
|
6008
|
-
for (P = 1, S =
|
|
6009
|
-
for (S =
|
|
6010
|
-
P != w && (p.e++,
|
|
6008
|
+
for (P = 1, S = T[0]; S >= 10; S /= 10, P++) ;
|
|
6009
|
+
for (S = T[0] += w, w = 1; S >= 10; S /= 10, w++) ;
|
|
6010
|
+
P != w && (p.e++, T[0] == sn && (T[0] = 1));
|
|
6011
6011
|
break;
|
|
6012
6012
|
} else {
|
|
6013
|
-
if (
|
|
6014
|
-
|
|
6013
|
+
if (T[E] += w, T[E] != sn) break;
|
|
6014
|
+
T[E--] = 0, w = 1;
|
|
6015
6015
|
}
|
|
6016
|
-
for (P =
|
|
6016
|
+
for (P = T.length; T[--P] === 0; T.pop()) ;
|
|
6017
6017
|
}
|
|
6018
6018
|
p.e > d ? p.c = p.e = null : p.e < h && (p.c = [p.e = 0]);
|
|
6019
6019
|
}
|
|
6020
6020
|
return p;
|
|
6021
6021
|
}
|
|
6022
|
-
function
|
|
6022
|
+
function H(p) {
|
|
6023
6023
|
var u, C = p.e;
|
|
6024
6024
|
return C === null ? p.toString() : (u = $e(p.c), u = C <= s || C >= l ? Fo(u, C) : kn(u, C, "0"), p.s < 0 ? "-" + u : u);
|
|
6025
6025
|
}
|
|
@@ -6040,22 +6040,22 @@ function im(e) {
|
|
|
6040
6040
|
}, t.dividedToIntegerBy = t.idiv = function(p, u) {
|
|
6041
6041
|
return n(this, new f(p, u), 0, 1);
|
|
6042
6042
|
}, t.exponentiatedBy = t.pow = function(p, u) {
|
|
6043
|
-
var C, M, v, P, S, w, B, E, z,
|
|
6043
|
+
var C, M, v, P, S, w, B, E, z, T = this;
|
|
6044
6044
|
if (p = new f(p), p.c && !p.isInteger())
|
|
6045
|
-
throw Error(Xe + "Exponent not an integer: " +
|
|
6046
|
-
if (u != null && (u = new f(u)), w = p.e > 14, !
|
|
6047
|
-
return z = new f(Math.pow(+T
|
|
6045
|
+
throw Error(Xe + "Exponent not an integer: " + H(p));
|
|
6046
|
+
if (u != null && (u = new f(u)), w = p.e > 14, !T.c || !T.c[0] || T.c[0] == 1 && !T.e && T.c.length == 1 || !p.c || !p.c[0])
|
|
6047
|
+
return z = new f(Math.pow(+H(T), w ? p.s * (2 - Eo(p)) : +H(p))), u ? z.mod(u) : z;
|
|
6048
6048
|
if (B = p.s < 0, u) {
|
|
6049
6049
|
if (u.c ? !u.c[0] : !u.s) return new f(NaN);
|
|
6050
|
-
M = !B &&
|
|
6050
|
+
M = !B && T.isInteger() && u.isInteger(), M && (T = T.mod(u));
|
|
6051
6051
|
} else {
|
|
6052
|
-
if (p.e > 9 && (
|
|
6053
|
-
return P =
|
|
6052
|
+
if (p.e > 9 && (T.e > 0 || T.e < -1 || (T.e == 0 ? T.c[0] > 1 || w && T.c[1] >= 24e7 : T.c[0] < 8e13 || w && T.c[0] <= 9999975e7)))
|
|
6053
|
+
return P = T.s < 0 && Eo(p) ? -0 : 0, T.e > -1 && (P = 1 / P), new f(B ? 1 / P : P);
|
|
6054
6054
|
A && (P = It(A / _ + 2));
|
|
6055
6055
|
}
|
|
6056
|
-
for (w ? (C = new f(0.5), B && (p.s = 1), E = Eo(p)) : (v = Math.abs(+
|
|
6056
|
+
for (w ? (C = new f(0.5), B && (p.s = 1), E = Eo(p)) : (v = Math.abs(+H(p)), E = v % 2), z = new f(c); ; ) {
|
|
6057
6057
|
if (E) {
|
|
6058
|
-
if (z = z.times(
|
|
6058
|
+
if (z = z.times(T), !z.c) break;
|
|
6059
6059
|
P ? z.c.length > P && (z.c.length = P) : M && (z = z.mod(u));
|
|
6060
6060
|
}
|
|
6061
6061
|
if (v) {
|
|
@@ -6064,10 +6064,10 @@ function im(e) {
|
|
|
6064
6064
|
} else if (p = p.times(C), I(p, p.e + 1, 1), p.e > 14)
|
|
6065
6065
|
E = Eo(p);
|
|
6066
6066
|
else {
|
|
6067
|
-
if (v = +
|
|
6067
|
+
if (v = +H(p), v === 0) break;
|
|
6068
6068
|
E = v % 2;
|
|
6069
6069
|
}
|
|
6070
|
-
|
|
6070
|
+
T = T.times(T), P ? T.c && T.c.length > P && (T.c.length = P) : M && (T = T.mod(u));
|
|
6071
6071
|
}
|
|
6072
6072
|
return M ? z : (B && (z = c.div(z)), u ? z.mod(u) : P ? I(z, A, r, S) : z);
|
|
6073
6073
|
}, t.integerValue = function(p) {
|
|
@@ -6100,31 +6100,31 @@ function im(e) {
|
|
|
6100
6100
|
if (p = new f(p, u), u = p.s, !w || !u) return new f(NaN);
|
|
6101
6101
|
if (w != u)
|
|
6102
6102
|
return p.s = -u, S.plus(p);
|
|
6103
|
-
var B = S.e / _, E = p.e / _, z = S.c,
|
|
6103
|
+
var B = S.e / _, E = p.e / _, z = S.c, T = p.c;
|
|
6104
6104
|
if (!B || !E) {
|
|
6105
|
-
if (!z || !
|
|
6106
|
-
if (!z[0] || !
|
|
6107
|
-
return
|
|
6105
|
+
if (!z || !T) return z ? (p.s = -u, p) : new f(T ? S : NaN);
|
|
6106
|
+
if (!z[0] || !T[0])
|
|
6107
|
+
return T[0] ? (p.s = -u, p) : new f(z[0] ? S : (
|
|
6108
6108
|
// IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity
|
|
6109
6109
|
r == 3 ? -0 : 0
|
|
6110
6110
|
));
|
|
6111
6111
|
}
|
|
6112
6112
|
if (B = nn(B), E = nn(E), z = z.slice(), w = B - E) {
|
|
6113
|
-
for ((P = w < 0) ? (w = -w, v = z) : (E = B, v =
|
|
6113
|
+
for ((P = w < 0) ? (w = -w, v = z) : (E = B, v = T), v.reverse(), u = w; u--; v.push(0)) ;
|
|
6114
6114
|
v.reverse();
|
|
6115
6115
|
} else
|
|
6116
|
-
for (M = (P = (w = z.length) < (u =
|
|
6117
|
-
if (z[u] !=
|
|
6118
|
-
P = z[u] <
|
|
6116
|
+
for (M = (P = (w = z.length) < (u = T.length)) ? w : u, w = u = 0; u < M; u++)
|
|
6117
|
+
if (z[u] != T[u]) {
|
|
6118
|
+
P = z[u] < T[u];
|
|
6119
6119
|
break;
|
|
6120
6120
|
}
|
|
6121
|
-
if (P && (v = z, z =
|
|
6121
|
+
if (P && (v = z, z = T, T = v, p.s = -p.s), u = (M = T.length) - (C = z.length), u > 0) for (; u--; z[C++] = 0) ;
|
|
6122
6122
|
for (u = sn - 1; M > w; ) {
|
|
6123
|
-
if (z[--M] <
|
|
6123
|
+
if (z[--M] < T[M]) {
|
|
6124
6124
|
for (C = M; C && !z[--C]; z[C] = u) ;
|
|
6125
6125
|
--z[C], z[M] += sn;
|
|
6126
6126
|
}
|
|
6127
|
-
z[M] -=
|
|
6127
|
+
z[M] -= T[M];
|
|
6128
6128
|
}
|
|
6129
6129
|
for (; z[0] == 0; z.splice(0, 1), --E) ;
|
|
6130
6130
|
return z[0] ? F(p, z, E) : (p.s = r == 3 ? -1 : 1, p.c = [p.e = 0], p);
|
|
@@ -6132,11 +6132,11 @@ function im(e) {
|
|
|
6132
6132
|
var C, M, v = this;
|
|
6133
6133
|
return p = new f(p, u), !v.c || !p.s || p.c && !p.c[0] ? new f(NaN) : !p.c || v.c && !v.c[0] ? new f(v) : (b == 9 ? (M = p.s, p.s = 1, C = n(v, p, 0, 3), p.s = M, C.s *= M) : C = n(v, p, 0, b), p = v.minus(C.times(p)), !p.c[0] && b == 1 && (p.s = v.s), p);
|
|
6134
6134
|
}, t.multipliedBy = t.times = function(p, u) {
|
|
6135
|
-
var C, M, v, P, S, w, B, E, z,
|
|
6135
|
+
var C, M, v, P, S, w, B, E, z, T, U, G, Y, te, le, $ = this, ce = $.c, Me = (p = new f(p, u)).c;
|
|
6136
6136
|
if (!ce || !Me || !ce[0] || !Me[0])
|
|
6137
6137
|
return !$.s || !p.s || ce && !ce[0] && !Me || Me && !Me[0] && !ce ? p.c = p.e = p.s = null : (p.s *= $.s, !ce || !Me ? p.c = p.e = null : (p.c = [0], p.e = 0)), p;
|
|
6138
|
-
for (M = nn($.e / _) + nn(p.e / _), p.s *= $.s, B = ce.length,
|
|
6139
|
-
for (te = sn, le = qn, v =
|
|
6138
|
+
for (M = nn($.e / _) + nn(p.e / _), p.s *= $.s, B = ce.length, T = Me.length, B < T && (Y = ce, ce = Me, Me = Y, v = B, B = T, T = v), v = B + T, Y = []; v--; Y.push(0)) ;
|
|
6139
|
+
for (te = sn, le = qn, v = T; --v >= 0; ) {
|
|
6140
6140
|
for (C = 0, U = Me[v] % le, G = Me[v] / le | 0, S = B, P = v + S; P > v; )
|
|
6141
6141
|
E = ce[--S] % le, z = ce[S] / le | 0, w = G * E + z * U, E = U * E + w % le * le + Y[P] + C, C = (E / te | 0) + (w / le | 0) + G * z, Y[P--] = E % te;
|
|
6142
6142
|
Y[P] = C;
|
|
@@ -6173,12 +6173,12 @@ function im(e) {
|
|
|
6173
6173
|
}
|
|
6174
6174
|
return p && P.e + 1 > M && (M = P.e + 1), M;
|
|
6175
6175
|
}, t.shiftedBy = function(p) {
|
|
6176
|
-
return qe(p, -
|
|
6176
|
+
return qe(p, -Tt, Tt), this.times("1e" + p);
|
|
6177
6177
|
}, t.squareRoot = t.sqrt = function() {
|
|
6178
6178
|
var p, u, C, M, v, P = this, S = P.c, w = P.s, B = P.e, E = a + 4, z = new f("0.5");
|
|
6179
6179
|
if (w !== 1 || !S || !S[0])
|
|
6180
6180
|
return new f(!w || w < 0 && (!S || S[0]) ? NaN : S ? P : 1 / 0);
|
|
6181
|
-
if (w = Math.sqrt(+
|
|
6181
|
+
if (w = Math.sqrt(+H(P)), w == 0 || w == 1 / 0 ? (u = $e(S), (u.length + B) % 2 == 0 && (u += "0"), w = Math.sqrt(+u), B = nn((B + 1) / 2) - (B < 0 || B % 2), w == 1 / 0 ? u = "5e" + B : (u = w.toExponential(), u = u.slice(0, u.indexOf("e") + 1) + B), C = new f(u)) : C = new f(w + ""), C.c[0]) {
|
|
6182
6182
|
for (B = C.e, w = B + E, w < 3 && (w = 0); ; )
|
|
6183
6183
|
if (v = C, C = z.times(v.plus(n(P, v, E, 1))), $e(v.c).slice(0, w) === (u = $e(C.c)).slice(0, w))
|
|
6184
6184
|
if (C.e < B && --w, u = u.slice(w - 3, w + 1), u == "9999" || !M && u == "4999") {
|
|
@@ -6204,36 +6204,36 @@ function im(e) {
|
|
|
6204
6204
|
else if (typeof C != "object")
|
|
6205
6205
|
throw Error(Xe + "Argument not an object: " + C);
|
|
6206
6206
|
if (M = v.toFixed(p, u), v.c) {
|
|
6207
|
-
var P, S = M.split("."), w = +C.groupSize, B = +C.secondaryGroupSize, E = C.groupSeparator || "", z = S[0],
|
|
6207
|
+
var P, S = M.split("."), w = +C.groupSize, B = +C.secondaryGroupSize, E = C.groupSeparator || "", z = S[0], T = S[1], U = v.s < 0, G = U ? z.slice(1) : z, Y = G.length;
|
|
6208
6208
|
if (B && (P = w, w = B, B = P, Y -= P), w > 0 && Y > 0) {
|
|
6209
6209
|
for (P = Y % w || w, z = G.substr(0, P); P < Y; P += w) z += E + G.substr(P, w);
|
|
6210
6210
|
B > 0 && (z += E + G.slice(P)), U && (z = "-" + z);
|
|
6211
6211
|
}
|
|
6212
|
-
M =
|
|
6212
|
+
M = T ? z + (C.decimalSeparator || "") + ((B = +C.fractionGroupSize) ? T.replace(
|
|
6213
6213
|
new RegExp("\\d{" + B + "}\\B", "g"),
|
|
6214
6214
|
"$&" + (C.fractionGroupSeparator || "")
|
|
6215
|
-
) :
|
|
6215
|
+
) : T) : z;
|
|
6216
6216
|
}
|
|
6217
6217
|
return (C.prefix || "") + M + (C.suffix || "");
|
|
6218
6218
|
}, t.toFraction = function(p) {
|
|
6219
|
-
var u, C, M, v, P, S, w, B, E, z,
|
|
6219
|
+
var u, C, M, v, P, S, w, B, E, z, T, U, G = this, Y = G.c;
|
|
6220
6220
|
if (p != null && (w = new f(p), !w.isInteger() && (w.c || w.s !== 1) || w.lt(c)))
|
|
6221
|
-
throw Error(Xe + "Argument " + (w.isInteger() ? "out of range: " : "not an integer: ") +
|
|
6221
|
+
throw Error(Xe + "Argument " + (w.isInteger() ? "out of range: " : "not an integer: ") + H(w));
|
|
6222
6222
|
if (!Y) return new f(G);
|
|
6223
|
-
for (u = new f(c), E = C = new f(c), M = B = new f(c), U = $e(Y), P = u.e = U.length - G.e - 1, u.c[0] =
|
|
6223
|
+
for (u = new f(c), E = C = new f(c), M = B = new f(c), U = $e(Y), P = u.e = U.length - G.e - 1, u.c[0] = Ht[(S = P % _) < 0 ? _ + S : S], p = !p || w.comparedTo(u) > 0 ? P > 0 ? u : E : w, S = d, d = 1 / 0, w = new f(U), B.c[0] = 0; z = n(w, u, 0, 1), v = C.plus(z.times(M)), v.comparedTo(p) != 1; )
|
|
6224
6224
|
C = M, M = v, E = B.plus(z.times(v = E)), B = v, u = w.minus(z.times(v = u)), w = v;
|
|
6225
|
-
return v = n(p.minus(C), M, 0, 1), B = B.plus(v.times(E)), C = C.plus(v.times(M)), B.s = E.s = G.s, P = P * 2,
|
|
6225
|
+
return v = n(p.minus(C), M, 0, 1), B = B.plus(v.times(E)), C = C.plus(v.times(M)), B.s = E.s = G.s, P = P * 2, T = n(E, M, P, r).minus(G).abs().comparedTo(
|
|
6226
6226
|
n(B, C, P, r).minus(G).abs()
|
|
6227
|
-
) < 1 ? [E, M] : [B, C], d = S,
|
|
6227
|
+
) < 1 ? [E, M] : [B, C], d = S, T;
|
|
6228
6228
|
}, t.toNumber = function() {
|
|
6229
|
-
return +
|
|
6229
|
+
return +H(this);
|
|
6230
6230
|
}, t.toPrecision = function(p, u) {
|
|
6231
6231
|
return p != null && qe(p, 1, Le), k(this, p, u, 2);
|
|
6232
6232
|
}, t.toString = function(p) {
|
|
6233
6233
|
var u, C = this, M = C.s, v = C.e;
|
|
6234
6234
|
return v === null ? M ? (u = "Infinity", M < 0 && (u = "-" + u)) : u = "NaN" : (p == null ? u = v <= s || v >= l ? Fo($e(C.c), v) : kn($e(C.c), v, "0") : p === 10 && y ? (C = I(new f(C), a + v + 1, r), u = kn($e(C.c), C.e, "0")) : (qe(p, 2, x.length, "Base"), u = i(kn($e(C.c), v, "0"), 10, p, M, !0)), M < 0 && C.c[0] && (u = "-" + u)), u;
|
|
6235
6235
|
}, t.valueOf = t.toJSON = function() {
|
|
6236
|
-
return
|
|
6236
|
+
return H(this);
|
|
6237
6237
|
}, t._isBigNumber = !0, t[Symbol.toStringTag] = "BigNumber", t[Symbol.for("nodejs.util.inspect.custom")] = t.valueOf, e != null && f.set(e), f;
|
|
6238
6238
|
}
|
|
6239
6239
|
function nn(e) {
|
|
@@ -6281,7 +6281,7 @@ function kn(e, n, i) {
|
|
|
6281
6281
|
return e;
|
|
6282
6282
|
}
|
|
6283
6283
|
var Se = im();
|
|
6284
|
-
const
|
|
6284
|
+
const Hn = (e, n = to) => new Se(e).shiftedBy(n).toFixed(0), cn = (e, n = to) => new Se(e).shiftedBy(-n).toFixed(n, Se.ROUND_DOWN).replace(/(\.\d*?[1-9])(?:0+|\.0*)$/, "$1"), xo = (e, n) => e ? n ? `${e.slice(0, 6)}…${e.slice(-3)}` : `${e.slice(0, 9)}…${e.slice(-5)}` : "", Nr = (e, n, i) => {
|
|
6285
6285
|
const o = new Se(e).decimalPlaces(i, Se.ROUND_DOWN), t = new Se(n).decimalPlaces(i, Se.ROUND_DOWN);
|
|
6286
6286
|
return !o.eq(t);
|
|
6287
6287
|
}, Ze = ({
|
|
@@ -6296,7 +6296,7 @@ const Tn = (e, n = to) => new Se(e).shiftedBy(n).toFixed(0), cn = (e, n = to) =>
|
|
|
6296
6296
|
(A) => A.denom.toLowerCase() === e.toLowerCase() && A.chainID.toLowerCase() === o.toLowerCase()
|
|
6297
6297
|
);
|
|
6298
6298
|
}, [t, e, o]);
|
|
6299
|
-
!n && i ? n = cn(i, a == null ? void 0 : a.decimals) : !i && n && (i =
|
|
6299
|
+
!n && i ? n = cn(i, a == null ? void 0 : a.decimals) : !i && n && (i = Hn(n, a == null ? void 0 : a.decimals));
|
|
6300
6300
|
const r = a == null ? void 0 : a.logoURI, s = (a == null ? void 0 : a.recommendedSymbol) ?? (a == null ? void 0 : a.symbol), l = c == null ? void 0 : c.find((A) => o ? A.chainID === o : A.chainID === (a == null ? void 0 : a.chainID)), h = l != null && l.prettyName && (l == null ? void 0 : l.prettyName.length) !== 0 ? l.prettyName : void 0, d = l != null && l.chainName && (l == null ? void 0 : l.chainName.length) !== 0 ? l.chainName : void 0, D = l == null ? void 0 : l.logoURI, b = a == null ? void 0 : a.decimals;
|
|
6301
6301
|
return o ? {
|
|
6302
6302
|
asset: a,
|
|
@@ -6662,7 +6662,7 @@ function hD() {
|
|
|
6662
6662
|
};
|
|
6663
6663
|
}), n;
|
|
6664
6664
|
}
|
|
6665
|
-
const
|
|
6665
|
+
const Ho = ia("logger", hD);
|
|
6666
6666
|
function am() {
|
|
6667
6667
|
return oa(Fn), Fn;
|
|
6668
6668
|
}
|
|
@@ -6689,7 +6689,7 @@ function gD(e, n, i) {
|
|
|
6689
6689
|
configurable: !0
|
|
6690
6690
|
});
|
|
6691
6691
|
} catch {
|
|
6692
|
-
cm &&
|
|
6692
|
+
cm && Ho.log(`Failed to add non-enumerable property "${n}" to object`, e);
|
|
6693
6693
|
}
|
|
6694
6694
|
}
|
|
6695
6695
|
const rm = 1e3;
|
|
@@ -7044,7 +7044,7 @@ class ta {
|
|
|
7044
7044
|
captureException(n, i) {
|
|
7045
7045
|
const o = i && i.event_id ? i.event_id : fi();
|
|
7046
7046
|
if (!this._client)
|
|
7047
|
-
return
|
|
7047
|
+
return Ho.warn("No client configured on scope - will not capture exception!"), o;
|
|
7048
7048
|
const t = new Error("Sentry syntheticException");
|
|
7049
7049
|
return this._client.captureException(
|
|
7050
7050
|
n,
|
|
@@ -7063,7 +7063,7 @@ class ta {
|
|
|
7063
7063
|
captureMessage(n, i, o) {
|
|
7064
7064
|
const t = o && o.event_id ? o.event_id : fi();
|
|
7065
7065
|
if (!this._client)
|
|
7066
|
-
return
|
|
7066
|
+
return Ho.warn("No client configured on scope - will not capture message!"), t;
|
|
7067
7067
|
const c = new Error(n);
|
|
7068
7068
|
return this._client.captureMessage(
|
|
7069
7069
|
n,
|
|
@@ -7082,7 +7082,7 @@ class ta {
|
|
|
7082
7082
|
*/
|
|
7083
7083
|
captureEvent(n, i) {
|
|
7084
7084
|
const o = i && i.event_id ? i.event_id : fi();
|
|
7085
|
-
return this._client ? (this._client.captureEvent(n, { ...i, event_id: o }, this), o) : (
|
|
7085
|
+
return this._client ? (this._client.captureEvent(n, { ...i, event_id: o }, this), o) : (Ho.warn("No client configured on scope - will not capture event!"), o);
|
|
7086
7086
|
}
|
|
7087
7087
|
/**
|
|
7088
7088
|
* This will be called on every set call.
|
|
@@ -7353,7 +7353,7 @@ function wc(e) {
|
|
|
7353
7353
|
]
|
|
7354
7354
|
};
|
|
7355
7355
|
}
|
|
7356
|
-
function
|
|
7356
|
+
function Hi(e) {
|
|
7357
7357
|
if (!e) return [];
|
|
7358
7358
|
let n = 0;
|
|
7359
7359
|
return qD(e).map((o, t, c) => {
|
|
@@ -7386,7 +7386,7 @@ function jD(e) {
|
|
|
7386
7386
|
let h = "";
|
|
7387
7387
|
i ? h = "axelarTransfer" : o ? h = "ibcTransfer" : t ? h = "cctpTransfer" : c ? h = "hyperlaneTransfer" : a ? h = "opInitTransfer" : r ? h = "goFastTransfer" : s ? h = "stargateTransfer" : l && (h = "eurekaTransfer");
|
|
7388
7388
|
const d = (g) => {
|
|
7389
|
-
var x, y, f, k, q, F, I,
|
|
7389
|
+
var x, y, f, k, q, F, I, H, p, u;
|
|
7390
7390
|
switch (h) {
|
|
7391
7391
|
case "ibcTransfer":
|
|
7392
7392
|
return g === "send" ? (x = o.packetTxs.sendTx) == null ? void 0 : x.explorerLink : (y = o.packetTxs.receiveTx) == null ? void 0 : y.explorerLink;
|
|
@@ -7397,7 +7397,7 @@ function jD(e) {
|
|
|
7397
7397
|
case "axelarTransfer":
|
|
7398
7398
|
return i.axelarScanLink;
|
|
7399
7399
|
default:
|
|
7400
|
-
return g === "send" ? (
|
|
7400
|
+
return g === "send" ? (H = (I = n[h]) == null ? void 0 : I.txs.sendTx) == null ? void 0 : H.explorerLink : (u = (p = n[h]) == null ? void 0 : p.txs.receiveTx) == null ? void 0 : u.explorerLink;
|
|
7401
7401
|
}
|
|
7402
7402
|
}, D = {
|
|
7403
7403
|
...o,
|
|
@@ -7412,7 +7412,7 @@ function jD(e) {
|
|
|
7412
7412
|
...l,
|
|
7413
7413
|
fromExplorerLink: d("send"),
|
|
7414
7414
|
toExplorerLink: d("receive")
|
|
7415
|
-
}, b =
|
|
7415
|
+
}, b = HD(D.state);
|
|
7416
7416
|
return {
|
|
7417
7417
|
...D,
|
|
7418
7418
|
status: b
|
|
@@ -7421,7 +7421,7 @@ function jD(e) {
|
|
|
7421
7421
|
function ID(e) {
|
|
7422
7422
|
return e ? e == null ? void 0 : e.flatMap((n) => n.transferSequence.map((i) => jD(i))) : [];
|
|
7423
7423
|
}
|
|
7424
|
-
function
|
|
7424
|
+
function TD(e) {
|
|
7425
7425
|
switch (e) {
|
|
7426
7426
|
case "STATE_SUBMITTED":
|
|
7427
7427
|
case "STATE_PENDING":
|
|
@@ -7434,7 +7434,7 @@ function HD(e) {
|
|
|
7434
7434
|
return "failed";
|
|
7435
7435
|
}
|
|
7436
7436
|
}
|
|
7437
|
-
function
|
|
7437
|
+
function HD(e) {
|
|
7438
7438
|
switch (e) {
|
|
7439
7439
|
case "TRANSFER_PENDING":
|
|
7440
7440
|
case "TRANSFER_RECEIVED":
|
|
@@ -7478,7 +7478,7 @@ const ca = ({
|
|
|
7478
7478
|
}))
|
|
7479
7479
|
), D = ID(d), b = d.every((q) => q.state === "STATE_COMPLETED_SUCCESS" || q.state === "STATE_COMPLETED_ERROR" || q.state === "STATE_ABANDONED"), A = l === d.length && b;
|
|
7480
7480
|
A && c(!0);
|
|
7481
|
-
const g = d.some((q) => q.state === "STATE_COMPLETED_ERROR" || q.state === "STATE_ABANDONED"), x = d.length > 0 ?
|
|
7481
|
+
const g = d.some((q) => q.state === "STATE_COMPLETED_ERROR" || q.state === "STATE_ABANDONED"), x = d.length > 0 ? TD(d[d.length - 1].state) : void 0;
|
|
7482
7482
|
x === "failed" && A && ws("TransactionFailed");
|
|
7483
7483
|
const y = (k = d.reverse().find((q) => q.transferAssetRelease)) == null ? void 0 : k.transferAssetRelease, f = {
|
|
7484
7484
|
isSuccess: A && !g && x === "success",
|
|
@@ -7623,12 +7623,12 @@ const GD = 15e4, eo = {
|
|
|
7623
7623
|
const n = e(fe), i = e(Ke), o = e(On), t = e(Un), c = e(ui);
|
|
7624
7624
|
return e(KD), !(n != null && n.chainID) || !n.denom || !(i != null && i.chainID) || !i.denom ? void 0 : {
|
|
7625
7625
|
...o === "swap-in" ? {
|
|
7626
|
-
amountIn:
|
|
7626
|
+
amountIn: Hn(
|
|
7627
7627
|
t ?? "0",
|
|
7628
7628
|
n.decimals
|
|
7629
7629
|
)
|
|
7630
7630
|
} : {
|
|
7631
|
-
amountOut:
|
|
7631
|
+
amountOut: Hn(
|
|
7632
7632
|
c ?? "0",
|
|
7633
7633
|
i.decimals
|
|
7634
7634
|
)
|
|
@@ -25892,6 +25892,42 @@ const _D = [
|
|
|
25892
25892
|
coinType: 60
|
|
25893
25893
|
}
|
|
25894
25894
|
},
|
|
25895
|
+
{
|
|
25896
|
+
chainId: "civitia-1",
|
|
25897
|
+
currencies: [
|
|
25898
|
+
{
|
|
25899
|
+
coinDenom: "INIT",
|
|
25900
|
+
coinMinimalDenom: "l2/2b2d36f666e98b9eecf70d6ec24b882b79f2c8e2af73f54f97b8b670dbb87605",
|
|
25901
|
+
coinDecimals: 6
|
|
25902
|
+
}
|
|
25903
|
+
],
|
|
25904
|
+
rest: "https://rest-civitia-1.anvil.asia-southeast.initia.xyz",
|
|
25905
|
+
rpc: "https://rpc-civitia-1.anvil.asia-southeast.initia.xyz",
|
|
25906
|
+
bech32Config: {
|
|
25907
|
+
bech32PrefixAccAddr: "init",
|
|
25908
|
+
bech32PrefixAccPub: "initpub",
|
|
25909
|
+
bech32PrefixValAddr: "initvaloper",
|
|
25910
|
+
bech32PrefixValPub: "initvaloperpub",
|
|
25911
|
+
bech32PrefixConsAddr: "initvalcons",
|
|
25912
|
+
bech32PrefixConsPub: "initvalconspub"
|
|
25913
|
+
},
|
|
25914
|
+
chainName: "civitia",
|
|
25915
|
+
feeCurrencies: [
|
|
25916
|
+
{
|
|
25917
|
+
coinDenom: "INIT",
|
|
25918
|
+
coinMinimalDenom: "l2/2b2d36f666e98b9eecf70d6ec24b882b79f2c8e2af73f54f97b8b670dbb87605",
|
|
25919
|
+
coinDecimals: 6
|
|
25920
|
+
}
|
|
25921
|
+
],
|
|
25922
|
+
stakeCurrency: {
|
|
25923
|
+
coinDenom: "INIT",
|
|
25924
|
+
coinMinimalDenom: "l2/2b2d36f666e98b9eecf70d6ec24b882b79f2c8e2af73f54f97b8b670dbb87605",
|
|
25925
|
+
coinDecimals: 6
|
|
25926
|
+
},
|
|
25927
|
+
bip44: {
|
|
25928
|
+
coinType: 60
|
|
25929
|
+
}
|
|
25930
|
+
},
|
|
25895
25931
|
{
|
|
25896
25932
|
chainId: "echelon-1",
|
|
25897
25933
|
currencies: [
|
|
@@ -25949,11 +25985,11 @@ const _D = [
|
|
|
25949
25985
|
}
|
|
25950
25986
|
},
|
|
25951
25987
|
{
|
|
25952
|
-
chainId: "inertia-
|
|
25988
|
+
chainId: "inertia-2",
|
|
25953
25989
|
currencies: [
|
|
25954
25990
|
{
|
|
25955
25991
|
coinDenom: "INIT",
|
|
25956
|
-
coinMinimalDenom: "l2/
|
|
25992
|
+
coinMinimalDenom: "l2/c88b68df2060ba982a80d3001afcb2d354031f6901df2391acb4f0e2f545c770",
|
|
25957
25993
|
coinDecimals: 6
|
|
25958
25994
|
}
|
|
25959
25995
|
],
|
|
@@ -25971,13 +26007,13 @@ const _D = [
|
|
|
25971
26007
|
feeCurrencies: [
|
|
25972
26008
|
{
|
|
25973
26009
|
coinDenom: "INIT",
|
|
25974
|
-
coinMinimalDenom: "l2/
|
|
26010
|
+
coinMinimalDenom: "l2/c88b68df2060ba982a80d3001afcb2d354031f6901df2391acb4f0e2f545c770",
|
|
25975
26011
|
coinDecimals: 6
|
|
25976
26012
|
}
|
|
25977
26013
|
],
|
|
25978
26014
|
stakeCurrency: {
|
|
25979
26015
|
coinDenom: "INIT",
|
|
25980
|
-
coinMinimalDenom: "l2/
|
|
26016
|
+
coinMinimalDenom: "l2/c88b68df2060ba982a80d3001afcb2d354031f6901df2391acb4f0e2f545c770",
|
|
25981
26017
|
coinDecimals: 6
|
|
25982
26018
|
},
|
|
25983
26019
|
bip44: {
|
|
@@ -25999,7 +26035,12 @@ const _D = [
|
|
|
25999
26035
|
},
|
|
26000
26036
|
{
|
|
26001
26037
|
coinDenom: "milkTIA",
|
|
26002
|
-
coinMinimalDenom: "ibc/
|
|
26038
|
+
coinMinimalDenom: "ibc/297A4DE88667929480EBE6659B264C5683838CF313C61FE889F6B8D8DC6E071D",
|
|
26039
|
+
coinDecimals: 6
|
|
26040
|
+
},
|
|
26041
|
+
{
|
|
26042
|
+
coinDenom: "milkINIT",
|
|
26043
|
+
coinMinimalDenom: "ibc/39B55F22F15FB09189045A993817CDF0D388D3FF8773B2E22B6DE7B222636EEA",
|
|
26003
26044
|
coinDecimals: 6
|
|
26004
26045
|
},
|
|
26005
26046
|
{
|
|
@@ -26009,7 +26050,7 @@ const _D = [
|
|
|
26009
26050
|
},
|
|
26010
26051
|
{
|
|
26011
26052
|
coinDenom: "ETH",
|
|
26012
|
-
coinMinimalDenom: "move/
|
|
26053
|
+
coinMinimalDenom: "move/edfcddacac79ab86737a1e9e65805066d8be286a37cb94f4884b892b0e39f954",
|
|
26013
26054
|
coinDecimals: 6
|
|
26014
26055
|
}
|
|
26015
26056
|
],
|
|
@@ -26044,6 +26085,160 @@ const _D = [
|
|
|
26044
26085
|
bip44: {
|
|
26045
26086
|
coinType: 60
|
|
26046
26087
|
}
|
|
26088
|
+
},
|
|
26089
|
+
{
|
|
26090
|
+
chainId: "intergaze-1",
|
|
26091
|
+
currencies: [
|
|
26092
|
+
{
|
|
26093
|
+
coinDenom: "INIT",
|
|
26094
|
+
coinMinimalDenom: "l2/fb936ffef4eb4019d82941992cc09ae2788ce7197fcb08cb00c4fe6f5e79184e",
|
|
26095
|
+
coinDecimals: 6
|
|
26096
|
+
}
|
|
26097
|
+
],
|
|
26098
|
+
rest: "https://rest.intergaze-apis.com",
|
|
26099
|
+
rpc: "https://rpc.intergaze-apis.com",
|
|
26100
|
+
bech32Config: {
|
|
26101
|
+
bech32PrefixAccAddr: "init",
|
|
26102
|
+
bech32PrefixAccPub: "initpub",
|
|
26103
|
+
bech32PrefixValAddr: "initvaloper",
|
|
26104
|
+
bech32PrefixValPub: "initvaloperpub",
|
|
26105
|
+
bech32PrefixConsAddr: "initvalcons",
|
|
26106
|
+
bech32PrefixConsPub: "initvalconspub"
|
|
26107
|
+
},
|
|
26108
|
+
chainName: "intergaze",
|
|
26109
|
+
feeCurrencies: [
|
|
26110
|
+
{
|
|
26111
|
+
coinDenom: "INIT",
|
|
26112
|
+
coinMinimalDenom: "l2/fb936ffef4eb4019d82941992cc09ae2788ce7197fcb08cb00c4fe6f5e79184e",
|
|
26113
|
+
coinDecimals: 6
|
|
26114
|
+
}
|
|
26115
|
+
],
|
|
26116
|
+
stakeCurrency: {
|
|
26117
|
+
coinDenom: "INIT",
|
|
26118
|
+
coinMinimalDenom: "l2/fb936ffef4eb4019d82941992cc09ae2788ce7197fcb08cb00c4fe6f5e79184e",
|
|
26119
|
+
coinDecimals: 6
|
|
26120
|
+
},
|
|
26121
|
+
bip44: {
|
|
26122
|
+
coinType: 60
|
|
26123
|
+
}
|
|
26124
|
+
},
|
|
26125
|
+
{
|
|
26126
|
+
chainId: "moo-1",
|
|
26127
|
+
currencies: [
|
|
26128
|
+
{
|
|
26129
|
+
coinDenom: "INIT",
|
|
26130
|
+
coinMinimalDenom: "ibc/37A3FB4FED4CA04ED6D9E5DA36C6D27248645F0E22F585576A1488B8A89C5A50",
|
|
26131
|
+
coinDecimals: 6
|
|
26132
|
+
},
|
|
26133
|
+
{
|
|
26134
|
+
coinDenom: "milkINIT",
|
|
26135
|
+
coinMinimalDenom: "factory/init17p9rzwnnfxcjp32un9ug7yhhzgtkhvl9jfksztgw5uh69wac2pgsj6uxxj/umilkINIT",
|
|
26136
|
+
coinDecimals: 6
|
|
26137
|
+
}
|
|
26138
|
+
],
|
|
26139
|
+
rest: "https://rest-moo-1.anvil.asia-southeast.initia.xyz",
|
|
26140
|
+
rpc: "https://rpc-moo-1.anvil.asia-southeast.initia.xyz",
|
|
26141
|
+
bech32Config: {
|
|
26142
|
+
bech32PrefixAccAddr: "init",
|
|
26143
|
+
bech32PrefixAccPub: "initpub",
|
|
26144
|
+
bech32PrefixValAddr: "initvaloper",
|
|
26145
|
+
bech32PrefixValPub: "initvaloperpub",
|
|
26146
|
+
bech32PrefixConsAddr: "initvalcons",
|
|
26147
|
+
bech32PrefixConsPub: "initvalconspub"
|
|
26148
|
+
},
|
|
26149
|
+
chainName: "moo",
|
|
26150
|
+
feeCurrencies: [
|
|
26151
|
+
{
|
|
26152
|
+
coinDenom: "INIT",
|
|
26153
|
+
coinMinimalDenom: "ibc/37A3FB4FED4CA04ED6D9E5DA36C6D27248645F0E22F585576A1488B8A89C5A50",
|
|
26154
|
+
coinDecimals: 6
|
|
26155
|
+
}
|
|
26156
|
+
],
|
|
26157
|
+
stakeCurrency: {
|
|
26158
|
+
coinDenom: "INIT",
|
|
26159
|
+
coinMinimalDenom: "ibc/37A3FB4FED4CA04ED6D9E5DA36C6D27248645F0E22F585576A1488B8A89C5A50",
|
|
26160
|
+
coinDecimals: 6
|
|
26161
|
+
},
|
|
26162
|
+
bip44: {
|
|
26163
|
+
coinType: 60
|
|
26164
|
+
}
|
|
26165
|
+
},
|
|
26166
|
+
{
|
|
26167
|
+
chainId: "rave-1",
|
|
26168
|
+
currencies: [
|
|
26169
|
+
{
|
|
26170
|
+
coinDenom: "INIT",
|
|
26171
|
+
coinMinimalDenom: "evm/4f7566f67941283a30cf65de7b9c6fdf2c04fca1",
|
|
26172
|
+
coinDecimals: 18
|
|
26173
|
+
}
|
|
26174
|
+
],
|
|
26175
|
+
rest: "https://rest-rave-1.anvil.asia-southeast.initia.xyz",
|
|
26176
|
+
rpc: "https://rpc-rave-1.anvil.asia-southeast.initia.xyz",
|
|
26177
|
+
bech32Config: {
|
|
26178
|
+
bech32PrefixAccAddr: "init",
|
|
26179
|
+
bech32PrefixAccPub: "initpub",
|
|
26180
|
+
bech32PrefixValAddr: "initvaloper",
|
|
26181
|
+
bech32PrefixValPub: "initvaloperpub",
|
|
26182
|
+
bech32PrefixConsAddr: "initvalcons",
|
|
26183
|
+
bech32PrefixConsPub: "initvalconspub"
|
|
26184
|
+
},
|
|
26185
|
+
chainName: "rave",
|
|
26186
|
+
feeCurrencies: [
|
|
26187
|
+
{
|
|
26188
|
+
coinDenom: "INIT",
|
|
26189
|
+
coinMinimalDenom: "evm/4f7566f67941283a30cf65de7b9c6fdf2c04fca1",
|
|
26190
|
+
coinDecimals: 18
|
|
26191
|
+
}
|
|
26192
|
+
],
|
|
26193
|
+
stakeCurrency: {
|
|
26194
|
+
coinDenom: "INIT",
|
|
26195
|
+
coinMinimalDenom: "evm/4f7566f67941283a30cf65de7b9c6fdf2c04fca1",
|
|
26196
|
+
coinDecimals: 18
|
|
26197
|
+
},
|
|
26198
|
+
bip44: {
|
|
26199
|
+
coinType: 60
|
|
26200
|
+
}
|
|
26201
|
+
},
|
|
26202
|
+
{
|
|
26203
|
+
chainId: "zaar-mainnet-1",
|
|
26204
|
+
currencies: [
|
|
26205
|
+
{
|
|
26206
|
+
coinDenom: "INIT",
|
|
26207
|
+
coinMinimalDenom: "evm/7fb2a94a13186e3c338f0da9728b4835d86b1a7b",
|
|
26208
|
+
coinDecimals: 18
|
|
26209
|
+
},
|
|
26210
|
+
{
|
|
26211
|
+
coinDenom: "USDC",
|
|
26212
|
+
coinMinimalDenom: "evm/856ab2c9f35b9187ab3eb0fcd11dcc6160427e96",
|
|
26213
|
+
coinDecimals: 18
|
|
26214
|
+
}
|
|
26215
|
+
],
|
|
26216
|
+
rest: "https://rest-zaar-mainnet-1.anvil.asia-southeast.initia.xyz",
|
|
26217
|
+
rpc: "https://rpc-zaar-mainnet-1.anvil.asia-southeast.initia.xyz",
|
|
26218
|
+
bech32Config: {
|
|
26219
|
+
bech32PrefixAccAddr: "init",
|
|
26220
|
+
bech32PrefixAccPub: "initpub",
|
|
26221
|
+
bech32PrefixValAddr: "initvaloper",
|
|
26222
|
+
bech32PrefixValPub: "initvaloperpub",
|
|
26223
|
+
bech32PrefixConsAddr: "initvalcons",
|
|
26224
|
+
bech32PrefixConsPub: "initvalconspub"
|
|
26225
|
+
},
|
|
26226
|
+
chainName: "zaarmainnet",
|
|
26227
|
+
feeCurrencies: [
|
|
26228
|
+
{
|
|
26229
|
+
coinDenom: "INIT",
|
|
26230
|
+
coinMinimalDenom: "evm/7fb2a94a13186e3c338f0da9728b4835d86b1a7b",
|
|
26231
|
+
coinDecimals: 18
|
|
26232
|
+
}
|
|
26233
|
+
],
|
|
26234
|
+
stakeCurrency: {
|
|
26235
|
+
coinDenom: "INIT",
|
|
26236
|
+
coinMinimalDenom: "evm/7fb2a94a13186e3c338f0da9728b4835d86b1a7b",
|
|
26237
|
+
coinDecimals: 18
|
|
26238
|
+
},
|
|
26239
|
+
bip44: {
|
|
26240
|
+
coinType: 60
|
|
26241
|
+
}
|
|
26047
26242
|
}
|
|
26048
26243
|
], $D = [
|
|
26049
26244
|
{
|
|
@@ -31879,57 +32074,6 @@ const _D = [
|
|
|
31879
32074
|
coinType: 118
|
|
31880
32075
|
}
|
|
31881
32076
|
},
|
|
31882
|
-
{
|
|
31883
|
-
chainId: "landlord-2",
|
|
31884
|
-
currencies: [
|
|
31885
|
-
{
|
|
31886
|
-
coinDenom: "INIT",
|
|
31887
|
-
coinMinimalDenom: "l2/1666ede2bf1985307a86de36a6b78411cbf1edeffc2ac569e6a7b2f8753db4bb",
|
|
31888
|
-
coinDecimals: 6
|
|
31889
|
-
},
|
|
31890
|
-
{
|
|
31891
|
-
coinDenom: "wGAS",
|
|
31892
|
-
coinMinimalDenom: "ibc/CBB9B3DD892704F8D0162F358EF2919517D2B060FE338974014FA1550D9A5CE4",
|
|
31893
|
-
coinDecimals: 6
|
|
31894
|
-
},
|
|
31895
|
-
{
|
|
31896
|
-
coinDenom: "nUSDC",
|
|
31897
|
-
coinMinimalDenom: "ibc/7234ED78870F67A2F6C1EE973B1D9F9EB25127B0706D849BC714B68EAF360536",
|
|
31898
|
-
coinDecimals: 6
|
|
31899
|
-
}
|
|
31900
|
-
],
|
|
31901
|
-
rest: "https://maze-rest-sequencer-53ecf1d6-4fa1-4103-827f-a9430df97cef.ane1-prod-nocsm.newmetric.xyz",
|
|
31902
|
-
rpc: "https://maze-rpc-sequencer-53ecf1d6-4fa1-4103-827f-a9430df97cef.ane1-prod-nocsm.newmetric.xyz",
|
|
31903
|
-
bech32Config: {
|
|
31904
|
-
bech32PrefixAccAddr: "init",
|
|
31905
|
-
bech32PrefixAccPub: "initpub",
|
|
31906
|
-
bech32PrefixValAddr: "initvaloper",
|
|
31907
|
-
bech32PrefixValPub: "initvaloperpub",
|
|
31908
|
-
bech32PrefixConsAddr: "initvalcons",
|
|
31909
|
-
bech32PrefixConsPub: "initvalconspub"
|
|
31910
|
-
},
|
|
31911
|
-
chainName: "civitia",
|
|
31912
|
-
feeCurrencies: [
|
|
31913
|
-
{
|
|
31914
|
-
coinDenom: "INIT",
|
|
31915
|
-
coinMinimalDenom: "l2/1666ede2bf1985307a86de36a6b78411cbf1edeffc2ac569e6a7b2f8753db4bb",
|
|
31916
|
-
coinDecimals: 6,
|
|
31917
|
-
gasPriceStep: {
|
|
31918
|
-
low: 0.2,
|
|
31919
|
-
average: 0.3,
|
|
31920
|
-
high: 0.4
|
|
31921
|
-
}
|
|
31922
|
-
}
|
|
31923
|
-
],
|
|
31924
|
-
stakeCurrency: {
|
|
31925
|
-
coinDenom: "INIT",
|
|
31926
|
-
coinMinimalDenom: "l2/1666ede2bf1985307a86de36a6b78411cbf1edeffc2ac569e6a7b2f8753db4bb",
|
|
31927
|
-
coinDecimals: 6
|
|
31928
|
-
},
|
|
31929
|
-
bip44: {
|
|
31930
|
-
coinType: 118
|
|
31931
|
-
}
|
|
31932
|
-
},
|
|
31933
32077
|
{
|
|
31934
32078
|
chainId: "culinaris-2",
|
|
31935
32079
|
currencies: [
|
|
@@ -31978,7 +32122,7 @@ const _D = [
|
|
|
31978
32122
|
coinDecimals: 6
|
|
31979
32123
|
},
|
|
31980
32124
|
bip44: {
|
|
31981
|
-
coinType:
|
|
32125
|
+
coinType: 60
|
|
31982
32126
|
}
|
|
31983
32127
|
},
|
|
31984
32128
|
{
|
|
@@ -32024,7 +32168,7 @@ const _D = [
|
|
|
32024
32168
|
coinDecimals: 6
|
|
32025
32169
|
},
|
|
32026
32170
|
bip44: {
|
|
32027
|
-
coinType:
|
|
32171
|
+
coinType: 60
|
|
32028
32172
|
}
|
|
32029
32173
|
},
|
|
32030
32174
|
{
|
|
@@ -32095,7 +32239,7 @@ const _D = [
|
|
|
32095
32239
|
coinDecimals: 6
|
|
32096
32240
|
},
|
|
32097
32241
|
bip44: {
|
|
32098
|
-
coinType:
|
|
32242
|
+
coinType: 60
|
|
32099
32243
|
}
|
|
32100
32244
|
},
|
|
32101
32245
|
{
|
|
@@ -32141,63 +32285,7 @@ const _D = [
|
|
|
32141
32285
|
coinDecimals: 6
|
|
32142
32286
|
},
|
|
32143
32287
|
bip44: {
|
|
32144
|
-
coinType:
|
|
32145
|
-
}
|
|
32146
|
-
},
|
|
32147
|
-
{
|
|
32148
|
-
chainId: "virgaze-1",
|
|
32149
|
-
currencies: [
|
|
32150
|
-
{
|
|
32151
|
-
coinDenom: "GAZE",
|
|
32152
|
-
coinMinimalDenom: "ugaze",
|
|
32153
|
-
coinDecimals: 6
|
|
32154
|
-
},
|
|
32155
|
-
{
|
|
32156
|
-
coinDenom: "INIT",
|
|
32157
|
-
coinMinimalDenom: "ibc/37A3FB4FED4CA04ED6D9E5DA36C6D27248645F0E22F585576A1488B8A89C5A50",
|
|
32158
|
-
coinDecimals: 6
|
|
32159
|
-
}
|
|
32160
|
-
],
|
|
32161
|
-
rest: "https://rest.virgaze-1.intergaze-apis.com",
|
|
32162
|
-
rpc: "https://rpc.virgaze-1.intergaze-apis.com",
|
|
32163
|
-
bech32Config: {
|
|
32164
|
-
bech32PrefixAccAddr: "init",
|
|
32165
|
-
bech32PrefixAccPub: "initpub",
|
|
32166
|
-
bech32PrefixValAddr: "initvaloper",
|
|
32167
|
-
bech32PrefixValPub: "initvaloperpub",
|
|
32168
|
-
bech32PrefixConsAddr: "initvalcons",
|
|
32169
|
-
bech32PrefixConsPub: "initvalconspub"
|
|
32170
|
-
},
|
|
32171
|
-
chainName: "intergaze",
|
|
32172
|
-
feeCurrencies: [
|
|
32173
|
-
{
|
|
32174
|
-
coinDenom: "INIT",
|
|
32175
|
-
coinMinimalDenom: "ibc/37A3FB4FED4CA04ED6D9E5DA36C6D27248645F0E22F585576A1488B8A89C5A50",
|
|
32176
|
-
coinDecimals: 6,
|
|
32177
|
-
gasPriceStep: {
|
|
32178
|
-
low: 0.15,
|
|
32179
|
-
average: 0.15,
|
|
32180
|
-
high: 0.4
|
|
32181
|
-
}
|
|
32182
|
-
},
|
|
32183
|
-
{
|
|
32184
|
-
coinDenom: "GAZE",
|
|
32185
|
-
coinMinimalDenom: "ugaze",
|
|
32186
|
-
coinDecimals: 6,
|
|
32187
|
-
gasPriceStep: {
|
|
32188
|
-
low: 0.15,
|
|
32189
|
-
average: 0.15,
|
|
32190
|
-
high: 0.4
|
|
32191
|
-
}
|
|
32192
|
-
}
|
|
32193
|
-
],
|
|
32194
|
-
stakeCurrency: {
|
|
32195
|
-
coinDenom: "GAZE",
|
|
32196
|
-
coinMinimalDenom: "ugaze",
|
|
32197
|
-
coinDecimals: 6
|
|
32198
|
-
},
|
|
32199
|
-
bip44: {
|
|
32200
|
-
coinType: 118
|
|
32288
|
+
coinType: 60
|
|
32201
32289
|
}
|
|
32202
32290
|
},
|
|
32203
32291
|
{
|
|
@@ -32253,7 +32341,7 @@ const _D = [
|
|
|
32253
32341
|
coinDecimals: 0
|
|
32254
32342
|
},
|
|
32255
32343
|
bip44: {
|
|
32256
|
-
coinType:
|
|
32344
|
+
coinType: 60
|
|
32257
32345
|
}
|
|
32258
32346
|
},
|
|
32259
32347
|
{
|
|
@@ -32319,7 +32407,7 @@ const _D = [
|
|
|
32319
32407
|
coinDecimals: 6
|
|
32320
32408
|
},
|
|
32321
32409
|
bip44: {
|
|
32322
|
-
coinType:
|
|
32410
|
+
coinType: 60
|
|
32323
32411
|
}
|
|
32324
32412
|
},
|
|
32325
32413
|
{
|
|
@@ -32355,58 +32443,7 @@ const _D = [
|
|
|
32355
32443
|
coinDecimals: 6
|
|
32356
32444
|
},
|
|
32357
32445
|
bip44: {
|
|
32358
|
-
coinType:
|
|
32359
|
-
}
|
|
32360
|
-
},
|
|
32361
|
-
{
|
|
32362
|
-
chainId: "rave-test4",
|
|
32363
|
-
currencies: [
|
|
32364
|
-
{
|
|
32365
|
-
coinDenom: "RAVE",
|
|
32366
|
-
coinMinimalDenom: "evm/Bdb128Cf29d40738875297E90aa42772D354c137",
|
|
32367
|
-
coinDecimals: 18
|
|
32368
|
-
},
|
|
32369
|
-
{
|
|
32370
|
-
coinDenom: "INIT",
|
|
32371
|
-
coinMinimalDenom: "l2/edae1fc3a500ebf17be462b0d899d385fec7fbff99f2ca3f1250bdbee675b2ea",
|
|
32372
|
-
coinDecimals: 6
|
|
32373
|
-
},
|
|
32374
|
-
{
|
|
32375
|
-
coinDenom: "USDC",
|
|
32376
|
-
coinMinimalDenom: "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5",
|
|
32377
|
-
coinDecimals: 6
|
|
32378
|
-
}
|
|
32379
|
-
],
|
|
32380
|
-
rest: "https://rest-test-initia.rave.trade",
|
|
32381
|
-
rpc: "https://rpc-test-initia.rave.trade",
|
|
32382
|
-
bech32Config: {
|
|
32383
|
-
bech32PrefixAccAddr: "init",
|
|
32384
|
-
bech32PrefixAccPub: "initpub",
|
|
32385
|
-
bech32PrefixValAddr: "initvaloper",
|
|
32386
|
-
bech32PrefixValPub: "initvaloperpub",
|
|
32387
|
-
bech32PrefixConsAddr: "initvalcons",
|
|
32388
|
-
bech32PrefixConsPub: "initvalconspub"
|
|
32389
|
-
},
|
|
32390
|
-
chainName: "rave",
|
|
32391
|
-
feeCurrencies: [
|
|
32392
|
-
{
|
|
32393
|
-
coinDenom: "RAVE",
|
|
32394
|
-
coinMinimalDenom: "evm/Bdb128Cf29d40738875297E90aa42772D354c137",
|
|
32395
|
-
coinDecimals: 18,
|
|
32396
|
-
gasPriceStep: {
|
|
32397
|
-
low: 1e9,
|
|
32398
|
-
average: 15e8,
|
|
32399
|
-
high: 2e9
|
|
32400
|
-
}
|
|
32401
|
-
}
|
|
32402
|
-
],
|
|
32403
|
-
stakeCurrency: {
|
|
32404
|
-
coinDenom: "RAVE",
|
|
32405
|
-
coinMinimalDenom: "evm/Bdb128Cf29d40738875297E90aa42772D354c137",
|
|
32406
|
-
coinDecimals: 18
|
|
32407
|
-
},
|
|
32408
|
-
bip44: {
|
|
32409
|
-
coinType: 118
|
|
32446
|
+
coinType: 60
|
|
32410
32447
|
}
|
|
32411
32448
|
},
|
|
32412
32449
|
{
|
|
@@ -32457,7 +32494,7 @@ const _D = [
|
|
|
32457
32494
|
coinDecimals: 18
|
|
32458
32495
|
},
|
|
32459
32496
|
bip44: {
|
|
32460
|
-
coinType:
|
|
32497
|
+
coinType: 60
|
|
32461
32498
|
}
|
|
32462
32499
|
}
|
|
32463
32500
|
], e2 = [
|
|
@@ -40908,20 +40945,26 @@ const _D = [
|
|
|
40908
40945
|
{
|
|
40909
40946
|
chainId: "zig-test-1"
|
|
40910
40947
|
},
|
|
40948
|
+
{
|
|
40949
|
+
chainId: "civitia-1"
|
|
40950
|
+
},
|
|
40911
40951
|
{
|
|
40912
40952
|
chainId: "echelon-1"
|
|
40913
40953
|
},
|
|
40914
40954
|
{
|
|
40915
|
-
chainId: "inertia-
|
|
40955
|
+
chainId: "inertia-2",
|
|
40916
40956
|
explorers: [
|
|
40917
40957
|
{
|
|
40918
40958
|
kind: "initia scan",
|
|
40919
|
-
url: "https://scan.initia.xyz/inertia-
|
|
40920
|
-
tx_page: "https://scan.initia.xyz/inertia-
|
|
40921
|
-
account_page: "https://scan.initia.xyz/inertia-
|
|
40959
|
+
url: "https://scan.initia.xyz/inertia-2",
|
|
40960
|
+
tx_page: "https://scan.initia.xyz/inertia-2/txs/${txHash}",
|
|
40961
|
+
account_page: "https://scan.initia.xyz/inertia-2/accounts/${accountAddress}"
|
|
40922
40962
|
}
|
|
40923
40963
|
]
|
|
40924
40964
|
},
|
|
40965
|
+
{
|
|
40966
|
+
chainId: "ingnetwork-1"
|
|
40967
|
+
},
|
|
40925
40968
|
{
|
|
40926
40969
|
chainId: "interwoven-1",
|
|
40927
40970
|
explorers: [
|
|
@@ -40933,9 +40976,21 @@ const _D = [
|
|
|
40933
40976
|
}
|
|
40934
40977
|
]
|
|
40935
40978
|
},
|
|
40979
|
+
{
|
|
40980
|
+
chainId: "intergaze-1"
|
|
40981
|
+
},
|
|
40982
|
+
{
|
|
40983
|
+
chainId: "moo-1"
|
|
40984
|
+
},
|
|
40985
|
+
{
|
|
40986
|
+
chainId: "rave-1"
|
|
40987
|
+
},
|
|
40936
40988
|
{
|
|
40937
40989
|
chainId: "yominet-1"
|
|
40938
40990
|
},
|
|
40991
|
+
{
|
|
40992
|
+
chainId: "zaar-mainnet-1"
|
|
40993
|
+
},
|
|
40939
40994
|
{
|
|
40940
40995
|
chainId: "landlord-2",
|
|
40941
40996
|
explorers: [
|
|
@@ -41260,7 +41315,7 @@ const _D = [
|
|
|
41260
41315
|
isValidatingGasBalance: void 0,
|
|
41261
41316
|
transactionsSigned: 0
|
|
41262
41317
|
}
|
|
41263
|
-
),
|
|
41318
|
+
), Tn = Z(null, (e, n, i) => {
|
|
41264
41319
|
n(Ue, (o) => ({ ...o, overallStatus: i }));
|
|
41265
41320
|
}), r2 = Z(null, (e, n) => {
|
|
41266
41321
|
var g;
|
|
@@ -41292,7 +41347,7 @@ const _D = [
|
|
|
41292
41347
|
V("execute route: transaction updated", { txInfo: x }), ((y = x.status) == null ? void 0 : y.status) !== "STATE_COMPLETED" && n(Kr, x, a);
|
|
41293
41348
|
},
|
|
41294
41349
|
onApproveAllowance: async ({ status: x, allowance: y }) => {
|
|
41295
|
-
V("execute route: approve allowance", { status: x, allowance: y }), y && x === "pending" && n(
|
|
41350
|
+
V("execute route: approve allowance", { status: x, allowance: y }), y && x === "pending" && n(Tn, "approving");
|
|
41296
41351
|
},
|
|
41297
41352
|
onTransactionBroadcast: async (x) => {
|
|
41298
41353
|
var k;
|
|
@@ -41342,7 +41397,7 @@ const _D = [
|
|
|
41342
41397
|
V("execute route: transaction signed"), n(Ue, (x) => ({
|
|
41343
41398
|
...x,
|
|
41344
41399
|
transactionsSigned: (x.transactionsSigned ?? 0) + 1
|
|
41345
|
-
})), n(
|
|
41400
|
+
})), n(Tn, "pending");
|
|
41346
41401
|
},
|
|
41347
41402
|
onError: (x, y) => {
|
|
41348
41403
|
var k, q;
|
|
@@ -41354,7 +41409,7 @@ const _D = [
|
|
|
41354
41409
|
V("error page: user rejected request"), n(Ne, {
|
|
41355
41410
|
errorType: we.AuthFailed,
|
|
41356
41411
|
onClickBack: () => {
|
|
41357
|
-
n(
|
|
41412
|
+
n(Tn, "unconfirmed");
|
|
41358
41413
|
}
|
|
41359
41414
|
});
|
|
41360
41415
|
else if (f != null && f.explorerLink) {
|
|
@@ -41363,7 +41418,7 @@ const _D = [
|
|
|
41363
41418
|
errorType: we.Unexpected,
|
|
41364
41419
|
error: x,
|
|
41365
41420
|
onClickBack: () => {
|
|
41366
|
-
n(
|
|
41421
|
+
n(Tn, "unconfirmed");
|
|
41367
41422
|
}
|
|
41368
41423
|
});
|
|
41369
41424
|
return;
|
|
@@ -41371,7 +41426,7 @@ const _D = [
|
|
|
41371
41426
|
V("error page: transaction failed"), n(Ne, {
|
|
41372
41427
|
errorType: we.TransactionFailed,
|
|
41373
41428
|
onClickBack: () => {
|
|
41374
|
-
n(
|
|
41429
|
+
n(Tn, "unconfirmed");
|
|
41375
41430
|
},
|
|
41376
41431
|
explorerLink: (f == null ? void 0 : f.explorerLink) ?? "",
|
|
41377
41432
|
txHash: (f == null ? void 0 : f.txHash) ?? "",
|
|
@@ -41384,7 +41439,7 @@ const _D = [
|
|
|
41384
41439
|
errorType: we.Unexpected,
|
|
41385
41440
|
error: x,
|
|
41386
41441
|
onClickBack: () => {
|
|
41387
|
-
n(
|
|
41442
|
+
n(Tn, "unconfirmed");
|
|
41388
41443
|
}
|
|
41389
41444
|
});
|
|
41390
41445
|
},
|
|
@@ -41477,10 +41532,10 @@ const _D = [
|
|
|
41477
41532
|
}
|
|
41478
41533
|
};
|
|
41479
41534
|
}), Ct = (e) => O(() => {
|
|
41480
|
-
const n =
|
|
41535
|
+
const n = Hi(e == null ? void 0 : e.operations);
|
|
41481
41536
|
return (n == null ? void 0 : n.some((i) => i.type === ze.goFastTransfer)) ?? !1;
|
|
41482
41537
|
}, [e == null ? void 0 : e.operations]), p2 = (e) => O(() => {
|
|
41483
|
-
const n = [ze.swap, ze.evmSwap], i =
|
|
41538
|
+
const n = [ze.swap, ze.evmSwap], i = Hi(e == null ? void 0 : e.operations);
|
|
41484
41539
|
return (i == null ? void 0 : i.some((o) => n.includes(o.type))) ?? !1;
|
|
41485
41540
|
}, [e == null ? void 0 : e.operations]), h2 = ({ txHash: e, explorerLink: n, onClickBack: i }) => {
|
|
41486
41541
|
const o = xe(), [t, c] = he(Ne), a = X(rn), { route: r, transactionDetailsArray: s } = L(Ue), l = Ct(r), { data: h } = ca({
|
|
@@ -42137,7 +42192,7 @@ const _D = [
|
|
|
42137
42192
|
]), F = O(() => {
|
|
42138
42193
|
if (c)
|
|
42139
42194
|
return D ? /* @__PURE__ */ m(tm, { href: c, target: "_blank", children: /* @__PURE__ */ m(Rn, {}) }) : /* @__PURE__ */ m(na, { href: c, target: "_blank", children: /* @__PURE__ */ m(Rn, {}) });
|
|
42140
|
-
}, [c, D]), I = l == null ? void 0 : l.transferEvents.length,
|
|
42195
|
+
}, [c, D]), I = l == null ? void 0 : l.transferEvents.length, H = (u = (p = l == null ? void 0 : l.transferEvents) == null ? void 0 : p[(l == null ? void 0 : l.transferEvents.length) - 1]) == null ? void 0 : u.status;
|
|
42141
42196
|
return /* @__PURE__ */ j(W, { gap: 15, align: "center", ...h, children: [
|
|
42142
42197
|
g != null && g.assetImage ? /* @__PURE__ */ m(
|
|
42143
42198
|
kt,
|
|
@@ -42156,7 +42211,7 @@ const _D = [
|
|
|
42156
42211
|
}
|
|
42157
42212
|
)
|
|
42158
42213
|
},
|
|
42159
|
-
`${I}-${
|
|
42214
|
+
`${I}-${H}`
|
|
42160
42215
|
) : /* @__PURE__ */ m(M2, { children: " ? " }),
|
|
42161
42216
|
/* @__PURE__ */ m(
|
|
42162
42217
|
ue,
|
|
@@ -42171,7 +42226,7 @@ const _D = [
|
|
|
42171
42226
|
/* @__PURE__ */ m(j2, { normalTextColor: !0, title: g == null ? void 0 : g.amount, children: co(g == null ? void 0 : g.amount) }),
|
|
42172
42227
|
/* @__PURE__ */ m(I2, { normalTextColor: !0, children: g == null ? void 0 : g.symbol }),
|
|
42173
42228
|
/* @__PURE__ */ j(
|
|
42174
|
-
|
|
42229
|
+
T2,
|
|
42175
42230
|
{
|
|
42176
42231
|
renderingEditDestinationWalletOrExplorerLink: f,
|
|
42177
42232
|
title: g == null ? void 0 : g.chainName,
|
|
@@ -42311,7 +42366,7 @@ const _D = [
|
|
|
42311
42366
|
@media (max-width: 400px) {
|
|
42312
42367
|
max-width: 40px;
|
|
42313
42368
|
}
|
|
42314
|
-
`,
|
|
42369
|
+
`, T2 = N(K)`
|
|
42315
42370
|
max-width: 95px;
|
|
42316
42371
|
text-overflow: ellipsis;
|
|
42317
42372
|
overflow: hidden;
|
|
@@ -42342,7 +42397,7 @@ const _D = [
|
|
|
42342
42397
|
}
|
|
42343
42398
|
`, pa = ({ title: e, onClickBackButton: n, rightContent: i }) => {
|
|
42344
42399
|
const o = xe();
|
|
42345
|
-
return /* @__PURE__ */ j(
|
|
42400
|
+
return /* @__PURE__ */ j(H2, { align: "center", justify: "space-between", children: [
|
|
42346
42401
|
/* @__PURE__ */ m(an, { onClick: () => n(), children: /* @__PURE__ */ m(N2, { color: o == null ? void 0 : o.primary.text.normal }) }),
|
|
42347
42402
|
/* @__PURE__ */ m(V2, { textAlign: "center", children: e }),
|
|
42348
42403
|
i
|
|
@@ -42359,7 +42414,7 @@ const _D = [
|
|
|
42359
42414
|
width: 100%;
|
|
42360
42415
|
align-items: center;
|
|
42361
42416
|
justify-content: center;
|
|
42362
|
-
`,
|
|
42417
|
+
`, H2 = N(W)`
|
|
42363
42418
|
height: 40px;
|
|
42364
42419
|
margin-top: 10px;
|
|
42365
42420
|
padding: 0 12px;
|
|
@@ -42397,13 +42452,13 @@ const _D = [
|
|
|
42397
42452
|
}), g = Be(
|
|
42398
42453
|
(F) => {
|
|
42399
42454
|
var S;
|
|
42400
|
-
const I = Bo(F) ? F.walletPrettyName ?? F.walletName : F.walletName,
|
|
42455
|
+
const I = Bo(F) ? F.walletPrettyName ?? F.walletName : F.walletName, H = Bo(F) ? (S = F == null ? void 0 : F.walletInfo) == null ? void 0 : S.logo : void 0, p = _r(F) ? F == null ? void 0 : F.rightContent : void 0, u = Bo(F) ? F == null ? void 0 : F.isAvailable : void 0, C = (p == null ? void 0 : p()) ?? /* @__PURE__ */ m(De, {}), M = H ? /* @__PURE__ */ m(
|
|
42401
42456
|
"img",
|
|
42402
42457
|
{
|
|
42403
42458
|
height: 35,
|
|
42404
42459
|
width: 35,
|
|
42405
42460
|
style: { objectFit: "cover" },
|
|
42406
|
-
src:
|
|
42461
|
+
src: H,
|
|
42407
42462
|
alt: `${I}-logo`
|
|
42408
42463
|
}
|
|
42409
42464
|
) : null;
|
|
@@ -42428,7 +42483,7 @@ const _D = [
|
|
|
42428
42483
|
},
|
|
42429
42484
|
[A, o]
|
|
42430
42485
|
), x = O(() => Math.min(530, D.length * ($r + Vt)), [D.length]), y = O(() => {
|
|
42431
|
-
var F, I,
|
|
42486
|
+
var F, I, H, p;
|
|
42432
42487
|
if (A.isError || A.isPending) {
|
|
42433
42488
|
const u = A.isError ? "Failed to connect" : "Connecting to";
|
|
42434
42489
|
return /* @__PURE__ */ m(Cm, { children: /* @__PURE__ */ j(L2, { children: [
|
|
@@ -42445,7 +42500,7 @@ const _D = [
|
|
|
42445
42500
|
{
|
|
42446
42501
|
style: { objectFit: "cover" },
|
|
42447
42502
|
src: A.variables.walletInfo.logo,
|
|
42448
|
-
alt: `${(
|
|
42503
|
+
alt: `${(H = A.variables) == null ? void 0 : H.walletPrettyName} logo`
|
|
42449
42504
|
}
|
|
42450
42505
|
)
|
|
42451
42506
|
}
|
|
@@ -42761,7 +42816,7 @@ const _D = [
|
|
|
42761
42816
|
const b = [];
|
|
42762
42817
|
for (const A of d) {
|
|
42763
42818
|
const g = Cs(A), x = Bi(), y = Zo(A), f = n1(e1(A), e), k = async ({ chainIdToConnect: F }) => {
|
|
42764
|
-
var
|
|
42819
|
+
var H, p, u, C;
|
|
42765
42820
|
const I = !F || F && f.includes(F);
|
|
42766
42821
|
try {
|
|
42767
42822
|
if (F) {
|
|
@@ -42782,7 +42837,7 @@ const _D = [
|
|
|
42782
42837
|
Object.entries(M.accounts).map(([S, w]) => [S, w.bech32Address])
|
|
42783
42838
|
), P = F && (M == null ? void 0 : M.accounts[F].bech32Address);
|
|
42784
42839
|
if (n === void 0) {
|
|
42785
|
-
(
|
|
42840
|
+
(H = t == null ? void 0 : t.onWalletConnected) == null || H.call(t, {
|
|
42786
42841
|
walletName: A,
|
|
42787
42842
|
chainIdToAddressMap: v,
|
|
42788
42843
|
address: P
|
|
@@ -43005,13 +43060,13 @@ const _D = [
|
|
|
43005
43060
|
if (g.id === "com.okex.wallet" || A.findIndex((q) => q.walletName === g.id) !== -1)
|
|
43006
43061
|
continue;
|
|
43007
43062
|
const y = g.id === "walletConnect", f = async ({ chainIdToConnect: q = "1" }) => {
|
|
43008
|
-
var I,
|
|
43063
|
+
var I, H, p, u, C;
|
|
43009
43064
|
const F = r && s !== Number(q) && g.id === (a == null ? void 0 : a.id);
|
|
43010
43065
|
try {
|
|
43011
43066
|
r && g.id !== (a == null ? void 0 : a.id) && await or(oo), F && await ((I = g == null ? void 0 : g.switchChain) == null ? void 0 : I.call(g, {
|
|
43012
43067
|
chainId: Number(q)
|
|
43013
43068
|
})), await l({ connector: g, chainId: Number(q) }), e === void 0 && c(R.EVM);
|
|
43014
|
-
const M = await g.getAccounts(), v = await g.getProvider(), P = (p = (
|
|
43069
|
+
const M = await g.getAccounts(), v = await g.getProvider(), P = (p = (H = v == null ? void 0 : v.session) == null ? void 0 : H.peer) == null ? void 0 : p.metadata;
|
|
43015
43070
|
return t(R.EVM), n === void 0 && ((u = o == null ? void 0 : o.onWalletConnected) == null || u.call(o, {
|
|
43016
43071
|
walletName: g.name,
|
|
43017
43072
|
chainId: D,
|
|
@@ -43100,8 +43155,8 @@ const _D = [
|
|
|
43100
43155
|
abi: t1,
|
|
43101
43156
|
functionName: "getSeiAddr"
|
|
43102
43157
|
}) };
|
|
43103
|
-
} catch (
|
|
43104
|
-
const p =
|
|
43158
|
+
} catch (H) {
|
|
43159
|
+
const p = H;
|
|
43105
43160
|
throw V("get address error", {
|
|
43106
43161
|
walletName: g.name,
|
|
43107
43162
|
chainId: D,
|
|
@@ -43139,7 +43194,7 @@ const _D = [
|
|
|
43139
43194
|
var b, A, g, x, y, f, k;
|
|
43140
43195
|
try {
|
|
43141
43196
|
await l.connect();
|
|
43142
|
-
const q = e == null ? void 0 : e.find((
|
|
43197
|
+
const q = e == null ? void 0 : e.find((H) => H.chainID === "solana");
|
|
43143
43198
|
n === void 0 && a(R.SVM);
|
|
43144
43199
|
const F = (b = l.publicKey) == null ? void 0 : b.toBase58(), I = (y = (x = (g = (A = l == null ? void 0 : l._wallet) == null ? void 0 : A._UniversalProvider) == null ? void 0 : g.session) == null ? void 0 : x.peer) == null ? void 0 : y.metadata;
|
|
43145
43200
|
return c(R.SVM), i === void 0 && ((f = t == null ? void 0 : t.onWalletConnected) == null || f.call(t, {
|
|
@@ -43230,7 +43285,7 @@ const _D = [
|
|
|
43230
43285
|
return [];
|
|
43231
43286
|
}
|
|
43232
43287
|
}, [e, o, t, c, s]);
|
|
43233
|
-
}, Em = () => L(
|
|
43288
|
+
}, Em = () => L(Ti) ? a1 : c1, c1 = {
|
|
43234
43289
|
[R.Cosmos]: "cosmoshub-4",
|
|
43235
43290
|
[R.EVM]: "1",
|
|
43236
43291
|
[R.SVM]: "solana"
|
|
@@ -43433,10 +43488,10 @@ const _D = [
|
|
|
43433
43488
|
return Object.keys(c)[0];
|
|
43434
43489
|
}, [e, c, D, l == null ? void 0 : l.chainID]), A = O(() => {
|
|
43435
43490
|
if (!(l != null && l.chainID) || !h) return;
|
|
43436
|
-
const
|
|
43437
|
-
return (
|
|
43438
|
-
}, [l == null ? void 0 : l.chainID, h, e, D]), g = O(() => r(b, !0), [b, r]), x = xo(g == null ? void 0 : g.address, s), f = ua({ chainType: e }).find((
|
|
43439
|
-
var
|
|
43491
|
+
const H = h.find((p) => p.chainID === l.chainID);
|
|
43492
|
+
return (H == null ? void 0 : H.chainType) === e ? l.chainID : D;
|
|
43493
|
+
}, [l == null ? void 0 : l.chainID, h, e, D]), g = O(() => r(b, !0), [b, r]), x = xo(g == null ? void 0 : g.address, s), f = ua({ chainType: e }).find((H) => H.walletName === (g == null ? void 0 : g.wallet.name)), k = O(() => {
|
|
43494
|
+
var H, p;
|
|
43440
43495
|
return !g || !f ? null : s ? /* @__PURE__ */ m(
|
|
43441
43496
|
an,
|
|
43442
43497
|
{
|
|
@@ -43449,7 +43504,7 @@ const _D = [
|
|
|
43449
43504
|
wallet: g == null ? void 0 : g.wallet.name
|
|
43450
43505
|
}), f == null || f.disconnect(), ie.remove(pe.ConnectedWalletModal);
|
|
43451
43506
|
},
|
|
43452
|
-
children: /* @__PURE__ */ m(Fm, { height: "22", width: "22", color: (p = (
|
|
43507
|
+
children: /* @__PURE__ */ m(Fm, { height: "22", width: "22", color: (p = (H = a == null ? void 0 : a.primary) == null ? void 0 : H.text) == null ? void 0 : p.ultraLowContrast })
|
|
43453
43508
|
}
|
|
43454
43509
|
) : /* @__PURE__ */ m(
|
|
43455
43510
|
ci,
|
|
@@ -43508,8 +43563,8 @@ const _D = [
|
|
|
43508
43563
|
{
|
|
43509
43564
|
align: "center",
|
|
43510
43565
|
justify: "center",
|
|
43511
|
-
onClick: (
|
|
43512
|
-
|
|
43566
|
+
onClick: (H) => {
|
|
43567
|
+
H.stopPropagation(), o(g == null ? void 0 : g.address);
|
|
43513
43568
|
},
|
|
43514
43569
|
children: /* @__PURE__ */ m(Am, { width: "10", height: "10", color: a.primary.text.lowContrast })
|
|
43515
43570
|
}
|
|
@@ -43897,7 +43952,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
43897
43952
|
)
|
|
43898
43953
|
}
|
|
43899
43954
|
), M1 = () => {
|
|
43900
|
-
const [e, n] = se(!1), [i, o] = se(""), [t, c] = he(hm), a = !!(t && !
|
|
43955
|
+
const [e, n] = se(!1), [i, o] = se(""), [t, c] = he(hm), a = !!(t && !Tr.includes(t));
|
|
43901
43956
|
return re(() => {
|
|
43902
43957
|
a && o(t == null ? void 0 : t.toString());
|
|
43903
43958
|
}, [t, a]), /* @__PURE__ */ j(P1, { children: [
|
|
@@ -43913,7 +43968,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
43913
43968
|
)
|
|
43914
43969
|
] }),
|
|
43915
43970
|
/* @__PURE__ */ j(z1, { gap: 5, children: [
|
|
43916
|
-
|
|
43971
|
+
Tr.map((r) => /* @__PURE__ */ j(
|
|
43917
43972
|
Bc,
|
|
43918
43973
|
{
|
|
43919
43974
|
selected: r === t && !e,
|
|
@@ -44034,9 +44089,9 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44034
44089
|
${({ selected: e, theme: n }) => e && ye`
|
|
44035
44090
|
color: ${n.brandTextColor};
|
|
44036
44091
|
`}
|
|
44037
|
-
`,
|
|
44092
|
+
`, T1 = () => {
|
|
44038
44093
|
const [e, n] = he(bt);
|
|
44039
|
-
return /* @__PURE__ */ j(
|
|
44094
|
+
return /* @__PURE__ */ j(H1, { children: [
|
|
44040
44095
|
/* @__PURE__ */ j(N1, { align: "center", children: [
|
|
44041
44096
|
"Route Preference",
|
|
44042
44097
|
/* @__PURE__ */ m(Wc, { width: 5 }),
|
|
@@ -44060,7 +44115,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44060
44115
|
i
|
|
44061
44116
|
)) })
|
|
44062
44117
|
] });
|
|
44063
|
-
},
|
|
44118
|
+
}, H1 = N(ue)`
|
|
44064
44119
|
justify-content: space-between;
|
|
44065
44120
|
align-items: flex-start;
|
|
44066
44121
|
gap: 15px;
|
|
@@ -44073,7 +44128,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44073
44128
|
`, V1 = N(W)`
|
|
44074
44129
|
width: 100%;
|
|
44075
44130
|
`, L1 = bo(() => {
|
|
44076
|
-
const e = xe(), { data: n } = L(Gn), { data: i } = L(ve), o = O(() => n == null ? void 0 : n.chainIDs.map((s) => i == null ? void 0 : i.find((l) => l.chainID === s)), [n, i]), t =
|
|
44131
|
+
const e = xe(), { data: n } = L(Gn), { data: i } = L(ve), o = O(() => n == null ? void 0 : n.chainIDs.map((s) => i == null ? void 0 : i.find((l) => l.chainID === s)), [n, i]), t = Hi(n == null ? void 0 : n.operations), c = O(() => t ? t.filter(
|
|
44077
44132
|
(s) => [
|
|
44078
44133
|
ze.axelarTransfer,
|
|
44079
44134
|
ze.hyperlaneTransfer,
|
|
@@ -44178,7 +44233,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44178
44233
|
")"
|
|
44179
44234
|
] })
|
|
44180
44235
|
] }, h)) }),
|
|
44181
|
-
/* @__PURE__ */ m(
|
|
44236
|
+
/* @__PURE__ */ m(T1, {}),
|
|
44182
44237
|
/* @__PURE__ */ m(M1, {}),
|
|
44183
44238
|
/* @__PURE__ */ j(W, { gap: 10, children: [
|
|
44184
44239
|
/* @__PURE__ */ m(
|
|
@@ -44289,13 +44344,13 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44289
44344
|
}).filter((x) => {
|
|
44290
44345
|
var u;
|
|
44291
44346
|
if (!x) return !1;
|
|
44292
|
-
const y = l == null ? void 0 : l[i], f = h == null ? void 0 : h[i], k = c == null ? void 0 : c[i], q = Number(((u = a(x.asset.chainID, x.asset.denom)) == null ? void 0 : u.amount) ?? 0) > 0, F = !!(k != null && k[x.chainID] && (k == null ? void 0 : k[x.chainID]) === void 0 && q === void 0), I = !y || x.chainID in y,
|
|
44293
|
-
return I && p && !
|
|
44347
|
+
const y = l == null ? void 0 : l[i], f = h == null ? void 0 : h[i], k = c == null ? void 0 : c[i], q = Number(((u = a(x.asset.chainID, x.asset.denom)) == null ? void 0 : u.amount) ?? 0) > 0, F = !!(k != null && k[x.chainID] && (k == null ? void 0 : k[x.chainID]) === void 0 && q === void 0), I = !y || x.chainID in y, H = !!(f != null && f[x.chainID] && (f == null ? void 0 : f[x.chainID]) === void 0), p = i !== "source" || !x.chainID.startsWith("penumbra");
|
|
44348
|
+
return I && p && !H && !F;
|
|
44294
44349
|
}).filter((x) => {
|
|
44295
44350
|
const { chainName: y, prettyName: f } = x, k = y.toLowerCase().includes(n.toLowerCase()), q = f.toLowerCase().includes(n.toLowerCase());
|
|
44296
44351
|
return k || q;
|
|
44297
44352
|
}).sort((x, y) => {
|
|
44298
|
-
var S, w, B, E, z,
|
|
44353
|
+
var S, w, B, E, z, T, U, G;
|
|
44299
44354
|
const f = Number(
|
|
44300
44355
|
((S = a(x.chainID, x.asset.denom)) == null ? void 0 : S.valueUSD) ?? 0
|
|
44301
44356
|
), k = Number(
|
|
@@ -44311,12 +44366,12 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44311
44366
|
return F - q;
|
|
44312
44367
|
const I = Object.keys(d).indexOf(
|
|
44313
44368
|
x.asset.recommendedSymbol || ""
|
|
44314
|
-
),
|
|
44369
|
+
), H = Object.keys(d).indexOf(
|
|
44315
44370
|
y.asset.recommendedSymbol || ""
|
|
44316
|
-
), p = I !== -1, u =
|
|
44371
|
+
), p = I !== -1, u = H !== -1;
|
|
44317
44372
|
if (p && !u) return -1;
|
|
44318
44373
|
if (u && !p) return 1;
|
|
44319
|
-
const C = (
|
|
44374
|
+
const C = (T = x.chainName) == null ? void 0 : T.toLowerCase().includes(((z = x.asset.recommendedSymbol) == null ? void 0 : z.toLowerCase()) ?? ""), M = (G = y.chainName) == null ? void 0 : G.toLowerCase().includes(((U = y.asset.recommendedSymbol) == null ? void 0 : U.toLowerCase()) ?? "");
|
|
44320
44375
|
if (C && !M) return -1;
|
|
44321
44376
|
if (M && !C) return 1;
|
|
44322
44377
|
const v = x.asset.originChainID === x.chainID, P = y.asset.originChainID === y.chainID;
|
|
@@ -44419,7 +44474,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44419
44474
|
(c = o[0]) == null ? void 0 : c.chainName
|
|
44420
44475
|
] });
|
|
44421
44476
|
return /* @__PURE__ */ m(
|
|
44422
|
-
|
|
44477
|
+
Tm,
|
|
44423
44478
|
{
|
|
44424
44479
|
image: /* @__PURE__ */ m(Aa, { height: 35, width: 35, groupedAsset: e }),
|
|
44425
44480
|
mainText: e.assets[0].recommendedSymbol,
|
|
@@ -44428,14 +44483,14 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44428
44483
|
}
|
|
44429
44484
|
);
|
|
44430
44485
|
}, Y1 = ({ item: e, eureka: n }) => /* @__PURE__ */ m(
|
|
44431
|
-
|
|
44486
|
+
Tm,
|
|
44432
44487
|
{
|
|
44433
44488
|
image: /* @__PURE__ */ m(Z1, { height: 35, width: 35, src: e == null ? void 0 : e.logoURI, alt: `${e.chainID} logo` }),
|
|
44434
44489
|
mainText: e.prettyName,
|
|
44435
44490
|
subText: /* @__PURE__ */ m(K, { children: e.chainID }),
|
|
44436
44491
|
eureka: n
|
|
44437
44492
|
}
|
|
44438
|
-
),
|
|
44493
|
+
), Tm = ({ image: e, mainText: n, subText: i, eureka: o }) => {
|
|
44439
44494
|
const t = Qe();
|
|
44440
44495
|
return /* @__PURE__ */ j(W, { align: "center", gap: 8, children: [
|
|
44441
44496
|
e,
|
|
@@ -44529,7 +44584,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44529
44584
|
...i,
|
|
44530
44585
|
children: /* @__PURE__ */ m("path", { d: "M4.44881 6.98877L0.420326 0.0112305L8.47729 0.0112305L4.44881 6.98877Z", fill: e })
|
|
44531
44586
|
}
|
|
44532
|
-
),
|
|
44587
|
+
), Hm = ({
|
|
44533
44588
|
context: e
|
|
44534
44589
|
}) => {
|
|
44535
44590
|
const { data: n } = L(An), i = fo(), o = L(ga), t = L(ba), c = L(fa), a = O(() => {
|
|
@@ -44593,7 +44648,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44593
44648
|
assetDenom: o == null ? void 0 : o.denom,
|
|
44594
44649
|
amount: e,
|
|
44595
44650
|
chainId: o == null ? void 0 : o.chainID
|
|
44596
|
-
}), y =
|
|
44651
|
+
}), y = Hm({ context: l }), f = y == null ? void 0 : y.find(
|
|
44597
44652
|
(p) => {
|
|
44598
44653
|
var u;
|
|
44599
44654
|
return p.id === ((u = x.asset) == null ? void 0 : u.recommendedSymbol);
|
|
@@ -44622,7 +44677,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44622
44677
|
default:
|
|
44623
44678
|
return;
|
|
44624
44679
|
}
|
|
44625
|
-
}, F = O(() => a ? a > 0 ? d.success.text : d.error.text : d.primary.text.normal, [a, d.error.text, d.primary.text.normal, d.success.text]), I = cD(e || ""),
|
|
44680
|
+
}, F = O(() => a ? a > 0 ? d.success.text : d.error.text : d.primary.text.normal, [a, d.error.text, d.primary.text.normal, d.success.text]), I = cD(e || ""), H = aD(e);
|
|
44626
44681
|
return /* @__PURE__ */ j(ex, { justify: "space-between", borderRadius: 25, children: [
|
|
44627
44682
|
/* @__PURE__ */ j(W, { justify: "space-between", children: [
|
|
44628
44683
|
/* @__PURE__ */ m(
|
|
@@ -44637,7 +44692,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44637
44692
|
onKeyDown: q,
|
|
44638
44693
|
disabled: h,
|
|
44639
44694
|
isWaitingToUpdateInputValue: r,
|
|
44640
|
-
isLargeNumber:
|
|
44695
|
+
isLargeNumber: H
|
|
44641
44696
|
}
|
|
44642
44697
|
),
|
|
44643
44698
|
/* @__PURE__ */ j(ix, { onClick: t, disabled: h, gap: 5, children: [
|
|
@@ -44913,13 +44968,13 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44913
44968
|
}
|
|
44914
44969
|
},
|
|
44915
44970
|
[i]
|
|
44916
|
-
), F =
|
|
44971
|
+
), F = Hm({ context: c }), I = O(() => {
|
|
44917
44972
|
const w = (x == null ? void 0 : x.assets[0]) || o;
|
|
44918
44973
|
if (w)
|
|
44919
44974
|
return F == null ? void 0 : F.find(
|
|
44920
44975
|
(B) => B.id === w.recommendedSymbol
|
|
44921
44976
|
);
|
|
44922
|
-
}, [x == null ? void 0 : x.assets, o, F]),
|
|
44977
|
+
}, [x == null ? void 0 : x.assets, o, F]), H = U1({ groupedAssetsByRecommendedSymbol: F, searchQuery: A }), p = Im({
|
|
44923
44978
|
selectedGroup: I,
|
|
44924
44979
|
searchQuery: A,
|
|
44925
44980
|
context: c
|
|
@@ -44934,7 +44989,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44934
44989
|
}, M = Be(
|
|
44935
44990
|
(w, B) => {
|
|
44936
44991
|
var te, le;
|
|
44937
|
-
const E = w, z = w,
|
|
44992
|
+
const E = w, z = w, T = l && Object.keys(l), U = T == null ? void 0 : T.includes(E.id), G = (te = z == null ? void 0 : z.asset) != null && te.recommendedSymbol ? l && T.includes(z.asset.recommendedSymbol) && (l == null ? void 0 : l[z.asset.recommendedSymbol]) === void 0 ? !0 : (l == null ? void 0 : l[z.asset.recommendedSymbol]) && ((le = l == null ? void 0 : l[z.asset.recommendedSymbol]) == null ? void 0 : le.includes(
|
|
44938
44993
|
z.chainID
|
|
44939
44994
|
)) : !1;
|
|
44940
44995
|
return /* @__PURE__ */ m(
|
|
@@ -44950,7 +45005,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44950
45005
|
);
|
|
44951
45006
|
},
|
|
44952
45007
|
[c, l, q]
|
|
44953
|
-
), v = O(() => t || x ? p :
|
|
45008
|
+
), v = O(() => t || x ? p : H, [H, p, x, t]);
|
|
44954
45009
|
return /* @__PURE__ */ j(wt, { children: [
|
|
44955
45010
|
/* @__PURE__ */ m(
|
|
44956
45011
|
ox,
|
|
@@ -44969,7 +45024,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44969
45024
|
}
|
|
44970
45025
|
}
|
|
44971
45026
|
),
|
|
44972
|
-
D || !
|
|
45027
|
+
D || !H && !p ? /* @__PURE__ */ m(mx, { height: f, children: Array.from({ length: 8 }, (w, B) => /* @__PURE__ */ m(as, {}, B)) }) : /* @__PURE__ */ m(
|
|
44973
45028
|
la,
|
|
44974
45029
|
{
|
|
44975
45030
|
listItems: v ?? [],
|
|
@@ -45058,16 +45113,16 @@ const ux = bo((e) => {
|
|
|
45058
45113
|
var E;
|
|
45059
45114
|
return /* @__PURE__ */ m(Uc, { color: (E = a == null ? void 0 : a.primary) == null ? void 0 : E.text.normal });
|
|
45060
45115
|
}
|
|
45061
|
-
}, F = (s == null ? void 0 : s.chainType) === ((S = x[0]) == null ? void 0 : S.chainType) && (s == null ? void 0 : s.chainType) !== R.Cosmos, I = e.signRequired,
|
|
45116
|
+
}, F = (s == null ? void 0 : s.chainType) === ((S = x[0]) == null ? void 0 : S.chainType) && (s == null ? void 0 : s.chainType) !== R.Cosmos, I = e.signRequired, H = [...g, ...I ? [] : [q]], p = Be((E) => {
|
|
45062
45117
|
A(E.target.value);
|
|
45063
45118
|
}, []), u = O(() => {
|
|
45064
45119
|
if (!s || b.length === 0) return;
|
|
45065
|
-
const { chainType: E, bech32Prefix: z, chainID:
|
|
45120
|
+
const { chainType: E, bech32Prefix: z, chainID: T } = s;
|
|
45066
45121
|
return hx({
|
|
45067
45122
|
address: b,
|
|
45068
45123
|
bech32Prefix: z,
|
|
45069
45124
|
chainType: E,
|
|
45070
|
-
chainId:
|
|
45125
|
+
chainId: T
|
|
45071
45126
|
});
|
|
45072
45127
|
}, [s, b]), C = O(() => {
|
|
45073
45128
|
if (!s) return "Enter address...";
|
|
@@ -45110,7 +45165,7 @@ const ux = bo((e) => {
|
|
|
45110
45165
|
praxWallet: {
|
|
45111
45166
|
sourceChainID: o ? (G = x[o - 1]) == null ? void 0 : G.chainID : void 0
|
|
45112
45167
|
}
|
|
45113
|
-
})),
|
|
45168
|
+
})), T = z == null ? void 0 : z.address, U = z == null ? void 0 : z.logo;
|
|
45114
45169
|
y((te) => {
|
|
45115
45170
|
var le;
|
|
45116
45171
|
return JSON.stringify(c) !== JSON.stringify(Object.values(te).map(($) => $.chainID)) ? te : {
|
|
@@ -45118,7 +45173,7 @@ const ux = bo((e) => {
|
|
|
45118
45173
|
[o]: {
|
|
45119
45174
|
chainID: i,
|
|
45120
45175
|
chainType: s == null ? void 0 : s.chainType,
|
|
45121
|
-
address:
|
|
45176
|
+
address: T,
|
|
45122
45177
|
source: "wallet",
|
|
45123
45178
|
wallet: {
|
|
45124
45179
|
walletName: E.walletName,
|
|
@@ -45180,7 +45235,7 @@ const ux = bo((e) => {
|
|
|
45180
45235
|
km,
|
|
45181
45236
|
{
|
|
45182
45237
|
title: v,
|
|
45183
|
-
walletList: F ? [q] :
|
|
45238
|
+
walletList: F ? [q] : H,
|
|
45184
45239
|
onClickBackButton: () => {
|
|
45185
45240
|
V("set address modal: back button - clicked"), ie.remove(pe.SetAddressModal);
|
|
45186
45241
|
},
|
|
@@ -45770,7 +45825,7 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
45770
45825
|
" with ",
|
|
45771
45826
|
f.name,
|
|
45772
45827
|
f.isSvg ? /* @__PURE__ */ m(Nx, { svg: f.image }) : /* @__PURE__ */ m(
|
|
45773
|
-
|
|
45828
|
+
Hx,
|
|
45774
45829
|
{
|
|
45775
45830
|
width: "10",
|
|
45776
45831
|
height: "10",
|
|
@@ -45784,12 +45839,12 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
45784
45839
|
},
|
|
45785
45840
|
[d]
|
|
45786
45841
|
), A = O(() => e.map((x, y) => {
|
|
45787
|
-
var I,
|
|
45842
|
+
var I, H;
|
|
45788
45843
|
const f = e[y + 1], k = {
|
|
45789
45844
|
tokenAmount: x.amountOut,
|
|
45790
45845
|
denom: x.denomOut,
|
|
45791
45846
|
chainId: x.toChainID ?? x.chainID
|
|
45792
|
-
}, q = x.isSwap ? (I = h == null ? void 0 : h[x.transferIndex]) == null ? void 0 : I.fromExplorerLink : (
|
|
45847
|
+
}, q = x.isSwap ? (I = h == null ? void 0 : h[x.transferIndex]) == null ? void 0 : I.fromExplorerLink : (H = h == null ? void 0 : h[x.transferIndex]) == null ? void 0 : H.toExplorerLink, F = D(x);
|
|
45793
45848
|
return /* @__PURE__ */ j(mn.Fragment, { children: [
|
|
45794
45849
|
b(x),
|
|
45795
45850
|
/* @__PURE__ */ m(
|
|
@@ -45814,7 +45869,7 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
45814
45869
|
h,
|
|
45815
45870
|
n
|
|
45816
45871
|
]);
|
|
45817
|
-
return /* @__PURE__ */ m(
|
|
45872
|
+
return /* @__PURE__ */ m(Tx, { children: /* @__PURE__ */ j(ue, { children: [
|
|
45818
45873
|
/* @__PURE__ */ m(
|
|
45819
45874
|
Qr,
|
|
45820
45875
|
{
|
|
@@ -45837,13 +45892,13 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
45837
45892
|
&:hover {
|
|
45838
45893
|
color: ${({ theme: e }) => e.primary.text.normal};
|
|
45839
45894
|
}
|
|
45840
|
-
`,
|
|
45895
|
+
`, Tx = N(ue)`
|
|
45841
45896
|
padding: 25px;
|
|
45842
45897
|
gap: 20px;
|
|
45843
45898
|
background: ${({ theme: e }) => e.primary.background.normal};
|
|
45844
45899
|
border-radius: 25px;
|
|
45845
45900
|
min-height: 225px;
|
|
45846
|
-
`,
|
|
45901
|
+
`, Hx = N.img`
|
|
45847
45902
|
margin-left: 5px;
|
|
45848
45903
|
object-fit: contain;
|
|
45849
45904
|
width: 10px;
|
|
@@ -45869,10 +45924,10 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
45869
45924
|
var k, q, F;
|
|
45870
45925
|
const [e, n] = he(Kn), { route: i, overallStatus: o } = L(Ue), t = i == null ? void 0 : i.requiredChainAddresses, { data: c } = L(ve), a = L(mt), [r, s] = se(!0), [l, h] = se(!1), [d, D] = se(), { createCosmosWallets: b } = wm(), { createEvmWallets: A } = ym(), { createSolanaWallets: g } = vm();
|
|
45871
45926
|
he(l2);
|
|
45872
|
-
const x = L(pt), y = O(() => i != null && i.operations ?
|
|
45927
|
+
const x = L(pt), y = O(() => i != null && i.operations ? Hi(i.operations).filter((p) => p.signRequired).map((p) => p.fromChainID) : void 0, [i == null ? void 0 : i.operations]), f = Be(
|
|
45873
45928
|
async (I) => {
|
|
45874
45929
|
s(!0);
|
|
45875
|
-
const
|
|
45930
|
+
const H = {
|
|
45876
45931
|
[R.Cosmos]: b,
|
|
45877
45932
|
[R.EVM]: A,
|
|
45878
45933
|
[R.SVM]: g
|
|
@@ -45892,7 +45947,7 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
45892
45947
|
};
|
|
45893
45948
|
if (e[u].source !== Vo.Input)
|
|
45894
45949
|
try {
|
|
45895
|
-
const S = C.chainType, w =
|
|
45950
|
+
const S = C.chainType, w = H[S](p), B = (v = a[S]) == null ? void 0 : v.walletName, E = w.find((Y) => Y.walletName === B), z = y == null ? void 0 : y.includes(p), T = await ((P = E == null ? void 0 : E.getAddress) == null ? void 0 : P.call(E, { signRequired: z })), U = x == null ? void 0 : x[p], G = (x == null ? void 0 : x[p]) ?? (T == null ? void 0 : T.address);
|
|
45896
45951
|
if (!G)
|
|
45897
45952
|
throw new Error(
|
|
45898
45953
|
`Address not found in connected wallets.
|
|
@@ -45905,7 +45960,7 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
45905
45960
|
n((Y) => {
|
|
45906
45961
|
const te = () => {
|
|
45907
45962
|
var le;
|
|
45908
|
-
return (E == null ? void 0 : E.walletChainType) === "evm" && (E == null ? void 0 : E.walletName) === "app.keplr" ? Zo(me.KEPLR).imgSrc : (
|
|
45963
|
+
return (E == null ? void 0 : E.walletChainType) === "evm" && (E == null ? void 0 : E.walletName) === "app.keplr" ? Zo(me.KEPLR).imgSrc : (T == null ? void 0 : T.logo) ?? ((le = E == null ? void 0 : E.walletInfo) == null ? void 0 : le.logo);
|
|
45909
45964
|
};
|
|
45910
45965
|
return {
|
|
45911
45966
|
...Y,
|
|
@@ -45947,12 +46002,12 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
45947
46002
|
]
|
|
45948
46003
|
);
|
|
45949
46004
|
return re(() => {
|
|
45950
|
-
var
|
|
46005
|
+
var H, p, u, C, M, v;
|
|
45951
46006
|
if (o !== "unconfirmed") {
|
|
45952
46007
|
s(!1);
|
|
45953
46008
|
return;
|
|
45954
46009
|
}
|
|
45955
|
-
(((
|
|
46010
|
+
(((H = a.cosmos) == null ? void 0 : H.id) !== ((p = d == null ? void 0 : d.cosmos) == null ? void 0 : p.id) || ((u = a.evm) == null ? void 0 : u.id) !== ((C = d == null ? void 0 : d.evm) == null ? void 0 : C.id) || ((M = a.svm) == null ? void 0 : M.id) !== ((v = d == null ? void 0 : d.svm) == null ? void 0 : v.id)) && (D(a), h(!0));
|
|
45956
46011
|
}, [
|
|
45957
46012
|
f,
|
|
45958
46013
|
(k = d == null ? void 0 : d.cosmos) == null ? void 0 : k.id,
|
|
@@ -45966,7 +46021,7 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
45966
46021
|
l && (f(), h(!1));
|
|
45967
46022
|
}, [f, l]), { connectRequiredChains: f, isLoading: r };
|
|
45968
46023
|
}, Ox = (e) => {
|
|
45969
|
-
const { route: n, transactionDetailsArray: i } = L(Ue), o = X(Ne), t = X(
|
|
46024
|
+
const { route: n, transactionDetailsArray: i } = L(Ue), o = X(Ne), t = X(Tn), [c, a] = se();
|
|
45970
46025
|
re(() => {
|
|
45971
46026
|
if (!(!(n != null && n.estimatedRouteDurationSeconds) || !(n != null && n.txsRequired))) {
|
|
45972
46027
|
if (e === ke.pending && c === void 0 && n.txsRequired === i.length) {
|
|
@@ -46001,7 +46056,7 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
46001
46056
|
statusData: e,
|
|
46002
46057
|
historyIndex: n
|
|
46003
46058
|
}) => {
|
|
46004
|
-
const i = e == null ? void 0 : e.transferEvents, o = X(
|
|
46059
|
+
const i = e == null ? void 0 : e.transferEvents, o = X(Tn), { route: t, transactionDetailsArray: c, overallStatus: a, transactionHistoryIndex: r } = L(Ue), s = X(dm), l = L(Bn), { isPending: h } = L(bm), d = O(() => t != null && t.operations ? Hi(t.operations) : [], [t == null ? void 0 : t.operations]), D = O(() => {
|
|
46005
46060
|
if ((e == null ? void 0 : e.lastTxStatus) === "pending")
|
|
46006
46061
|
return h && o("pending"), "pending";
|
|
46007
46062
|
if ((i == null ? void 0 : i.length) === 0 && !(e != null && e.isSettled)) {
|
|
@@ -46319,7 +46374,7 @@ const Jx = () => {
|
|
|
46319
46374
|
Om({
|
|
46320
46375
|
statusData: A
|
|
46321
46376
|
});
|
|
46322
|
-
const g = O(() => n != null && n.operations ?
|
|
46377
|
+
const g = O(() => n != null && n.operations ? Hi(n.operations) : [], [n == null ? void 0 : n.operations]), x = g[g.length - 1], y = Wx({
|
|
46323
46378
|
chainAddresses: a,
|
|
46324
46379
|
route: n,
|
|
46325
46380
|
overallStatus: i,
|
|
@@ -46332,11 +46387,11 @@ const Jx = () => {
|
|
|
46332
46387
|
if (y === 6 || y === 3 || y === 5)
|
|
46333
46388
|
return "completed";
|
|
46334
46389
|
}, [y]), k = O(() => {
|
|
46335
|
-
var
|
|
46390
|
+
var H;
|
|
46336
46391
|
const I = A == null ? void 0 : A.transferEvents;
|
|
46337
46392
|
if (y === 6)
|
|
46338
46393
|
return "completed";
|
|
46339
|
-
if ((
|
|
46394
|
+
if ((H = I == null ? void 0 : I[0]) != null && H.status)
|
|
46340
46395
|
return I[0].status;
|
|
46341
46396
|
if (y === 3 || y === 5)
|
|
46342
46397
|
return "pending";
|
|
@@ -46538,7 +46593,7 @@ const Um = () => {
|
|
|
46538
46593
|
}), l = s.isPending && s.isFetching, h = c && a;
|
|
46539
46594
|
return {
|
|
46540
46595
|
data: O(() => {
|
|
46541
|
-
var x, y, f, k, q, F, I,
|
|
46596
|
+
var x, y, f, k, q, F, I, H;
|
|
46542
46597
|
if (!e || !i || !o) return;
|
|
46543
46598
|
const { chainID: D, denom: b } = e;
|
|
46544
46599
|
if (!b || !D) return;
|
|
@@ -46551,7 +46606,7 @@ const Um = () => {
|
|
|
46551
46606
|
formattedAmount: "0",
|
|
46552
46607
|
error: void 0,
|
|
46553
46608
|
decimals: void 0
|
|
46554
|
-
} : (
|
|
46609
|
+
} : (H = (I = (F = o == null ? void 0 : o.chains) == null ? void 0 : F[D]) == null ? void 0 : I.denoms) == null ? void 0 : H[b];
|
|
46555
46610
|
}, [e, i, o, s.data, s.error]),
|
|
46556
46611
|
isLoading: !t || h || l,
|
|
46557
46612
|
refetch: () => {
|
|
@@ -46610,23 +46665,23 @@ const Um = () => {
|
|
|
46610
46665
|
switch (e == null ? void 0 : e.chainID) {
|
|
46611
46666
|
case "1":
|
|
46612
46667
|
return Number(
|
|
46613
|
-
|
|
46668
|
+
Hn(0.015, (r = n.asset) == null ? void 0 : r.decimals)
|
|
46614
46669
|
);
|
|
46615
46670
|
case "137":
|
|
46616
46671
|
return Number(
|
|
46617
|
-
|
|
46672
|
+
Hn(1.2, (s = n.asset) == null ? void 0 : s.decimals)
|
|
46618
46673
|
);
|
|
46619
46674
|
case "43114":
|
|
46620
46675
|
return Number(
|
|
46621
|
-
|
|
46676
|
+
Hn(0.02, (l = n.asset) == null ? void 0 : l.decimals)
|
|
46622
46677
|
);
|
|
46623
46678
|
case "42220":
|
|
46624
46679
|
return Number(
|
|
46625
|
-
|
|
46680
|
+
Hn(0.01, (h = n.asset) == null ? void 0 : h.decimals)
|
|
46626
46681
|
);
|
|
46627
46682
|
default:
|
|
46628
46683
|
return Number(
|
|
46629
|
-
|
|
46684
|
+
Hn(8e-4, (d = n.asset) == null ? void 0 : d.decimals)
|
|
46630
46685
|
);
|
|
46631
46686
|
}
|
|
46632
46687
|
return 0;
|
|
@@ -46812,9 +46867,9 @@ const Um = () => {
|
|
|
46812
46867
|
var Me;
|
|
46813
46868
|
const { SettingsFooter: e, drawerOpen: n } = Lm();
|
|
46814
46869
|
he(OD), he(WD);
|
|
46815
|
-
const [i, o] = he(fe), t = X(go), c = X(gt), [a] = he(pm), [r, s] = he(Ke), [l] = he(On), [{ data: h }] = he(An), d = X(rn), D = L(ro), b = ag(), A = X(r2), g = X(Ne), { isFetching: x, isPending: y } = L(Da), f = x && y, { data: k, isError: q, error: F } = L(Gn), I = hg(),
|
|
46870
|
+
const [i, o] = he(fe), t = X(go), c = X(gt), [a] = he(pm), [r, s] = he(Ke), [l] = he(On), [{ data: h }] = he(An), d = X(rn), D = L(ro), b = ag(), A = X(r2), g = X(Ne), { isFetching: x, isPending: y } = L(Da), f = x && y, { data: k, isError: q, error: F } = L(Gn), I = hg(), H = L(ra), p = Ct(k), u = L(bt), C = L(hm), M = Ao(), v = fo(), P = X(Kn);
|
|
46816
46871
|
lg(), mg(), pg();
|
|
46817
|
-
const S = Wm(), B = di()(i == null ? void 0 : i.chainID), E = L(Bn), z = p2(k),
|
|
46872
|
+
const S = Wm(), B = di()(i == null ? void 0 : i.chainID), E = L(Bn), z = p2(k), T = Be(
|
|
46818
46873
|
(ee, Pe) => {
|
|
46819
46874
|
if (!(!ee || !Pe) && h)
|
|
46820
46875
|
return h.find(
|
|
@@ -46841,10 +46896,10 @@ const Um = () => {
|
|
|
46841
46896
|
...ee
|
|
46842
46897
|
})), S(ee == null ? void 0 : ee.chainID), ie.hide(pe.AssetAndChainSelectorModal);
|
|
46843
46898
|
},
|
|
46844
|
-
selectedAsset:
|
|
46899
|
+
selectedAsset: T(i == null ? void 0 : i.denom, i == null ? void 0 : i.chainID),
|
|
46845
46900
|
selectChain: !0
|
|
46846
46901
|
});
|
|
46847
|
-
}, [
|
|
46902
|
+
}, [T, o, i == null ? void 0 : i.chainID, i == null ? void 0 : i.denom, S]), Y = Be(() => {
|
|
46848
46903
|
V("swap page: destination asset button - clicked"), ie.show(pe.AssetAndChainSelectorModal, {
|
|
46849
46904
|
context: "destination",
|
|
46850
46905
|
onSelect: (ee) => {
|
|
@@ -46863,10 +46918,10 @@ const Um = () => {
|
|
|
46863
46918
|
...ee
|
|
46864
46919
|
})), ie.hide(pe.AssetAndChainSelectorModal);
|
|
46865
46920
|
},
|
|
46866
|
-
selectedAsset:
|
|
46921
|
+
selectedAsset: T(r == null ? void 0 : r.denom, r == null ? void 0 : r.chainID),
|
|
46867
46922
|
selectChain: !0
|
|
46868
46923
|
});
|
|
46869
|
-
}, [r == null ? void 0 : r.chainID, r == null ? void 0 : r.denom,
|
|
46924
|
+
}, [r == null ? void 0 : r.chainID, r == null ? void 0 : r.denom, T, s]), le = O(() => {
|
|
46870
46925
|
if (!(!(k != null && k.usdAmountIn) || !(k != null && k.usdAmountOut) || a))
|
|
46871
46926
|
return om(k.usdAmountIn, k.usdAmountOut);
|
|
46872
46927
|
}, [a, k == null ? void 0 : k.usdAmountIn, k == null ? void 0 : k.usdAmountOut]), $ = O(() => {
|
|
@@ -46907,7 +46962,7 @@ const Um = () => {
|
|
|
46907
46962
|
return /* @__PURE__ */ m(be, { label: Ce, disabled: !0, icon: J.swap, fontSize: ee(Ce) });
|
|
46908
46963
|
}
|
|
46909
46964
|
const Oe = () => {
|
|
46910
|
-
var Ee,
|
|
46965
|
+
var Ee, Te;
|
|
46911
46966
|
if (V("swap page: continue button - clicked", {
|
|
46912
46967
|
route: k,
|
|
46913
46968
|
type: z ? "swap" : "send",
|
|
@@ -46935,7 +46990,7 @@ const Um = () => {
|
|
|
46935
46990
|
});
|
|
46936
46991
|
return;
|
|
46937
46992
|
}
|
|
46938
|
-
if (((
|
|
46993
|
+
if (((Te = k == null ? void 0 : k.warning) == null ? void 0 : Te.type) === "LOW_INFO_WARNING") {
|
|
46939
46994
|
V("error page: low info warning", { route: k }), g({
|
|
46940
46995
|
errorType: we.LowInfoWarning,
|
|
46941
46996
|
onClickContinue: () => {
|
|
@@ -46948,7 +47003,7 @@ const Um = () => {
|
|
|
46948
47003
|
});
|
|
46949
47004
|
return;
|
|
46950
47005
|
}
|
|
46951
|
-
if (
|
|
47006
|
+
if (H && p) {
|
|
46952
47007
|
V("error page: go fast warning", { route: k }), g({
|
|
46953
47008
|
errorType: we.GoFastWarning,
|
|
46954
47009
|
onClickContinue: () => {
|
|
@@ -46989,7 +47044,7 @@ const Um = () => {
|
|
|
46989
47044
|
u,
|
|
46990
47045
|
C,
|
|
46991
47046
|
I,
|
|
46992
|
-
|
|
47047
|
+
H,
|
|
46993
47048
|
p,
|
|
46994
47049
|
M,
|
|
46995
47050
|
P,
|
|
@@ -47427,7 +47482,7 @@ var Pg = {
|
|
|
47427
47482
|
evening: "in the evening",
|
|
47428
47483
|
night: "at night"
|
|
47429
47484
|
}
|
|
47430
|
-
},
|
|
47485
|
+
}, Tg = function(n, i) {
|
|
47431
47486
|
var o = Number(n), t = o % 100;
|
|
47432
47487
|
if (t > 20 || t < 10)
|
|
47433
47488
|
switch (t % 10) {
|
|
@@ -47439,8 +47494,8 @@ var Pg = {
|
|
|
47439
47494
|
return o + "rd";
|
|
47440
47495
|
}
|
|
47441
47496
|
return o + "th";
|
|
47442
|
-
},
|
|
47443
|
-
ordinalNumber:
|
|
47497
|
+
}, Hg = {
|
|
47498
|
+
ordinalNumber: Tg,
|
|
47444
47499
|
era: Ki({
|
|
47445
47500
|
values: Pg,
|
|
47446
47501
|
defaultWidth: "wide"
|
|
@@ -47597,7 +47652,7 @@ var Rg = /^(\d+)(th|st|nd|rd)?/i, Og = /\d+/i, Wg = {
|
|
|
47597
47652
|
formatDistance: wg,
|
|
47598
47653
|
formatLong: Fg,
|
|
47599
47654
|
formatRelative: Mg,
|
|
47600
|
-
localize:
|
|
47655
|
+
localize: Hg,
|
|
47601
47656
|
match: $g,
|
|
47602
47657
|
options: {
|
|
47603
47658
|
weekStartsOn: 0,
|
|
@@ -47649,8 +47704,8 @@ function i3(e, n, i) {
|
|
|
47649
47704
|
var I = b(g / 60);
|
|
47650
47705
|
return r.formatDistance("xHours", I, l);
|
|
47651
47706
|
} else if (k === "day") {
|
|
47652
|
-
var
|
|
47653
|
-
return r.formatDistance("xDays",
|
|
47707
|
+
var H = b(y / Jo);
|
|
47708
|
+
return r.formatDistance("xDays", H, l);
|
|
47654
47709
|
} else if (k === "month") {
|
|
47655
47710
|
var p = b(y / ds);
|
|
47656
47711
|
return p === 12 && f !== "month" ? r.formatDistance("xYears", 1, l) : r.formatDistance("xMonths", p, l);
|
|
@@ -47734,7 +47789,7 @@ const o3 = (e) => {
|
|
|
47734
47789
|
txHash: k,
|
|
47735
47790
|
chainID: q,
|
|
47736
47791
|
chainType: F
|
|
47737
|
-
}),
|
|
47792
|
+
}), H = O(() => s.length === 0 && I ? [I] : s, [I, s]), p = Ze({
|
|
47738
47793
|
assetDenom: b,
|
|
47739
47794
|
chainId: A,
|
|
47740
47795
|
tokenAmount: d
|
|
@@ -47800,7 +47855,7 @@ const o3 = (e) => {
|
|
|
47800
47855
|
destinationChainName: u.chainName ?? "--",
|
|
47801
47856
|
absoluteTimeString: P,
|
|
47802
47857
|
onClickDelete: () => h(e),
|
|
47803
|
-
explorerLinks:
|
|
47858
|
+
explorerLinks: H,
|
|
47804
47859
|
transferAssetRelease: l
|
|
47805
47860
|
}
|
|
47806
47861
|
)
|
|
@@ -47996,7 +48051,7 @@ const o3 = (e) => {
|
|
|
47996
48051
|
}
|
|
47997
48052
|
}, d3 = ({ children: e }) => {
|
|
47998
48053
|
var o, t;
|
|
47999
|
-
const n = L(
|
|
48054
|
+
const n = L(Ti), i = L(ul);
|
|
48000
48055
|
return /* @__PURE__ */ m(
|
|
48001
48056
|
cp,
|
|
48002
48057
|
{
|
|
@@ -48064,7 +48119,7 @@ const b3 = () => {
|
|
|
48064
48119
|
replaysSessionSampleRate: 1,
|
|
48065
48120
|
replaysOnErrorSampleRate: 0
|
|
48066
48121
|
}), gs = !0);
|
|
48067
|
-
}, f3 = "@skip-go/widget", A3 = "Swap widget", ka = "3.8.
|
|
48122
|
+
}, f3 = "@skip-go/widget", A3 = "Swap widget", ka = "3.8.4", C3 = {
|
|
48068
48123
|
url: "https://github.com/skip-mev/skip-go",
|
|
48069
48124
|
directory: "packages/widget"
|
|
48070
48125
|
}, k3 = "module", w3 = {
|
|
@@ -48094,7 +48149,7 @@ const b3 = () => {
|
|
|
48094
48149
|
], F3 = {
|
|
48095
48150
|
"@chromatic-com/storybook": "^1.6.1",
|
|
48096
48151
|
"@eslint/js": "^9.9.0",
|
|
48097
|
-
"@initia/initia-registry": "^0.
|
|
48152
|
+
"@initia/initia-registry": "^1.0.1",
|
|
48098
48153
|
"@keplr-wallet/types": "^0.12.125",
|
|
48099
48154
|
"@playwright/test": "^1.51.1",
|
|
48100
48155
|
"@storybook/addon-essentials": "^8.2.6",
|
|
@@ -48223,7 +48278,7 @@ const q3 = () => {
|
|
|
48223
48278
|
}, j3 = (e) => {
|
|
48224
48279
|
var f;
|
|
48225
48280
|
e.enableSentrySessionReplays && b3(), e.enableAmplitudeAnalytics && q3(), Qo("widget_version", ka), g3(e.defaultRoute), I3(e), S3();
|
|
48226
|
-
const n = X(hi), i = X(nm), o = X(ai), t = X(ft), c = X(ga), a = X(ba), r = X(fa), s = X(
|
|
48281
|
+
const n = X(hi), i = X(nm), o = X(ai), t = X(ft), c = X(ga), a = X(ba), r = X(fa), s = X(Ti), l = X(ul), h = X(Ni), d = X(gm), D = X(Lc), b = X(xa), A = X(Sm), g = X(
|
|
48227
48282
|
jm
|
|
48228
48283
|
), x = O(() => {
|
|
48229
48284
|
const { apiUrl: k, chainIdsToAffiliates: q, endpointOptions: F } = e, I = {
|
|
@@ -48310,9 +48365,9 @@ const q3 = () => {
|
|
|
48310
48365
|
...e.getSVMSigner && { getSVMSigner: e.getSVMSigner }
|
|
48311
48366
|
}));
|
|
48312
48367
|
}, [e.getCosmosSigner, e.getEVMSigner, e.getSVMSigner, n]);
|
|
48313
|
-
},
|
|
48368
|
+
}, T3 = new Tp(), Xm = Qm(), k6 = (e) => /* @__PURE__ */ m(_m, { store: Xm, children: /* @__PURE__ */ m(H3, { props: e }) }), H3 = ({ props: e }) => {
|
|
48314
48369
|
const { theme: n } = j3(e);
|
|
48315
|
-
return X($c)(e.rootId), /* @__PURE__ */ m(el, { theme: n, children: /* @__PURE__ */ m(x3, { children: /* @__PURE__ */ m(
|
|
48370
|
+
return X($c)(e.rootId), /* @__PURE__ */ m(el, { theme: n, children: /* @__PURE__ */ m(x3, { children: /* @__PURE__ */ m(Hp, { client: T3, children: /* @__PURE__ */ m(ie.Provider, { children: /* @__PURE__ */ m(N3, { children: /* @__PURE__ */ m(u3, {}) }) }) }, "skip-widget") }) });
|
|
48316
48371
|
}, N3 = ({ children: e }) => {
|
|
48317
48372
|
const n = X(Vm), i = L($c);
|
|
48318
48373
|
return re(() => {
|