@skip-go/widget 3.8.3 → 3.8.5
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-E6pJQAU_.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
|
)
|
|
@@ -12513,6 +12513,46 @@ const _D = [
|
|
|
12513
12513
|
coinDenom: "INIT",
|
|
12514
12514
|
coinMinimalDenom: "uinit",
|
|
12515
12515
|
coinDecimals: 6
|
|
12516
|
+
},
|
|
12517
|
+
{
|
|
12518
|
+
coinDenom: "USDC",
|
|
12519
|
+
coinMinimalDenom: "ibc/6490A7EAB61059BFC1CDDEB05917DD70BDF3A611654162A1A47DB930D40D8AF4",
|
|
12520
|
+
coinDecimals: 6
|
|
12521
|
+
},
|
|
12522
|
+
{
|
|
12523
|
+
coinDenom: "milkTIA",
|
|
12524
|
+
coinMinimalDenom: "ibc/297A4DE88667929480EBE6659B264C5683838CF313C61FE889F6B8D8DC6E071D",
|
|
12525
|
+
coinDecimals: 6
|
|
12526
|
+
},
|
|
12527
|
+
{
|
|
12528
|
+
coinDenom: "milkINIT",
|
|
12529
|
+
coinMinimalDenom: "ibc/39B55F22F15FB09189045A993817CDF0D388D3FF8773B2E22B6DE7B222636EEA",
|
|
12530
|
+
coinDecimals: 6
|
|
12531
|
+
},
|
|
12532
|
+
{
|
|
12533
|
+
coinDenom: "TIA",
|
|
12534
|
+
coinMinimalDenom: "ibc/DA9AC2708B4DAA46D24E73241373CDCC850BC6446E8E0906A4062152B649DDD3",
|
|
12535
|
+
coinDecimals: 6
|
|
12536
|
+
},
|
|
12537
|
+
{
|
|
12538
|
+
coinDenom: "ETH",
|
|
12539
|
+
coinMinimalDenom: "move/edfcddacac79ab86737a1e9e65805066d8be286a37cb94f4884b892b0e39f954",
|
|
12540
|
+
coinDecimals: 6
|
|
12541
|
+
},
|
|
12542
|
+
{
|
|
12543
|
+
coinDenom: "WEETH",
|
|
12544
|
+
coinMinimalDenom: "move/bcf6c17467320f8aec451165823d73af3049f9c9dfbeaff98b92ec0165a58bf8",
|
|
12545
|
+
coinDecimals: 6
|
|
12546
|
+
},
|
|
12547
|
+
{
|
|
12548
|
+
coinDenom: "sINIT",
|
|
12549
|
+
coinMinimalDenom: "move/d08cf4d36d8a70cc6efe8791dc5b3d4f928df4fe41468bc138439d55ed132c3e",
|
|
12550
|
+
coinDecimals: 6
|
|
12551
|
+
},
|
|
12552
|
+
{
|
|
12553
|
+
coinDenom: "nINIT",
|
|
12554
|
+
coinMinimalDenom: "move/b4fd0119fa43bb5a208256e92977d6552fef31191fe24299fe45f6e64dd5c6f3",
|
|
12555
|
+
coinDecimals: 6
|
|
12516
12556
|
}
|
|
12517
12557
|
],
|
|
12518
12558
|
rest: "https://rest.initia.xyz",
|
|
@@ -25892,6 +25932,42 @@ const _D = [
|
|
|
25892
25932
|
coinType: 60
|
|
25893
25933
|
}
|
|
25894
25934
|
},
|
|
25935
|
+
{
|
|
25936
|
+
chainId: "civitia-1",
|
|
25937
|
+
currencies: [
|
|
25938
|
+
{
|
|
25939
|
+
coinDenom: "INIT",
|
|
25940
|
+
coinMinimalDenom: "l2/2b2d36f666e98b9eecf70d6ec24b882b79f2c8e2af73f54f97b8b670dbb87605",
|
|
25941
|
+
coinDecimals: 6
|
|
25942
|
+
}
|
|
25943
|
+
],
|
|
25944
|
+
rest: "https://rest-civitia-1.anvil.asia-southeast.initia.xyz",
|
|
25945
|
+
rpc: "https://rpc-civitia-1.anvil.asia-southeast.initia.xyz",
|
|
25946
|
+
bech32Config: {
|
|
25947
|
+
bech32PrefixAccAddr: "init",
|
|
25948
|
+
bech32PrefixAccPub: "initpub",
|
|
25949
|
+
bech32PrefixValAddr: "initvaloper",
|
|
25950
|
+
bech32PrefixValPub: "initvaloperpub",
|
|
25951
|
+
bech32PrefixConsAddr: "initvalcons",
|
|
25952
|
+
bech32PrefixConsPub: "initvalconspub"
|
|
25953
|
+
},
|
|
25954
|
+
chainName: "civitia",
|
|
25955
|
+
feeCurrencies: [
|
|
25956
|
+
{
|
|
25957
|
+
coinDenom: "INIT",
|
|
25958
|
+
coinMinimalDenom: "l2/2b2d36f666e98b9eecf70d6ec24b882b79f2c8e2af73f54f97b8b670dbb87605",
|
|
25959
|
+
coinDecimals: 6
|
|
25960
|
+
}
|
|
25961
|
+
],
|
|
25962
|
+
stakeCurrency: {
|
|
25963
|
+
coinDenom: "INIT",
|
|
25964
|
+
coinMinimalDenom: "l2/2b2d36f666e98b9eecf70d6ec24b882b79f2c8e2af73f54f97b8b670dbb87605",
|
|
25965
|
+
coinDecimals: 6
|
|
25966
|
+
},
|
|
25967
|
+
bip44: {
|
|
25968
|
+
coinType: 60
|
|
25969
|
+
}
|
|
25970
|
+
},
|
|
25895
25971
|
{
|
|
25896
25972
|
chainId: "echelon-1",
|
|
25897
25973
|
currencies: [
|
|
@@ -25919,6 +25995,11 @@ const _D = [
|
|
|
25919
25995
|
coinDenom: "ETH",
|
|
25920
25996
|
coinMinimalDenom: "l2/1881ea6c1ddf69a110cdd0b04cd024e12cc55e462a1e5e22dfa5d87473c8061e",
|
|
25921
25997
|
coinDecimals: 6
|
|
25998
|
+
},
|
|
25999
|
+
{
|
|
26000
|
+
coinDenom: "WEETH",
|
|
26001
|
+
coinMinimalDenom: "ibc/1650C368ECC224CE50126C340BDC54F4119095341783E110C8E389BA2A9774EB",
|
|
26002
|
+
coinDecimals: 6
|
|
25922
26003
|
}
|
|
25923
26004
|
],
|
|
25924
26005
|
rest: "https://rest-echelon-1.anvil.asia-southeast.initia.xyz",
|
|
@@ -25949,11 +26030,31 @@ const _D = [
|
|
|
25949
26030
|
}
|
|
25950
26031
|
},
|
|
25951
26032
|
{
|
|
25952
|
-
chainId: "inertia-
|
|
26033
|
+
chainId: "inertia-2",
|
|
25953
26034
|
currencies: [
|
|
25954
26035
|
{
|
|
25955
26036
|
coinDenom: "INIT",
|
|
25956
|
-
coinMinimalDenom: "l2/
|
|
26037
|
+
coinMinimalDenom: "l2/c88b68df2060ba982a80d3001afcb2d354031f6901df2391acb4f0e2f545c770",
|
|
26038
|
+
coinDecimals: 6
|
|
26039
|
+
},
|
|
26040
|
+
{
|
|
26041
|
+
coinDenom: "TIA",
|
|
26042
|
+
coinMinimalDenom: "l2/1f79a9647aca83c63014709b7d4a69dd0f017b87ce9adf7417a2e2aa1c49044f",
|
|
26043
|
+
coinDecimals: 6
|
|
26044
|
+
},
|
|
26045
|
+
{
|
|
26046
|
+
coinDenom: "USDC",
|
|
26047
|
+
coinMinimalDenom: "l2/93c226659c42299f98bdca46cf151a604a70be2e6391a61b67ae2311d556a46a",
|
|
26048
|
+
coinDecimals: 6
|
|
26049
|
+
},
|
|
26050
|
+
{
|
|
26051
|
+
coinDenom: "sINIT",
|
|
26052
|
+
coinMinimalDenom: "l2/6f04a5de88d7587507e4b93e03999bfabce6e8a4131d94d226ac3a020196bc3d",
|
|
26053
|
+
coinDecimals: 6
|
|
26054
|
+
},
|
|
26055
|
+
{
|
|
26056
|
+
coinDenom: "nINIT",
|
|
26057
|
+
coinMinimalDenom: "l2/d2b5185c527f117629618249cfa95b8a90a70357bab21d750f15dc69c1c754bf",
|
|
25957
26058
|
coinDecimals: 6
|
|
25958
26059
|
}
|
|
25959
26060
|
],
|
|
@@ -25971,13 +26072,13 @@ const _D = [
|
|
|
25971
26072
|
feeCurrencies: [
|
|
25972
26073
|
{
|
|
25973
26074
|
coinDenom: "INIT",
|
|
25974
|
-
coinMinimalDenom: "l2/
|
|
26075
|
+
coinMinimalDenom: "l2/c88b68df2060ba982a80d3001afcb2d354031f6901df2391acb4f0e2f545c770",
|
|
25975
26076
|
coinDecimals: 6
|
|
25976
26077
|
}
|
|
25977
26078
|
],
|
|
25978
26079
|
stakeCurrency: {
|
|
25979
26080
|
coinDenom: "INIT",
|
|
25980
|
-
coinMinimalDenom: "l2/
|
|
26081
|
+
coinMinimalDenom: "l2/c88b68df2060ba982a80d3001afcb2d354031f6901df2391acb4f0e2f545c770",
|
|
25981
26082
|
coinDecimals: 6
|
|
25982
26083
|
},
|
|
25983
26084
|
bip44: {
|
|
@@ -25985,36 +26086,144 @@ const _D = [
|
|
|
25985
26086
|
}
|
|
25986
26087
|
},
|
|
25987
26088
|
{
|
|
25988
|
-
chainId: "
|
|
26089
|
+
chainId: "intergaze-1",
|
|
25989
26090
|
currencies: [
|
|
25990
26091
|
{
|
|
25991
26092
|
coinDenom: "INIT",
|
|
25992
|
-
coinMinimalDenom: "
|
|
26093
|
+
coinMinimalDenom: "l2/fb936ffef4eb4019d82941992cc09ae2788ce7197fcb08cb00c4fe6f5e79184e",
|
|
25993
26094
|
coinDecimals: 6
|
|
25994
|
-
}
|
|
26095
|
+
}
|
|
26096
|
+
],
|
|
26097
|
+
rest: "https://rest.intergaze-apis.com",
|
|
26098
|
+
rpc: "https://rpc.intergaze-apis.com",
|
|
26099
|
+
bech32Config: {
|
|
26100
|
+
bech32PrefixAccAddr: "init",
|
|
26101
|
+
bech32PrefixAccPub: "initpub",
|
|
26102
|
+
bech32PrefixValAddr: "initvaloper",
|
|
26103
|
+
bech32PrefixValPub: "initvaloperpub",
|
|
26104
|
+
bech32PrefixConsAddr: "initvalcons",
|
|
26105
|
+
bech32PrefixConsPub: "initvalconspub"
|
|
26106
|
+
},
|
|
26107
|
+
chainName: "intergaze",
|
|
26108
|
+
feeCurrencies: [
|
|
25995
26109
|
{
|
|
25996
|
-
coinDenom: "
|
|
25997
|
-
coinMinimalDenom: "
|
|
26110
|
+
coinDenom: "INIT",
|
|
26111
|
+
coinMinimalDenom: "l2/fb936ffef4eb4019d82941992cc09ae2788ce7197fcb08cb00c4fe6f5e79184e",
|
|
25998
26112
|
coinDecimals: 6
|
|
25999
|
-
}
|
|
26113
|
+
}
|
|
26114
|
+
],
|
|
26115
|
+
stakeCurrency: {
|
|
26116
|
+
coinDenom: "INIT",
|
|
26117
|
+
coinMinimalDenom: "l2/fb936ffef4eb4019d82941992cc09ae2788ce7197fcb08cb00c4fe6f5e79184e",
|
|
26118
|
+
coinDecimals: 6
|
|
26119
|
+
},
|
|
26120
|
+
bip44: {
|
|
26121
|
+
coinType: 60
|
|
26122
|
+
}
|
|
26123
|
+
},
|
|
26124
|
+
{
|
|
26125
|
+
chainId: "moo-1",
|
|
26126
|
+
currencies: [
|
|
26000
26127
|
{
|
|
26001
|
-
coinDenom: "
|
|
26002
|
-
coinMinimalDenom: "ibc/
|
|
26128
|
+
coinDenom: "INIT",
|
|
26129
|
+
coinMinimalDenom: "ibc/37A3FB4FED4CA04ED6D9E5DA36C6D27248645F0E22F585576A1488B8A89C5A50",
|
|
26003
26130
|
coinDecimals: 6
|
|
26004
26131
|
},
|
|
26005
26132
|
{
|
|
26006
|
-
coinDenom: "
|
|
26007
|
-
coinMinimalDenom: "
|
|
26133
|
+
coinDenom: "milkINIT",
|
|
26134
|
+
coinMinimalDenom: "factory/init17p9rzwnnfxcjp32un9ug7yhhzgtkhvl9jfksztgw5uh69wac2pgsj6uxxj/umilkINIT",
|
|
26135
|
+
coinDecimals: 6
|
|
26136
|
+
}
|
|
26137
|
+
],
|
|
26138
|
+
rest: "https://rest-moo-1.anvil.asia-southeast.initia.xyz",
|
|
26139
|
+
rpc: "https://rpc-moo-1.anvil.asia-southeast.initia.xyz",
|
|
26140
|
+
bech32Config: {
|
|
26141
|
+
bech32PrefixAccAddr: "init",
|
|
26142
|
+
bech32PrefixAccPub: "initpub",
|
|
26143
|
+
bech32PrefixValAddr: "initvaloper",
|
|
26144
|
+
bech32PrefixValPub: "initvaloperpub",
|
|
26145
|
+
bech32PrefixConsAddr: "initvalcons",
|
|
26146
|
+
bech32PrefixConsPub: "initvalconspub"
|
|
26147
|
+
},
|
|
26148
|
+
chainName: "moo",
|
|
26149
|
+
feeCurrencies: [
|
|
26150
|
+
{
|
|
26151
|
+
coinDenom: "INIT",
|
|
26152
|
+
coinMinimalDenom: "ibc/37A3FB4FED4CA04ED6D9E5DA36C6D27248645F0E22F585576A1488B8A89C5A50",
|
|
26008
26153
|
coinDecimals: 6
|
|
26154
|
+
}
|
|
26155
|
+
],
|
|
26156
|
+
stakeCurrency: {
|
|
26157
|
+
coinDenom: "INIT",
|
|
26158
|
+
coinMinimalDenom: "ibc/37A3FB4FED4CA04ED6D9E5DA36C6D27248645F0E22F585576A1488B8A89C5A50",
|
|
26159
|
+
coinDecimals: 6
|
|
26160
|
+
},
|
|
26161
|
+
bip44: {
|
|
26162
|
+
coinType: 60
|
|
26163
|
+
}
|
|
26164
|
+
},
|
|
26165
|
+
{
|
|
26166
|
+
chainId: "rave-1",
|
|
26167
|
+
currencies: [
|
|
26168
|
+
{
|
|
26169
|
+
coinDenom: "INIT",
|
|
26170
|
+
coinMinimalDenom: "evm/4f7566f67941283a30cf65de7b9c6fdf2c04FCA1",
|
|
26171
|
+
coinDecimals: 18
|
|
26172
|
+
},
|
|
26173
|
+
{
|
|
26174
|
+
coinDenom: "WEETH",
|
|
26175
|
+
coinMinimalDenom: "evm/9b51c105b768dF44d78bE80B53aD45579b7ee103",
|
|
26176
|
+
coinDecimals: 18
|
|
26177
|
+
}
|
|
26178
|
+
],
|
|
26179
|
+
rest: "https://rest-rave-1.anvil.asia-southeast.initia.xyz",
|
|
26180
|
+
rpc: "https://rpc-rave-1.anvil.asia-southeast.initia.xyz",
|
|
26181
|
+
bech32Config: {
|
|
26182
|
+
bech32PrefixAccAddr: "init",
|
|
26183
|
+
bech32PrefixAccPub: "initpub",
|
|
26184
|
+
bech32PrefixValAddr: "initvaloper",
|
|
26185
|
+
bech32PrefixValPub: "initvaloperpub",
|
|
26186
|
+
bech32PrefixConsAddr: "initvalcons",
|
|
26187
|
+
bech32PrefixConsPub: "initvalconspub"
|
|
26188
|
+
},
|
|
26189
|
+
chainName: "rave",
|
|
26190
|
+
feeCurrencies: [
|
|
26191
|
+
{
|
|
26192
|
+
coinDenom: "INIT",
|
|
26193
|
+
coinMinimalDenom: "evm/4f7566f67941283a30cf65de7b9c6fdf2c04FCA1",
|
|
26194
|
+
coinDecimals: 18
|
|
26195
|
+
}
|
|
26196
|
+
],
|
|
26197
|
+
stakeCurrency: {
|
|
26198
|
+
coinDenom: "INIT",
|
|
26199
|
+
coinMinimalDenom: "evm/4f7566f67941283a30cf65de7b9c6fdf2c04FCA1",
|
|
26200
|
+
coinDecimals: 18
|
|
26201
|
+
},
|
|
26202
|
+
bip44: {
|
|
26203
|
+
coinType: 60
|
|
26204
|
+
}
|
|
26205
|
+
},
|
|
26206
|
+
{
|
|
26207
|
+
chainId: "yominet-1",
|
|
26208
|
+
currencies: [
|
|
26209
|
+
{
|
|
26210
|
+
coinDenom: "INIT",
|
|
26211
|
+
coinMinimalDenom: "evm/856aB2c9F35B9187aB3eB0Fcd11DCc6160427e96",
|
|
26212
|
+
coinDecimals: 18
|
|
26009
26213
|
},
|
|
26010
26214
|
{
|
|
26011
26215
|
coinDenom: "ETH",
|
|
26012
|
-
coinMinimalDenom: "
|
|
26013
|
-
coinDecimals:
|
|
26216
|
+
coinMinimalDenom: "evm/E1Ff7038eAAAF027031688E1535a055B2Bac2546",
|
|
26217
|
+
coinDecimals: 18
|
|
26218
|
+
},
|
|
26219
|
+
{
|
|
26220
|
+
coinDenom: "TIA",
|
|
26221
|
+
coinMinimalDenom: "evm/f0c644D9636b83E7491404d8D826321e44E23d15",
|
|
26222
|
+
coinDecimals: 18
|
|
26014
26223
|
}
|
|
26015
26224
|
],
|
|
26016
|
-
rest: "https://rest.initia.xyz",
|
|
26017
|
-
rpc: "https://rpc.initia.xyz",
|
|
26225
|
+
rest: "https://rest-yominet-1.anvil.asia-southeast.initia.xyz",
|
|
26226
|
+
rpc: "https://rpc-yominet-1.anvil.asia-southeast.initia.xyz",
|
|
26018
26227
|
bech32Config: {
|
|
26019
26228
|
bech32PrefixAccAddr: "init",
|
|
26020
26229
|
bech32PrefixAccPub: "initpub",
|
|
@@ -26023,23 +26232,59 @@ const _D = [
|
|
|
26023
26232
|
bech32PrefixConsAddr: "initvalcons",
|
|
26024
26233
|
bech32PrefixConsPub: "initvalconspub"
|
|
26025
26234
|
},
|
|
26026
|
-
chainName: "
|
|
26235
|
+
chainName: "yominet",
|
|
26027
26236
|
feeCurrencies: [
|
|
26237
|
+
{
|
|
26238
|
+
coinDenom: "ETH",
|
|
26239
|
+
coinMinimalDenom: "evm/E1Ff7038eAAAF027031688E1535a055B2Bac2546",
|
|
26240
|
+
coinDecimals: 18
|
|
26241
|
+
}
|
|
26242
|
+
],
|
|
26243
|
+
stakeCurrency: {
|
|
26244
|
+
coinDenom: "INIT",
|
|
26245
|
+
coinMinimalDenom: "evm/856aB2c9F35B9187aB3eB0Fcd11DCc6160427e96",
|
|
26246
|
+
coinDecimals: 18
|
|
26247
|
+
},
|
|
26248
|
+
bip44: {
|
|
26249
|
+
coinType: 60
|
|
26250
|
+
}
|
|
26251
|
+
},
|
|
26252
|
+
{
|
|
26253
|
+
chainId: "zaar-mainnet-1",
|
|
26254
|
+
currencies: [
|
|
26028
26255
|
{
|
|
26029
26256
|
coinDenom: "INIT",
|
|
26030
|
-
coinMinimalDenom: "
|
|
26031
|
-
coinDecimals:
|
|
26032
|
-
|
|
26033
|
-
|
|
26034
|
-
|
|
26035
|
-
|
|
26036
|
-
|
|
26257
|
+
coinMinimalDenom: "evm/7Fb2A94A13186E3C338f0DA9728B4835D86b1a7B",
|
|
26258
|
+
coinDecimals: 18
|
|
26259
|
+
},
|
|
26260
|
+
{
|
|
26261
|
+
coinDenom: "USDC",
|
|
26262
|
+
coinMinimalDenom: "evm/856aB2c9F35B9187aB3eB0Fcd11DCc6160427e96",
|
|
26263
|
+
coinDecimals: 18
|
|
26264
|
+
}
|
|
26265
|
+
],
|
|
26266
|
+
rest: "https://rest-zaar-mainnet-1.anvil.asia-southeast.initia.xyz",
|
|
26267
|
+
rpc: "https://rpc-zaar-mainnet-1.anvil.asia-southeast.initia.xyz",
|
|
26268
|
+
bech32Config: {
|
|
26269
|
+
bech32PrefixAccAddr: "init",
|
|
26270
|
+
bech32PrefixAccPub: "initpub",
|
|
26271
|
+
bech32PrefixValAddr: "initvaloper",
|
|
26272
|
+
bech32PrefixValPub: "initvaloperpub",
|
|
26273
|
+
bech32PrefixConsAddr: "initvalcons",
|
|
26274
|
+
bech32PrefixConsPub: "initvalconspub"
|
|
26275
|
+
},
|
|
26276
|
+
chainName: "zaarmainnet",
|
|
26277
|
+
feeCurrencies: [
|
|
26278
|
+
{
|
|
26279
|
+
coinDenom: "INIT",
|
|
26280
|
+
coinMinimalDenom: "evm/7Fb2A94A13186E3C338f0DA9728B4835D86b1a7B",
|
|
26281
|
+
coinDecimals: 18
|
|
26037
26282
|
}
|
|
26038
26283
|
],
|
|
26039
26284
|
stakeCurrency: {
|
|
26040
26285
|
coinDenom: "INIT",
|
|
26041
|
-
coinMinimalDenom: "
|
|
26042
|
-
coinDecimals:
|
|
26286
|
+
coinMinimalDenom: "evm/7Fb2A94A13186E3C338f0DA9728B4835D86b1a7B",
|
|
26287
|
+
coinDecimals: 18
|
|
26043
26288
|
},
|
|
26044
26289
|
bip44: {
|
|
26045
26290
|
coinType: 60
|
|
@@ -31879,57 +32124,6 @@ const _D = [
|
|
|
31879
32124
|
coinType: 118
|
|
31880
32125
|
}
|
|
31881
32126
|
},
|
|
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
32127
|
{
|
|
31934
32128
|
chainId: "culinaris-2",
|
|
31935
32129
|
currencies: [
|
|
@@ -31978,7 +32172,7 @@ const _D = [
|
|
|
31978
32172
|
coinDecimals: 6
|
|
31979
32173
|
},
|
|
31980
32174
|
bip44: {
|
|
31981
|
-
coinType:
|
|
32175
|
+
coinType: 60
|
|
31982
32176
|
}
|
|
31983
32177
|
},
|
|
31984
32178
|
{
|
|
@@ -31991,7 +32185,7 @@ const _D = [
|
|
|
31991
32185
|
},
|
|
31992
32186
|
{
|
|
31993
32187
|
coinDenom: "EMBRINIT",
|
|
31994
|
-
coinMinimalDenom: "evm/
|
|
32188
|
+
coinMinimalDenom: "evm/6ed1637781269560b204c27Cd42d95e057C4BE44",
|
|
31995
32189
|
coinDecimals: 18
|
|
31996
32190
|
}
|
|
31997
32191
|
],
|
|
@@ -32024,7 +32218,7 @@ const _D = [
|
|
|
32024
32218
|
coinDecimals: 6
|
|
32025
32219
|
},
|
|
32026
32220
|
bip44: {
|
|
32027
|
-
coinType:
|
|
32221
|
+
coinType: 60
|
|
32028
32222
|
}
|
|
32029
32223
|
},
|
|
32030
32224
|
{
|
|
@@ -32095,7 +32289,7 @@ const _D = [
|
|
|
32095
32289
|
coinDecimals: 6
|
|
32096
32290
|
},
|
|
32097
32291
|
bip44: {
|
|
32098
|
-
coinType:
|
|
32292
|
+
coinType: 60
|
|
32099
32293
|
}
|
|
32100
32294
|
},
|
|
32101
32295
|
{
|
|
@@ -32141,63 +32335,7 @@ const _D = [
|
|
|
32141
32335
|
coinDecimals: 6
|
|
32142
32336
|
},
|
|
32143
32337
|
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
|
|
32338
|
+
coinType: 60
|
|
32201
32339
|
}
|
|
32202
32340
|
},
|
|
32203
32341
|
{
|
|
@@ -32253,7 +32391,7 @@ const _D = [
|
|
|
32253
32391
|
coinDecimals: 0
|
|
32254
32392
|
},
|
|
32255
32393
|
bip44: {
|
|
32256
|
-
coinType:
|
|
32394
|
+
coinType: 60
|
|
32257
32395
|
}
|
|
32258
32396
|
},
|
|
32259
32397
|
{
|
|
@@ -32319,7 +32457,7 @@ const _D = [
|
|
|
32319
32457
|
coinDecimals: 6
|
|
32320
32458
|
},
|
|
32321
32459
|
bip44: {
|
|
32322
|
-
coinType:
|
|
32460
|
+
coinType: 60
|
|
32323
32461
|
}
|
|
32324
32462
|
},
|
|
32325
32463
|
{
|
|
@@ -32355,58 +32493,7 @@ const _D = [
|
|
|
32355
32493
|
coinDecimals: 6
|
|
32356
32494
|
},
|
|
32357
32495
|
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
|
|
32496
|
+
coinType: 60
|
|
32410
32497
|
}
|
|
32411
32498
|
},
|
|
32412
32499
|
{
|
|
@@ -32457,7 +32544,7 @@ const _D = [
|
|
|
32457
32544
|
coinDecimals: 18
|
|
32458
32545
|
},
|
|
32459
32546
|
bip44: {
|
|
32460
|
-
coinType:
|
|
32547
|
+
coinType: 60
|
|
32461
32548
|
}
|
|
32462
32549
|
}
|
|
32463
32550
|
], e2 = [
|
|
@@ -38207,9 +38294,9 @@ const _D = [
|
|
|
38207
38294
|
{
|
|
38208
38295
|
explorers: [
|
|
38209
38296
|
{
|
|
38210
|
-
kind: "
|
|
38211
|
-
url: "https://
|
|
38212
|
-
tx_page: "https://
|
|
38297
|
+
kind: "TRONSCAN",
|
|
38298
|
+
url: "https://tronscan.org/",
|
|
38299
|
+
tx_page: "https://tronscan.org/#/transaction//${txHash}"
|
|
38213
38300
|
}
|
|
38214
38301
|
]
|
|
38215
38302
|
},
|
|
@@ -38834,24 +38921,6 @@ const _D = [
|
|
|
38834
38921
|
}
|
|
38835
38922
|
]
|
|
38836
38923
|
},
|
|
38837
|
-
{
|
|
38838
|
-
explorers: [
|
|
38839
|
-
{
|
|
38840
|
-
kind: "Tonscan",
|
|
38841
|
-
url: "https://tonscan.org/",
|
|
38842
|
-
tx_page: "https://tonscan.org/tx/${txHash}"
|
|
38843
|
-
}
|
|
38844
|
-
]
|
|
38845
|
-
},
|
|
38846
|
-
{
|
|
38847
|
-
explorers: [
|
|
38848
|
-
{
|
|
38849
|
-
kind: "TRONSCAN",
|
|
38850
|
-
url: "https://tronscan.org/",
|
|
38851
|
-
tx_page: "https://tronscan.org/#/transaction//${txHash}"
|
|
38852
|
-
}
|
|
38853
|
-
]
|
|
38854
|
-
},
|
|
38855
38924
|
{
|
|
38856
38925
|
chainId: "umee-1",
|
|
38857
38926
|
explorers: [
|
|
@@ -40908,34 +40977,41 @@ const _D = [
|
|
|
40908
40977
|
{
|
|
40909
40978
|
chainId: "zig-test-1"
|
|
40910
40979
|
},
|
|
40980
|
+
{
|
|
40981
|
+
chainId: "civitia-1"
|
|
40982
|
+
},
|
|
40911
40983
|
{
|
|
40912
40984
|
chainId: "echelon-1"
|
|
40913
40985
|
},
|
|
40914
40986
|
{
|
|
40915
|
-
chainId: "inertia-
|
|
40987
|
+
chainId: "inertia-2",
|
|
40916
40988
|
explorers: [
|
|
40917
40989
|
{
|
|
40918
40990
|
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-
|
|
40991
|
+
url: "https://scan.initia.xyz/inertia-2",
|
|
40992
|
+
tx_page: "https://scan.initia.xyz/inertia-2/txs/${txHash}",
|
|
40993
|
+
account_page: "https://scan.initia.xyz/inertia-2/accounts/${accountAddress}"
|
|
40922
40994
|
}
|
|
40923
40995
|
]
|
|
40924
40996
|
},
|
|
40925
40997
|
{
|
|
40926
|
-
chainId: "
|
|
40927
|
-
|
|
40928
|
-
|
|
40929
|
-
|
|
40930
|
-
|
|
40931
|
-
|
|
40932
|
-
|
|
40933
|
-
|
|
40934
|
-
|
|
40998
|
+
chainId: "ingnetwork-1"
|
|
40999
|
+
},
|
|
41000
|
+
{
|
|
41001
|
+
chainId: "intergaze-1"
|
|
41002
|
+
},
|
|
41003
|
+
{
|
|
41004
|
+
chainId: "moo-1"
|
|
41005
|
+
},
|
|
41006
|
+
{
|
|
41007
|
+
chainId: "rave-1"
|
|
40935
41008
|
},
|
|
40936
41009
|
{
|
|
40937
41010
|
chainId: "yominet-1"
|
|
40938
41011
|
},
|
|
41012
|
+
{
|
|
41013
|
+
chainId: "zaar-mainnet-1"
|
|
41014
|
+
},
|
|
40939
41015
|
{
|
|
40940
41016
|
chainId: "landlord-2",
|
|
40941
41017
|
explorers: [
|
|
@@ -41260,7 +41336,7 @@ const _D = [
|
|
|
41260
41336
|
isValidatingGasBalance: void 0,
|
|
41261
41337
|
transactionsSigned: 0
|
|
41262
41338
|
}
|
|
41263
|
-
),
|
|
41339
|
+
), Tn = Z(null, (e, n, i) => {
|
|
41264
41340
|
n(Ue, (o) => ({ ...o, overallStatus: i }));
|
|
41265
41341
|
}), r2 = Z(null, (e, n) => {
|
|
41266
41342
|
var g;
|
|
@@ -41292,7 +41368,7 @@ const _D = [
|
|
|
41292
41368
|
V("execute route: transaction updated", { txInfo: x }), ((y = x.status) == null ? void 0 : y.status) !== "STATE_COMPLETED" && n(Kr, x, a);
|
|
41293
41369
|
},
|
|
41294
41370
|
onApproveAllowance: async ({ status: x, allowance: y }) => {
|
|
41295
|
-
V("execute route: approve allowance", { status: x, allowance: y }), y && x === "pending" && n(
|
|
41371
|
+
V("execute route: approve allowance", { status: x, allowance: y }), y && x === "pending" && n(Tn, "approving");
|
|
41296
41372
|
},
|
|
41297
41373
|
onTransactionBroadcast: async (x) => {
|
|
41298
41374
|
var k;
|
|
@@ -41342,7 +41418,7 @@ const _D = [
|
|
|
41342
41418
|
V("execute route: transaction signed"), n(Ue, (x) => ({
|
|
41343
41419
|
...x,
|
|
41344
41420
|
transactionsSigned: (x.transactionsSigned ?? 0) + 1
|
|
41345
|
-
})), n(
|
|
41421
|
+
})), n(Tn, "pending");
|
|
41346
41422
|
},
|
|
41347
41423
|
onError: (x, y) => {
|
|
41348
41424
|
var k, q;
|
|
@@ -41354,7 +41430,7 @@ const _D = [
|
|
|
41354
41430
|
V("error page: user rejected request"), n(Ne, {
|
|
41355
41431
|
errorType: we.AuthFailed,
|
|
41356
41432
|
onClickBack: () => {
|
|
41357
|
-
n(
|
|
41433
|
+
n(Tn, "unconfirmed");
|
|
41358
41434
|
}
|
|
41359
41435
|
});
|
|
41360
41436
|
else if (f != null && f.explorerLink) {
|
|
@@ -41363,7 +41439,7 @@ const _D = [
|
|
|
41363
41439
|
errorType: we.Unexpected,
|
|
41364
41440
|
error: x,
|
|
41365
41441
|
onClickBack: () => {
|
|
41366
|
-
n(
|
|
41442
|
+
n(Tn, "unconfirmed");
|
|
41367
41443
|
}
|
|
41368
41444
|
});
|
|
41369
41445
|
return;
|
|
@@ -41371,7 +41447,7 @@ const _D = [
|
|
|
41371
41447
|
V("error page: transaction failed"), n(Ne, {
|
|
41372
41448
|
errorType: we.TransactionFailed,
|
|
41373
41449
|
onClickBack: () => {
|
|
41374
|
-
n(
|
|
41450
|
+
n(Tn, "unconfirmed");
|
|
41375
41451
|
},
|
|
41376
41452
|
explorerLink: (f == null ? void 0 : f.explorerLink) ?? "",
|
|
41377
41453
|
txHash: (f == null ? void 0 : f.txHash) ?? "",
|
|
@@ -41384,7 +41460,7 @@ const _D = [
|
|
|
41384
41460
|
errorType: we.Unexpected,
|
|
41385
41461
|
error: x,
|
|
41386
41462
|
onClickBack: () => {
|
|
41387
|
-
n(
|
|
41463
|
+
n(Tn, "unconfirmed");
|
|
41388
41464
|
}
|
|
41389
41465
|
});
|
|
41390
41466
|
},
|
|
@@ -41477,10 +41553,10 @@ const _D = [
|
|
|
41477
41553
|
}
|
|
41478
41554
|
};
|
|
41479
41555
|
}), Ct = (e) => O(() => {
|
|
41480
|
-
const n =
|
|
41556
|
+
const n = Hi(e == null ? void 0 : e.operations);
|
|
41481
41557
|
return (n == null ? void 0 : n.some((i) => i.type === ze.goFastTransfer)) ?? !1;
|
|
41482
41558
|
}, [e == null ? void 0 : e.operations]), p2 = (e) => O(() => {
|
|
41483
|
-
const n = [ze.swap, ze.evmSwap], i =
|
|
41559
|
+
const n = [ze.swap, ze.evmSwap], i = Hi(e == null ? void 0 : e.operations);
|
|
41484
41560
|
return (i == null ? void 0 : i.some((o) => n.includes(o.type))) ?? !1;
|
|
41485
41561
|
}, [e == null ? void 0 : e.operations]), h2 = ({ txHash: e, explorerLink: n, onClickBack: i }) => {
|
|
41486
41562
|
const o = xe(), [t, c] = he(Ne), a = X(rn), { route: r, transactionDetailsArray: s } = L(Ue), l = Ct(r), { data: h } = ca({
|
|
@@ -42137,7 +42213,7 @@ const _D = [
|
|
|
42137
42213
|
]), F = O(() => {
|
|
42138
42214
|
if (c)
|
|
42139
42215
|
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,
|
|
42216
|
+
}, [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
42217
|
return /* @__PURE__ */ j(W, { gap: 15, align: "center", ...h, children: [
|
|
42142
42218
|
g != null && g.assetImage ? /* @__PURE__ */ m(
|
|
42143
42219
|
kt,
|
|
@@ -42156,7 +42232,7 @@ const _D = [
|
|
|
42156
42232
|
}
|
|
42157
42233
|
)
|
|
42158
42234
|
},
|
|
42159
|
-
`${I}-${
|
|
42235
|
+
`${I}-${H}`
|
|
42160
42236
|
) : /* @__PURE__ */ m(M2, { children: " ? " }),
|
|
42161
42237
|
/* @__PURE__ */ m(
|
|
42162
42238
|
ue,
|
|
@@ -42171,7 +42247,7 @@ const _D = [
|
|
|
42171
42247
|
/* @__PURE__ */ m(j2, { normalTextColor: !0, title: g == null ? void 0 : g.amount, children: co(g == null ? void 0 : g.amount) }),
|
|
42172
42248
|
/* @__PURE__ */ m(I2, { normalTextColor: !0, children: g == null ? void 0 : g.symbol }),
|
|
42173
42249
|
/* @__PURE__ */ j(
|
|
42174
|
-
|
|
42250
|
+
T2,
|
|
42175
42251
|
{
|
|
42176
42252
|
renderingEditDestinationWalletOrExplorerLink: f,
|
|
42177
42253
|
title: g == null ? void 0 : g.chainName,
|
|
@@ -42311,7 +42387,7 @@ const _D = [
|
|
|
42311
42387
|
@media (max-width: 400px) {
|
|
42312
42388
|
max-width: 40px;
|
|
42313
42389
|
}
|
|
42314
|
-
`,
|
|
42390
|
+
`, T2 = N(K)`
|
|
42315
42391
|
max-width: 95px;
|
|
42316
42392
|
text-overflow: ellipsis;
|
|
42317
42393
|
overflow: hidden;
|
|
@@ -42342,7 +42418,7 @@ const _D = [
|
|
|
42342
42418
|
}
|
|
42343
42419
|
`, pa = ({ title: e, onClickBackButton: n, rightContent: i }) => {
|
|
42344
42420
|
const o = xe();
|
|
42345
|
-
return /* @__PURE__ */ j(
|
|
42421
|
+
return /* @__PURE__ */ j(H2, { align: "center", justify: "space-between", children: [
|
|
42346
42422
|
/* @__PURE__ */ m(an, { onClick: () => n(), children: /* @__PURE__ */ m(N2, { color: o == null ? void 0 : o.primary.text.normal }) }),
|
|
42347
42423
|
/* @__PURE__ */ m(V2, { textAlign: "center", children: e }),
|
|
42348
42424
|
i
|
|
@@ -42359,7 +42435,7 @@ const _D = [
|
|
|
42359
42435
|
width: 100%;
|
|
42360
42436
|
align-items: center;
|
|
42361
42437
|
justify-content: center;
|
|
42362
|
-
`,
|
|
42438
|
+
`, H2 = N(W)`
|
|
42363
42439
|
height: 40px;
|
|
42364
42440
|
margin-top: 10px;
|
|
42365
42441
|
padding: 0 12px;
|
|
@@ -42397,13 +42473,13 @@ const _D = [
|
|
|
42397
42473
|
}), g = Be(
|
|
42398
42474
|
(F) => {
|
|
42399
42475
|
var S;
|
|
42400
|
-
const I = Bo(F) ? F.walletPrettyName ?? F.walletName : F.walletName,
|
|
42476
|
+
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
42477
|
"img",
|
|
42402
42478
|
{
|
|
42403
42479
|
height: 35,
|
|
42404
42480
|
width: 35,
|
|
42405
42481
|
style: { objectFit: "cover" },
|
|
42406
|
-
src:
|
|
42482
|
+
src: H,
|
|
42407
42483
|
alt: `${I}-logo`
|
|
42408
42484
|
}
|
|
42409
42485
|
) : null;
|
|
@@ -42428,7 +42504,7 @@ const _D = [
|
|
|
42428
42504
|
},
|
|
42429
42505
|
[A, o]
|
|
42430
42506
|
), x = O(() => Math.min(530, D.length * ($r + Vt)), [D.length]), y = O(() => {
|
|
42431
|
-
var F, I,
|
|
42507
|
+
var F, I, H, p;
|
|
42432
42508
|
if (A.isError || A.isPending) {
|
|
42433
42509
|
const u = A.isError ? "Failed to connect" : "Connecting to";
|
|
42434
42510
|
return /* @__PURE__ */ m(Cm, { children: /* @__PURE__ */ j(L2, { children: [
|
|
@@ -42445,7 +42521,7 @@ const _D = [
|
|
|
42445
42521
|
{
|
|
42446
42522
|
style: { objectFit: "cover" },
|
|
42447
42523
|
src: A.variables.walletInfo.logo,
|
|
42448
|
-
alt: `${(
|
|
42524
|
+
alt: `${(H = A.variables) == null ? void 0 : H.walletPrettyName} logo`
|
|
42449
42525
|
}
|
|
42450
42526
|
)
|
|
42451
42527
|
}
|
|
@@ -42761,7 +42837,7 @@ const _D = [
|
|
|
42761
42837
|
const b = [];
|
|
42762
42838
|
for (const A of d) {
|
|
42763
42839
|
const g = Cs(A), x = Bi(), y = Zo(A), f = n1(e1(A), e), k = async ({ chainIdToConnect: F }) => {
|
|
42764
|
-
var
|
|
42840
|
+
var H, p, u, C;
|
|
42765
42841
|
const I = !F || F && f.includes(F);
|
|
42766
42842
|
try {
|
|
42767
42843
|
if (F) {
|
|
@@ -42782,7 +42858,7 @@ const _D = [
|
|
|
42782
42858
|
Object.entries(M.accounts).map(([S, w]) => [S, w.bech32Address])
|
|
42783
42859
|
), P = F && (M == null ? void 0 : M.accounts[F].bech32Address);
|
|
42784
42860
|
if (n === void 0) {
|
|
42785
|
-
(
|
|
42861
|
+
(H = t == null ? void 0 : t.onWalletConnected) == null || H.call(t, {
|
|
42786
42862
|
walletName: A,
|
|
42787
42863
|
chainIdToAddressMap: v,
|
|
42788
42864
|
address: P
|
|
@@ -43005,13 +43081,13 @@ const _D = [
|
|
|
43005
43081
|
if (g.id === "com.okex.wallet" || A.findIndex((q) => q.walletName === g.id) !== -1)
|
|
43006
43082
|
continue;
|
|
43007
43083
|
const y = g.id === "walletConnect", f = async ({ chainIdToConnect: q = "1" }) => {
|
|
43008
|
-
var I,
|
|
43084
|
+
var I, H, p, u, C;
|
|
43009
43085
|
const F = r && s !== Number(q) && g.id === (a == null ? void 0 : a.id);
|
|
43010
43086
|
try {
|
|
43011
43087
|
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
43088
|
chainId: Number(q)
|
|
43013
43089
|
})), 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 = (
|
|
43090
|
+
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
43091
|
return t(R.EVM), n === void 0 && ((u = o == null ? void 0 : o.onWalletConnected) == null || u.call(o, {
|
|
43016
43092
|
walletName: g.name,
|
|
43017
43093
|
chainId: D,
|
|
@@ -43100,8 +43176,8 @@ const _D = [
|
|
|
43100
43176
|
abi: t1,
|
|
43101
43177
|
functionName: "getSeiAddr"
|
|
43102
43178
|
}) };
|
|
43103
|
-
} catch (
|
|
43104
|
-
const p =
|
|
43179
|
+
} catch (H) {
|
|
43180
|
+
const p = H;
|
|
43105
43181
|
throw V("get address error", {
|
|
43106
43182
|
walletName: g.name,
|
|
43107
43183
|
chainId: D,
|
|
@@ -43139,7 +43215,7 @@ const _D = [
|
|
|
43139
43215
|
var b, A, g, x, y, f, k;
|
|
43140
43216
|
try {
|
|
43141
43217
|
await l.connect();
|
|
43142
|
-
const q = e == null ? void 0 : e.find((
|
|
43218
|
+
const q = e == null ? void 0 : e.find((H) => H.chainID === "solana");
|
|
43143
43219
|
n === void 0 && a(R.SVM);
|
|
43144
43220
|
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
43221
|
return c(R.SVM), i === void 0 && ((f = t == null ? void 0 : t.onWalletConnected) == null || f.call(t, {
|
|
@@ -43230,7 +43306,7 @@ const _D = [
|
|
|
43230
43306
|
return [];
|
|
43231
43307
|
}
|
|
43232
43308
|
}, [e, o, t, c, s]);
|
|
43233
|
-
}, Em = () => L(
|
|
43309
|
+
}, Em = () => L(Ti) ? a1 : c1, c1 = {
|
|
43234
43310
|
[R.Cosmos]: "cosmoshub-4",
|
|
43235
43311
|
[R.EVM]: "1",
|
|
43236
43312
|
[R.SVM]: "solana"
|
|
@@ -43433,10 +43509,10 @@ const _D = [
|
|
|
43433
43509
|
return Object.keys(c)[0];
|
|
43434
43510
|
}, [e, c, D, l == null ? void 0 : l.chainID]), A = O(() => {
|
|
43435
43511
|
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
|
|
43512
|
+
const H = h.find((p) => p.chainID === l.chainID);
|
|
43513
|
+
return (H == null ? void 0 : H.chainType) === e ? l.chainID : D;
|
|
43514
|
+
}, [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(() => {
|
|
43515
|
+
var H, p;
|
|
43440
43516
|
return !g || !f ? null : s ? /* @__PURE__ */ m(
|
|
43441
43517
|
an,
|
|
43442
43518
|
{
|
|
@@ -43449,7 +43525,7 @@ const _D = [
|
|
|
43449
43525
|
wallet: g == null ? void 0 : g.wallet.name
|
|
43450
43526
|
}), f == null || f.disconnect(), ie.remove(pe.ConnectedWalletModal);
|
|
43451
43527
|
},
|
|
43452
|
-
children: /* @__PURE__ */ m(Fm, { height: "22", width: "22", color: (p = (
|
|
43528
|
+
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
43529
|
}
|
|
43454
43530
|
) : /* @__PURE__ */ m(
|
|
43455
43531
|
ci,
|
|
@@ -43508,8 +43584,8 @@ const _D = [
|
|
|
43508
43584
|
{
|
|
43509
43585
|
align: "center",
|
|
43510
43586
|
justify: "center",
|
|
43511
|
-
onClick: (
|
|
43512
|
-
|
|
43587
|
+
onClick: (H) => {
|
|
43588
|
+
H.stopPropagation(), o(g == null ? void 0 : g.address);
|
|
43513
43589
|
},
|
|
43514
43590
|
children: /* @__PURE__ */ m(Am, { width: "10", height: "10", color: a.primary.text.lowContrast })
|
|
43515
43591
|
}
|
|
@@ -43897,7 +43973,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
43897
43973
|
)
|
|
43898
43974
|
}
|
|
43899
43975
|
), M1 = () => {
|
|
43900
|
-
const [e, n] = se(!1), [i, o] = se(""), [t, c] = he(hm), a = !!(t && !
|
|
43976
|
+
const [e, n] = se(!1), [i, o] = se(""), [t, c] = he(hm), a = !!(t && !Tr.includes(t));
|
|
43901
43977
|
return re(() => {
|
|
43902
43978
|
a && o(t == null ? void 0 : t.toString());
|
|
43903
43979
|
}, [t, a]), /* @__PURE__ */ j(P1, { children: [
|
|
@@ -43913,7 +43989,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
43913
43989
|
)
|
|
43914
43990
|
] }),
|
|
43915
43991
|
/* @__PURE__ */ j(z1, { gap: 5, children: [
|
|
43916
|
-
|
|
43992
|
+
Tr.map((r) => /* @__PURE__ */ j(
|
|
43917
43993
|
Bc,
|
|
43918
43994
|
{
|
|
43919
43995
|
selected: r === t && !e,
|
|
@@ -44034,9 +44110,9 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44034
44110
|
${({ selected: e, theme: n }) => e && ye`
|
|
44035
44111
|
color: ${n.brandTextColor};
|
|
44036
44112
|
`}
|
|
44037
|
-
`,
|
|
44113
|
+
`, T1 = () => {
|
|
44038
44114
|
const [e, n] = he(bt);
|
|
44039
|
-
return /* @__PURE__ */ j(
|
|
44115
|
+
return /* @__PURE__ */ j(H1, { children: [
|
|
44040
44116
|
/* @__PURE__ */ j(N1, { align: "center", children: [
|
|
44041
44117
|
"Route Preference",
|
|
44042
44118
|
/* @__PURE__ */ m(Wc, { width: 5 }),
|
|
@@ -44060,7 +44136,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44060
44136
|
i
|
|
44061
44137
|
)) })
|
|
44062
44138
|
] });
|
|
44063
|
-
},
|
|
44139
|
+
}, H1 = N(ue)`
|
|
44064
44140
|
justify-content: space-between;
|
|
44065
44141
|
align-items: flex-start;
|
|
44066
44142
|
gap: 15px;
|
|
@@ -44073,7 +44149,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44073
44149
|
`, V1 = N(W)`
|
|
44074
44150
|
width: 100%;
|
|
44075
44151
|
`, 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 =
|
|
44152
|
+
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
44153
|
(s) => [
|
|
44078
44154
|
ze.axelarTransfer,
|
|
44079
44155
|
ze.hyperlaneTransfer,
|
|
@@ -44178,7 +44254,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44178
44254
|
")"
|
|
44179
44255
|
] })
|
|
44180
44256
|
] }, h)) }),
|
|
44181
|
-
/* @__PURE__ */ m(
|
|
44257
|
+
/* @__PURE__ */ m(T1, {}),
|
|
44182
44258
|
/* @__PURE__ */ m(M1, {}),
|
|
44183
44259
|
/* @__PURE__ */ j(W, { gap: 10, children: [
|
|
44184
44260
|
/* @__PURE__ */ m(
|
|
@@ -44289,13 +44365,13 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44289
44365
|
}).filter((x) => {
|
|
44290
44366
|
var u;
|
|
44291
44367
|
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 && !
|
|
44368
|
+
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");
|
|
44369
|
+
return I && p && !H && !F;
|
|
44294
44370
|
}).filter((x) => {
|
|
44295
44371
|
const { chainName: y, prettyName: f } = x, k = y.toLowerCase().includes(n.toLowerCase()), q = f.toLowerCase().includes(n.toLowerCase());
|
|
44296
44372
|
return k || q;
|
|
44297
44373
|
}).sort((x, y) => {
|
|
44298
|
-
var S, w, B, E, z,
|
|
44374
|
+
var S, w, B, E, z, T, U, G;
|
|
44299
44375
|
const f = Number(
|
|
44300
44376
|
((S = a(x.chainID, x.asset.denom)) == null ? void 0 : S.valueUSD) ?? 0
|
|
44301
44377
|
), k = Number(
|
|
@@ -44311,12 +44387,12 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44311
44387
|
return F - q;
|
|
44312
44388
|
const I = Object.keys(d).indexOf(
|
|
44313
44389
|
x.asset.recommendedSymbol || ""
|
|
44314
|
-
),
|
|
44390
|
+
), H = Object.keys(d).indexOf(
|
|
44315
44391
|
y.asset.recommendedSymbol || ""
|
|
44316
|
-
), p = I !== -1, u =
|
|
44392
|
+
), p = I !== -1, u = H !== -1;
|
|
44317
44393
|
if (p && !u) return -1;
|
|
44318
44394
|
if (u && !p) return 1;
|
|
44319
|
-
const C = (
|
|
44395
|
+
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
44396
|
if (C && !M) return -1;
|
|
44321
44397
|
if (M && !C) return 1;
|
|
44322
44398
|
const v = x.asset.originChainID === x.chainID, P = y.asset.originChainID === y.chainID;
|
|
@@ -44419,7 +44495,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44419
44495
|
(c = o[0]) == null ? void 0 : c.chainName
|
|
44420
44496
|
] });
|
|
44421
44497
|
return /* @__PURE__ */ m(
|
|
44422
|
-
|
|
44498
|
+
Tm,
|
|
44423
44499
|
{
|
|
44424
44500
|
image: /* @__PURE__ */ m(Aa, { height: 35, width: 35, groupedAsset: e }),
|
|
44425
44501
|
mainText: e.assets[0].recommendedSymbol,
|
|
@@ -44428,14 +44504,14 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44428
44504
|
}
|
|
44429
44505
|
);
|
|
44430
44506
|
}, Y1 = ({ item: e, eureka: n }) => /* @__PURE__ */ m(
|
|
44431
|
-
|
|
44507
|
+
Tm,
|
|
44432
44508
|
{
|
|
44433
44509
|
image: /* @__PURE__ */ m(Z1, { height: 35, width: 35, src: e == null ? void 0 : e.logoURI, alt: `${e.chainID} logo` }),
|
|
44434
44510
|
mainText: e.prettyName,
|
|
44435
44511
|
subText: /* @__PURE__ */ m(K, { children: e.chainID }),
|
|
44436
44512
|
eureka: n
|
|
44437
44513
|
}
|
|
44438
|
-
),
|
|
44514
|
+
), Tm = ({ image: e, mainText: n, subText: i, eureka: o }) => {
|
|
44439
44515
|
const t = Qe();
|
|
44440
44516
|
return /* @__PURE__ */ j(W, { align: "center", gap: 8, children: [
|
|
44441
44517
|
e,
|
|
@@ -44529,7 +44605,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44529
44605
|
...i,
|
|
44530
44606
|
children: /* @__PURE__ */ m("path", { d: "M4.44881 6.98877L0.420326 0.0112305L8.47729 0.0112305L4.44881 6.98877Z", fill: e })
|
|
44531
44607
|
}
|
|
44532
|
-
),
|
|
44608
|
+
), Hm = ({
|
|
44533
44609
|
context: e
|
|
44534
44610
|
}) => {
|
|
44535
44611
|
const { data: n } = L(An), i = fo(), o = L(ga), t = L(ba), c = L(fa), a = O(() => {
|
|
@@ -44593,7 +44669,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44593
44669
|
assetDenom: o == null ? void 0 : o.denom,
|
|
44594
44670
|
amount: e,
|
|
44595
44671
|
chainId: o == null ? void 0 : o.chainID
|
|
44596
|
-
}), y =
|
|
44672
|
+
}), y = Hm({ context: l }), f = y == null ? void 0 : y.find(
|
|
44597
44673
|
(p) => {
|
|
44598
44674
|
var u;
|
|
44599
44675
|
return p.id === ((u = x.asset) == null ? void 0 : u.recommendedSymbol);
|
|
@@ -44622,7 +44698,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44622
44698
|
default:
|
|
44623
44699
|
return;
|
|
44624
44700
|
}
|
|
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 || ""),
|
|
44701
|
+
}, 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
44702
|
return /* @__PURE__ */ j(ex, { justify: "space-between", borderRadius: 25, children: [
|
|
44627
44703
|
/* @__PURE__ */ j(W, { justify: "space-between", children: [
|
|
44628
44704
|
/* @__PURE__ */ m(
|
|
@@ -44637,7 +44713,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44637
44713
|
onKeyDown: q,
|
|
44638
44714
|
disabled: h,
|
|
44639
44715
|
isWaitingToUpdateInputValue: r,
|
|
44640
|
-
isLargeNumber:
|
|
44716
|
+
isLargeNumber: H
|
|
44641
44717
|
}
|
|
44642
44718
|
),
|
|
44643
44719
|
/* @__PURE__ */ j(ix, { onClick: t, disabled: h, gap: 5, children: [
|
|
@@ -44913,13 +44989,13 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44913
44989
|
}
|
|
44914
44990
|
},
|
|
44915
44991
|
[i]
|
|
44916
|
-
), F =
|
|
44992
|
+
), F = Hm({ context: c }), I = O(() => {
|
|
44917
44993
|
const w = (x == null ? void 0 : x.assets[0]) || o;
|
|
44918
44994
|
if (w)
|
|
44919
44995
|
return F == null ? void 0 : F.find(
|
|
44920
44996
|
(B) => B.id === w.recommendedSymbol
|
|
44921
44997
|
);
|
|
44922
|
-
}, [x == null ? void 0 : x.assets, o, F]),
|
|
44998
|
+
}, [x == null ? void 0 : x.assets, o, F]), H = U1({ groupedAssetsByRecommendedSymbol: F, searchQuery: A }), p = Im({
|
|
44923
44999
|
selectedGroup: I,
|
|
44924
45000
|
searchQuery: A,
|
|
44925
45001
|
context: c
|
|
@@ -44934,7 +45010,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44934
45010
|
}, M = Be(
|
|
44935
45011
|
(w, B) => {
|
|
44936
45012
|
var te, le;
|
|
44937
|
-
const E = w, z = w,
|
|
45013
|
+
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
45014
|
z.chainID
|
|
44939
45015
|
)) : !1;
|
|
44940
45016
|
return /* @__PURE__ */ m(
|
|
@@ -44950,7 +45026,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44950
45026
|
);
|
|
44951
45027
|
},
|
|
44952
45028
|
[c, l, q]
|
|
44953
|
-
), v = O(() => t || x ? p :
|
|
45029
|
+
), v = O(() => t || x ? p : H, [H, p, x, t]);
|
|
44954
45030
|
return /* @__PURE__ */ j(wt, { children: [
|
|
44955
45031
|
/* @__PURE__ */ m(
|
|
44956
45032
|
ox,
|
|
@@ -44969,7 +45045,7 @@ const E1 = new Intl.NumberFormat("en-US", {
|
|
|
44969
45045
|
}
|
|
44970
45046
|
}
|
|
44971
45047
|
),
|
|
44972
|
-
D || !
|
|
45048
|
+
D || !H && !p ? /* @__PURE__ */ m(mx, { height: f, children: Array.from({ length: 8 }, (w, B) => /* @__PURE__ */ m(as, {}, B)) }) : /* @__PURE__ */ m(
|
|
44973
45049
|
la,
|
|
44974
45050
|
{
|
|
44975
45051
|
listItems: v ?? [],
|
|
@@ -45058,16 +45134,16 @@ const ux = bo((e) => {
|
|
|
45058
45134
|
var E;
|
|
45059
45135
|
return /* @__PURE__ */ m(Uc, { color: (E = a == null ? void 0 : a.primary) == null ? void 0 : E.text.normal });
|
|
45060
45136
|
}
|
|
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,
|
|
45137
|
+
}, 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
45138
|
A(E.target.value);
|
|
45063
45139
|
}, []), u = O(() => {
|
|
45064
45140
|
if (!s || b.length === 0) return;
|
|
45065
|
-
const { chainType: E, bech32Prefix: z, chainID:
|
|
45141
|
+
const { chainType: E, bech32Prefix: z, chainID: T } = s;
|
|
45066
45142
|
return hx({
|
|
45067
45143
|
address: b,
|
|
45068
45144
|
bech32Prefix: z,
|
|
45069
45145
|
chainType: E,
|
|
45070
|
-
chainId:
|
|
45146
|
+
chainId: T
|
|
45071
45147
|
});
|
|
45072
45148
|
}, [s, b]), C = O(() => {
|
|
45073
45149
|
if (!s) return "Enter address...";
|
|
@@ -45110,7 +45186,7 @@ const ux = bo((e) => {
|
|
|
45110
45186
|
praxWallet: {
|
|
45111
45187
|
sourceChainID: o ? (G = x[o - 1]) == null ? void 0 : G.chainID : void 0
|
|
45112
45188
|
}
|
|
45113
|
-
})),
|
|
45189
|
+
})), T = z == null ? void 0 : z.address, U = z == null ? void 0 : z.logo;
|
|
45114
45190
|
y((te) => {
|
|
45115
45191
|
var le;
|
|
45116
45192
|
return JSON.stringify(c) !== JSON.stringify(Object.values(te).map(($) => $.chainID)) ? te : {
|
|
@@ -45118,7 +45194,7 @@ const ux = bo((e) => {
|
|
|
45118
45194
|
[o]: {
|
|
45119
45195
|
chainID: i,
|
|
45120
45196
|
chainType: s == null ? void 0 : s.chainType,
|
|
45121
|
-
address:
|
|
45197
|
+
address: T,
|
|
45122
45198
|
source: "wallet",
|
|
45123
45199
|
wallet: {
|
|
45124
45200
|
walletName: E.walletName,
|
|
@@ -45180,7 +45256,7 @@ const ux = bo((e) => {
|
|
|
45180
45256
|
km,
|
|
45181
45257
|
{
|
|
45182
45258
|
title: v,
|
|
45183
|
-
walletList: F ? [q] :
|
|
45259
|
+
walletList: F ? [q] : H,
|
|
45184
45260
|
onClickBackButton: () => {
|
|
45185
45261
|
V("set address modal: back button - clicked"), ie.remove(pe.SetAddressModal);
|
|
45186
45262
|
},
|
|
@@ -45770,7 +45846,7 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
45770
45846
|
" with ",
|
|
45771
45847
|
f.name,
|
|
45772
45848
|
f.isSvg ? /* @__PURE__ */ m(Nx, { svg: f.image }) : /* @__PURE__ */ m(
|
|
45773
|
-
|
|
45849
|
+
Hx,
|
|
45774
45850
|
{
|
|
45775
45851
|
width: "10",
|
|
45776
45852
|
height: "10",
|
|
@@ -45784,12 +45860,12 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
45784
45860
|
},
|
|
45785
45861
|
[d]
|
|
45786
45862
|
), A = O(() => e.map((x, y) => {
|
|
45787
|
-
var I,
|
|
45863
|
+
var I, H;
|
|
45788
45864
|
const f = e[y + 1], k = {
|
|
45789
45865
|
tokenAmount: x.amountOut,
|
|
45790
45866
|
denom: x.denomOut,
|
|
45791
45867
|
chainId: x.toChainID ?? x.chainID
|
|
45792
|
-
}, q = x.isSwap ? (I = h == null ? void 0 : h[x.transferIndex]) == null ? void 0 : I.fromExplorerLink : (
|
|
45868
|
+
}, 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
45869
|
return /* @__PURE__ */ j(mn.Fragment, { children: [
|
|
45794
45870
|
b(x),
|
|
45795
45871
|
/* @__PURE__ */ m(
|
|
@@ -45814,7 +45890,7 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
45814
45890
|
h,
|
|
45815
45891
|
n
|
|
45816
45892
|
]);
|
|
45817
|
-
return /* @__PURE__ */ m(
|
|
45893
|
+
return /* @__PURE__ */ m(Tx, { children: /* @__PURE__ */ j(ue, { children: [
|
|
45818
45894
|
/* @__PURE__ */ m(
|
|
45819
45895
|
Qr,
|
|
45820
45896
|
{
|
|
@@ -45837,13 +45913,13 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
45837
45913
|
&:hover {
|
|
45838
45914
|
color: ${({ theme: e }) => e.primary.text.normal};
|
|
45839
45915
|
}
|
|
45840
|
-
`,
|
|
45916
|
+
`, Tx = N(ue)`
|
|
45841
45917
|
padding: 25px;
|
|
45842
45918
|
gap: 20px;
|
|
45843
45919
|
background: ${({ theme: e }) => e.primary.background.normal};
|
|
45844
45920
|
border-radius: 25px;
|
|
45845
45921
|
min-height: 225px;
|
|
45846
|
-
`,
|
|
45922
|
+
`, Hx = N.img`
|
|
45847
45923
|
margin-left: 5px;
|
|
45848
45924
|
object-fit: contain;
|
|
45849
45925
|
width: 10px;
|
|
@@ -45869,10 +45945,10 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
45869
45945
|
var k, q, F;
|
|
45870
45946
|
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
45947
|
he(l2);
|
|
45872
|
-
const x = L(pt), y = O(() => i != null && i.operations ?
|
|
45948
|
+
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
45949
|
async (I) => {
|
|
45874
45950
|
s(!0);
|
|
45875
|
-
const
|
|
45951
|
+
const H = {
|
|
45876
45952
|
[R.Cosmos]: b,
|
|
45877
45953
|
[R.EVM]: A,
|
|
45878
45954
|
[R.SVM]: g
|
|
@@ -45892,7 +45968,7 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
45892
45968
|
};
|
|
45893
45969
|
if (e[u].source !== Vo.Input)
|
|
45894
45970
|
try {
|
|
45895
|
-
const S = C.chainType, w =
|
|
45971
|
+
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
45972
|
if (!G)
|
|
45897
45973
|
throw new Error(
|
|
45898
45974
|
`Address not found in connected wallets.
|
|
@@ -45905,7 +45981,7 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
45905
45981
|
n((Y) => {
|
|
45906
45982
|
const te = () => {
|
|
45907
45983
|
var le;
|
|
45908
|
-
return (E == null ? void 0 : E.walletChainType) === "evm" && (E == null ? void 0 : E.walletName) === "app.keplr" ? Zo(me.KEPLR).imgSrc : (
|
|
45984
|
+
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
45985
|
};
|
|
45910
45986
|
return {
|
|
45911
45987
|
...Y,
|
|
@@ -45947,12 +46023,12 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
45947
46023
|
]
|
|
45948
46024
|
);
|
|
45949
46025
|
return re(() => {
|
|
45950
|
-
var
|
|
46026
|
+
var H, p, u, C, M, v;
|
|
45951
46027
|
if (o !== "unconfirmed") {
|
|
45952
46028
|
s(!1);
|
|
45953
46029
|
return;
|
|
45954
46030
|
}
|
|
45955
|
-
(((
|
|
46031
|
+
(((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
46032
|
}, [
|
|
45957
46033
|
f,
|
|
45958
46034
|
(k = d == null ? void 0 : d.cosmos) == null ? void 0 : k.id,
|
|
@@ -45966,7 +46042,7 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
45966
46042
|
l && (f(), h(!1));
|
|
45967
46043
|
}, [f, l]), { connectRequiredChains: f, isLoading: r };
|
|
45968
46044
|
}, Ox = (e) => {
|
|
45969
|
-
const { route: n, transactionDetailsArray: i } = L(Ue), o = X(Ne), t = X(
|
|
46045
|
+
const { route: n, transactionDetailsArray: i } = L(Ue), o = X(Ne), t = X(Tn), [c, a] = se();
|
|
45970
46046
|
re(() => {
|
|
45971
46047
|
if (!(!(n != null && n.estimatedRouteDurationSeconds) || !(n != null && n.txsRequired))) {
|
|
45972
46048
|
if (e === ke.pending && c === void 0 && n.txsRequired === i.length) {
|
|
@@ -46001,7 +46077,7 @@ const Vm = Z(void 0), Lm = () => {
|
|
|
46001
46077
|
statusData: e,
|
|
46002
46078
|
historyIndex: n
|
|
46003
46079
|
}) => {
|
|
46004
|
-
const i = e == null ? void 0 : e.transferEvents, o = X(
|
|
46080
|
+
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
46081
|
if ((e == null ? void 0 : e.lastTxStatus) === "pending")
|
|
46006
46082
|
return h && o("pending"), "pending";
|
|
46007
46083
|
if ((i == null ? void 0 : i.length) === 0 && !(e != null && e.isSettled)) {
|
|
@@ -46319,7 +46395,7 @@ const Jx = () => {
|
|
|
46319
46395
|
Om({
|
|
46320
46396
|
statusData: A
|
|
46321
46397
|
});
|
|
46322
|
-
const g = O(() => n != null && n.operations ?
|
|
46398
|
+
const g = O(() => n != null && n.operations ? Hi(n.operations) : [], [n == null ? void 0 : n.operations]), x = g[g.length - 1], y = Wx({
|
|
46323
46399
|
chainAddresses: a,
|
|
46324
46400
|
route: n,
|
|
46325
46401
|
overallStatus: i,
|
|
@@ -46332,11 +46408,11 @@ const Jx = () => {
|
|
|
46332
46408
|
if (y === 6 || y === 3 || y === 5)
|
|
46333
46409
|
return "completed";
|
|
46334
46410
|
}, [y]), k = O(() => {
|
|
46335
|
-
var
|
|
46411
|
+
var H;
|
|
46336
46412
|
const I = A == null ? void 0 : A.transferEvents;
|
|
46337
46413
|
if (y === 6)
|
|
46338
46414
|
return "completed";
|
|
46339
|
-
if ((
|
|
46415
|
+
if ((H = I == null ? void 0 : I[0]) != null && H.status)
|
|
46340
46416
|
return I[0].status;
|
|
46341
46417
|
if (y === 3 || y === 5)
|
|
46342
46418
|
return "pending";
|
|
@@ -46538,7 +46614,7 @@ const Um = () => {
|
|
|
46538
46614
|
}), l = s.isPending && s.isFetching, h = c && a;
|
|
46539
46615
|
return {
|
|
46540
46616
|
data: O(() => {
|
|
46541
|
-
var x, y, f, k, q, F, I,
|
|
46617
|
+
var x, y, f, k, q, F, I, H;
|
|
46542
46618
|
if (!e || !i || !o) return;
|
|
46543
46619
|
const { chainID: D, denom: b } = e;
|
|
46544
46620
|
if (!b || !D) return;
|
|
@@ -46551,7 +46627,7 @@ const Um = () => {
|
|
|
46551
46627
|
formattedAmount: "0",
|
|
46552
46628
|
error: void 0,
|
|
46553
46629
|
decimals: void 0
|
|
46554
|
-
} : (
|
|
46630
|
+
} : (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
46631
|
}, [e, i, o, s.data, s.error]),
|
|
46556
46632
|
isLoading: !t || h || l,
|
|
46557
46633
|
refetch: () => {
|
|
@@ -46610,23 +46686,23 @@ const Um = () => {
|
|
|
46610
46686
|
switch (e == null ? void 0 : e.chainID) {
|
|
46611
46687
|
case "1":
|
|
46612
46688
|
return Number(
|
|
46613
|
-
|
|
46689
|
+
Hn(0.015, (r = n.asset) == null ? void 0 : r.decimals)
|
|
46614
46690
|
);
|
|
46615
46691
|
case "137":
|
|
46616
46692
|
return Number(
|
|
46617
|
-
|
|
46693
|
+
Hn(1.2, (s = n.asset) == null ? void 0 : s.decimals)
|
|
46618
46694
|
);
|
|
46619
46695
|
case "43114":
|
|
46620
46696
|
return Number(
|
|
46621
|
-
|
|
46697
|
+
Hn(0.02, (l = n.asset) == null ? void 0 : l.decimals)
|
|
46622
46698
|
);
|
|
46623
46699
|
case "42220":
|
|
46624
46700
|
return Number(
|
|
46625
|
-
|
|
46701
|
+
Hn(0.01, (h = n.asset) == null ? void 0 : h.decimals)
|
|
46626
46702
|
);
|
|
46627
46703
|
default:
|
|
46628
46704
|
return Number(
|
|
46629
|
-
|
|
46705
|
+
Hn(8e-4, (d = n.asset) == null ? void 0 : d.decimals)
|
|
46630
46706
|
);
|
|
46631
46707
|
}
|
|
46632
46708
|
return 0;
|
|
@@ -46812,9 +46888,9 @@ const Um = () => {
|
|
|
46812
46888
|
var Me;
|
|
46813
46889
|
const { SettingsFooter: e, drawerOpen: n } = Lm();
|
|
46814
46890
|
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(),
|
|
46891
|
+
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
46892
|
lg(), mg(), pg();
|
|
46817
|
-
const S = Wm(), B = di()(i == null ? void 0 : i.chainID), E = L(Bn), z = p2(k),
|
|
46893
|
+
const S = Wm(), B = di()(i == null ? void 0 : i.chainID), E = L(Bn), z = p2(k), T = Be(
|
|
46818
46894
|
(ee, Pe) => {
|
|
46819
46895
|
if (!(!ee || !Pe) && h)
|
|
46820
46896
|
return h.find(
|
|
@@ -46841,10 +46917,10 @@ const Um = () => {
|
|
|
46841
46917
|
...ee
|
|
46842
46918
|
})), S(ee == null ? void 0 : ee.chainID), ie.hide(pe.AssetAndChainSelectorModal);
|
|
46843
46919
|
},
|
|
46844
|
-
selectedAsset:
|
|
46920
|
+
selectedAsset: T(i == null ? void 0 : i.denom, i == null ? void 0 : i.chainID),
|
|
46845
46921
|
selectChain: !0
|
|
46846
46922
|
});
|
|
46847
|
-
}, [
|
|
46923
|
+
}, [T, o, i == null ? void 0 : i.chainID, i == null ? void 0 : i.denom, S]), Y = Be(() => {
|
|
46848
46924
|
V("swap page: destination asset button - clicked"), ie.show(pe.AssetAndChainSelectorModal, {
|
|
46849
46925
|
context: "destination",
|
|
46850
46926
|
onSelect: (ee) => {
|
|
@@ -46863,10 +46939,10 @@ const Um = () => {
|
|
|
46863
46939
|
...ee
|
|
46864
46940
|
})), ie.hide(pe.AssetAndChainSelectorModal);
|
|
46865
46941
|
},
|
|
46866
|
-
selectedAsset:
|
|
46942
|
+
selectedAsset: T(r == null ? void 0 : r.denom, r == null ? void 0 : r.chainID),
|
|
46867
46943
|
selectChain: !0
|
|
46868
46944
|
});
|
|
46869
|
-
}, [r == null ? void 0 : r.chainID, r == null ? void 0 : r.denom,
|
|
46945
|
+
}, [r == null ? void 0 : r.chainID, r == null ? void 0 : r.denom, T, s]), le = O(() => {
|
|
46870
46946
|
if (!(!(k != null && k.usdAmountIn) || !(k != null && k.usdAmountOut) || a))
|
|
46871
46947
|
return om(k.usdAmountIn, k.usdAmountOut);
|
|
46872
46948
|
}, [a, k == null ? void 0 : k.usdAmountIn, k == null ? void 0 : k.usdAmountOut]), $ = O(() => {
|
|
@@ -46907,7 +46983,7 @@ const Um = () => {
|
|
|
46907
46983
|
return /* @__PURE__ */ m(be, { label: Ce, disabled: !0, icon: J.swap, fontSize: ee(Ce) });
|
|
46908
46984
|
}
|
|
46909
46985
|
const Oe = () => {
|
|
46910
|
-
var Ee,
|
|
46986
|
+
var Ee, Te;
|
|
46911
46987
|
if (V("swap page: continue button - clicked", {
|
|
46912
46988
|
route: k,
|
|
46913
46989
|
type: z ? "swap" : "send",
|
|
@@ -46935,7 +47011,7 @@ const Um = () => {
|
|
|
46935
47011
|
});
|
|
46936
47012
|
return;
|
|
46937
47013
|
}
|
|
46938
|
-
if (((
|
|
47014
|
+
if (((Te = k == null ? void 0 : k.warning) == null ? void 0 : Te.type) === "LOW_INFO_WARNING") {
|
|
46939
47015
|
V("error page: low info warning", { route: k }), g({
|
|
46940
47016
|
errorType: we.LowInfoWarning,
|
|
46941
47017
|
onClickContinue: () => {
|
|
@@ -46948,7 +47024,7 @@ const Um = () => {
|
|
|
46948
47024
|
});
|
|
46949
47025
|
return;
|
|
46950
47026
|
}
|
|
46951
|
-
if (
|
|
47027
|
+
if (H && p) {
|
|
46952
47028
|
V("error page: go fast warning", { route: k }), g({
|
|
46953
47029
|
errorType: we.GoFastWarning,
|
|
46954
47030
|
onClickContinue: () => {
|
|
@@ -46989,7 +47065,7 @@ const Um = () => {
|
|
|
46989
47065
|
u,
|
|
46990
47066
|
C,
|
|
46991
47067
|
I,
|
|
46992
|
-
|
|
47068
|
+
H,
|
|
46993
47069
|
p,
|
|
46994
47070
|
M,
|
|
46995
47071
|
P,
|
|
@@ -47427,7 +47503,7 @@ var Pg = {
|
|
|
47427
47503
|
evening: "in the evening",
|
|
47428
47504
|
night: "at night"
|
|
47429
47505
|
}
|
|
47430
|
-
},
|
|
47506
|
+
}, Tg = function(n, i) {
|
|
47431
47507
|
var o = Number(n), t = o % 100;
|
|
47432
47508
|
if (t > 20 || t < 10)
|
|
47433
47509
|
switch (t % 10) {
|
|
@@ -47439,8 +47515,8 @@ var Pg = {
|
|
|
47439
47515
|
return o + "rd";
|
|
47440
47516
|
}
|
|
47441
47517
|
return o + "th";
|
|
47442
|
-
},
|
|
47443
|
-
ordinalNumber:
|
|
47518
|
+
}, Hg = {
|
|
47519
|
+
ordinalNumber: Tg,
|
|
47444
47520
|
era: Ki({
|
|
47445
47521
|
values: Pg,
|
|
47446
47522
|
defaultWidth: "wide"
|
|
@@ -47597,7 +47673,7 @@ var Rg = /^(\d+)(th|st|nd|rd)?/i, Og = /\d+/i, Wg = {
|
|
|
47597
47673
|
formatDistance: wg,
|
|
47598
47674
|
formatLong: Fg,
|
|
47599
47675
|
formatRelative: Mg,
|
|
47600
|
-
localize:
|
|
47676
|
+
localize: Hg,
|
|
47601
47677
|
match: $g,
|
|
47602
47678
|
options: {
|
|
47603
47679
|
weekStartsOn: 0,
|
|
@@ -47649,8 +47725,8 @@ function i3(e, n, i) {
|
|
|
47649
47725
|
var I = b(g / 60);
|
|
47650
47726
|
return r.formatDistance("xHours", I, l);
|
|
47651
47727
|
} else if (k === "day") {
|
|
47652
|
-
var
|
|
47653
|
-
return r.formatDistance("xDays",
|
|
47728
|
+
var H = b(y / Jo);
|
|
47729
|
+
return r.formatDistance("xDays", H, l);
|
|
47654
47730
|
} else if (k === "month") {
|
|
47655
47731
|
var p = b(y / ds);
|
|
47656
47732
|
return p === 12 && f !== "month" ? r.formatDistance("xYears", 1, l) : r.formatDistance("xMonths", p, l);
|
|
@@ -47734,7 +47810,7 @@ const o3 = (e) => {
|
|
|
47734
47810
|
txHash: k,
|
|
47735
47811
|
chainID: q,
|
|
47736
47812
|
chainType: F
|
|
47737
|
-
}),
|
|
47813
|
+
}), H = O(() => s.length === 0 && I ? [I] : s, [I, s]), p = Ze({
|
|
47738
47814
|
assetDenom: b,
|
|
47739
47815
|
chainId: A,
|
|
47740
47816
|
tokenAmount: d
|
|
@@ -47800,7 +47876,7 @@ const o3 = (e) => {
|
|
|
47800
47876
|
destinationChainName: u.chainName ?? "--",
|
|
47801
47877
|
absoluteTimeString: P,
|
|
47802
47878
|
onClickDelete: () => h(e),
|
|
47803
|
-
explorerLinks:
|
|
47879
|
+
explorerLinks: H,
|
|
47804
47880
|
transferAssetRelease: l
|
|
47805
47881
|
}
|
|
47806
47882
|
)
|
|
@@ -47996,7 +48072,7 @@ const o3 = (e) => {
|
|
|
47996
48072
|
}
|
|
47997
48073
|
}, d3 = ({ children: e }) => {
|
|
47998
48074
|
var o, t;
|
|
47999
|
-
const n = L(
|
|
48075
|
+
const n = L(Ti), i = L(ul);
|
|
48000
48076
|
return /* @__PURE__ */ m(
|
|
48001
48077
|
cp,
|
|
48002
48078
|
{
|
|
@@ -48064,7 +48140,7 @@ const b3 = () => {
|
|
|
48064
48140
|
replaysSessionSampleRate: 1,
|
|
48065
48141
|
replaysOnErrorSampleRate: 0
|
|
48066
48142
|
}), gs = !0);
|
|
48067
|
-
}, f3 = "@skip-go/widget", A3 = "Swap widget", ka = "3.8.
|
|
48143
|
+
}, f3 = "@skip-go/widget", A3 = "Swap widget", ka = "3.8.5", C3 = {
|
|
48068
48144
|
url: "https://github.com/skip-mev/skip-go",
|
|
48069
48145
|
directory: "packages/widget"
|
|
48070
48146
|
}, k3 = "module", w3 = {
|
|
@@ -48094,7 +48170,7 @@ const b3 = () => {
|
|
|
48094
48170
|
], F3 = {
|
|
48095
48171
|
"@chromatic-com/storybook": "^1.6.1",
|
|
48096
48172
|
"@eslint/js": "^9.9.0",
|
|
48097
|
-
"@initia/initia-registry": "^0.2
|
|
48173
|
+
"@initia/initia-registry": "^1.0.2",
|
|
48098
48174
|
"@keplr-wallet/types": "^0.12.125",
|
|
48099
48175
|
"@playwright/test": "^1.51.1",
|
|
48100
48176
|
"@storybook/addon-essentials": "^8.2.6",
|
|
@@ -48223,7 +48299,7 @@ const q3 = () => {
|
|
|
48223
48299
|
}, j3 = (e) => {
|
|
48224
48300
|
var f;
|
|
48225
48301
|
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(
|
|
48302
|
+
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
48303
|
jm
|
|
48228
48304
|
), x = O(() => {
|
|
48229
48305
|
const { apiUrl: k, chainIdsToAffiliates: q, endpointOptions: F } = e, I = {
|
|
@@ -48310,9 +48386,9 @@ const q3 = () => {
|
|
|
48310
48386
|
...e.getSVMSigner && { getSVMSigner: e.getSVMSigner }
|
|
48311
48387
|
}));
|
|
48312
48388
|
}, [e.getCosmosSigner, e.getEVMSigner, e.getSVMSigner, n]);
|
|
48313
|
-
},
|
|
48389
|
+
}, T3 = new Tp(), Xm = Qm(), k6 = (e) => /* @__PURE__ */ m(_m, { store: Xm, children: /* @__PURE__ */ m(H3, { props: e }) }), H3 = ({ props: e }) => {
|
|
48314
48390
|
const { theme: n } = j3(e);
|
|
48315
|
-
return X($c)(e.rootId), /* @__PURE__ */ m(el, { theme: n, children: /* @__PURE__ */ m(x3, { children: /* @__PURE__ */ m(
|
|
48391
|
+
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
48392
|
}, N3 = ({ children: e }) => {
|
|
48317
48393
|
const n = X(Vm), i = L($c);
|
|
48318
48394
|
return re(() => {
|