@skip-go/widget 3.1.8 → 3.1.9
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as m, jsxs as q, Fragment as Ce } from "react/jsx-runtime";
|
|
2
|
-
import ln, { useState as pe, useMemo as W, useEffect as xe, useContext as Rc, useRef as Oc, useDebugValue as Ma, createElement as tp, useCallback as
|
|
2
|
+
import ln, { useState as pe, useMemo as W, useEffect as xe, useContext as Rc, useRef as Oc, useDebugValue as Ma, createElement as tp, useCallback as ze, Fragment as cp, useLayoutEffect as ap, cloneElement as rp } from "react";
|
|
3
3
|
import { useCSS as sp, Scope as lp } from "react-shadow-scope";
|
|
4
4
|
import oe, { useModal as Wc } from "@ebay/nice-modal-react";
|
|
5
5
|
import * as Ji from "@radix-ui/react-dialog";
|
|
@@ -13,8 +13,8 @@ import { createConfig as yp, createStorage as vp, useAccount as Dt, useConnector
|
|
|
13
13
|
import { BackpackWalletAdapter as Fp } from "@solana/wallet-adapter-backpack";
|
|
14
14
|
import { CoinbaseWalletAdapter as Mp } from "@solana/wallet-adapter-coinbase";
|
|
15
15
|
import { LedgerWalletAdapter as Bp } from "@solana/wallet-adapter-ledger";
|
|
16
|
-
import { PhantomWalletAdapter as
|
|
17
|
-
import { SolflareWalletAdapter as
|
|
16
|
+
import { PhantomWalletAdapter as zp } from "@solana/wallet-adapter-phantom";
|
|
17
|
+
import { SolflareWalletAdapter as Sp } from "@solana/wallet-adapter-solflare";
|
|
18
18
|
import { TrustWalletAdapter as qp } from "@solana/wallet-adapter-trust";
|
|
19
19
|
import { WalletConnectWalletAdapter as jp } from "@walletconnect/solana-adapter";
|
|
20
20
|
import fo from "pluralize";
|
|
@@ -24,7 +24,7 @@ import { atomEffect as ys } from "jotai-effect";
|
|
|
24
24
|
import { createPenumbraClient as Kp } from "@penumbra-zone/client";
|
|
25
25
|
import { ViewService as Xp } from "@penumbra-zone/protobuf";
|
|
26
26
|
import Zp from "rc-virtual-list";
|
|
27
|
-
import { PublicKey as
|
|
27
|
+
import { PublicKey as za } from "@solana/web3.js";
|
|
28
28
|
import { matchSorter as vs } from "match-sorter";
|
|
29
29
|
import { CosmWasmClient as Yp } from "@cosmjs/cosmwasm-stargate";
|
|
30
30
|
import { Decimal as Jp } from "@cosmjs/math";
|
|
@@ -214,7 +214,7 @@ var ah = function(n, o, i, t) {
|
|
|
214
214
|
return !0;
|
|
215
215
|
};
|
|
216
216
|
const rh = /* @__PURE__ */ ch(ah);
|
|
217
|
-
var fe = "-ms-", ci = "-moz-", se = "-webkit-",
|
|
217
|
+
var fe = "-ms-", ci = "-moz-", se = "-webkit-", zs = "comm", xt = "rule", Gc = "decl", sh = "@import", Ss = "@keyframes", lh = "@layer", qs = Math.abs, Kc = String.fromCharCode, rc = Object.assign;
|
|
218
218
|
function mh(e, n) {
|
|
219
219
|
return qe(e, 0) ^ 45 ? (((n << 2 ^ qe(e, 0)) << 2 ^ qe(e, 1)) << 2 ^ qe(e, 2)) << 2 ^ qe(e, 3) : 0;
|
|
220
220
|
}
|
|
@@ -248,7 +248,7 @@ function ii(e, n) {
|
|
|
248
248
|
function ph(e, n) {
|
|
249
249
|
return e.map(n).join("");
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function Sa(e, n) {
|
|
252
252
|
return e.filter(function(o) {
|
|
253
253
|
return !wn(o, n);
|
|
254
254
|
});
|
|
@@ -367,7 +367,7 @@ function Ah(e) {
|
|
|
367
367
|
return Dh(Gi("", null, null, null, [""], e = dh(e), 0, [0], e));
|
|
368
368
|
}
|
|
369
369
|
function Gi(e, n, o, i, t, c, a, r, s) {
|
|
370
|
-
for (var l = 0, p = 0, u = a, d = 0, x = 0, b = 0, w = 1, E = 1, I = 1, C = 0, M = "", H = t, T = c,
|
|
370
|
+
for (var l = 0, p = 0, u = a, d = 0, x = 0, b = 0, w = 1, E = 1, I = 1, C = 0, M = "", H = t, T = c, S = i, y = M; E; )
|
|
371
371
|
switch (b = C, C = sn()) {
|
|
372
372
|
case 40:
|
|
373
373
|
if (b != 108 && qe(y, u - 1) == 58) {
|
|
@@ -413,19 +413,19 @@ function Gi(e, n, o, i, t, c, a, r, s) {
|
|
|
413
413
|
case 59:
|
|
414
414
|
y += ";";
|
|
415
415
|
default:
|
|
416
|
-
if (ii(
|
|
416
|
+
if (ii(S = qa(y, n, o, l, p, t, r, M, H = [], T = [], u, c), c), C === 123)
|
|
417
417
|
if (p === 0)
|
|
418
|
-
Gi(y, n,
|
|
418
|
+
Gi(y, n, S, S, H, c, u, r, T);
|
|
419
419
|
else
|
|
420
420
|
switch (d === 99 && qe(y, 3) === 110 ? 100 : d) {
|
|
421
421
|
case 100:
|
|
422
422
|
case 108:
|
|
423
423
|
case 109:
|
|
424
424
|
case 115:
|
|
425
|
-
Gi(e,
|
|
425
|
+
Gi(e, S, S, i && ii(qa(e, S, S, 0, 0, t, r, M, t, H = [], u, T), T), t, T, u, r, i ? H : T);
|
|
426
426
|
break;
|
|
427
427
|
default:
|
|
428
|
-
Gi(y,
|
|
428
|
+
Gi(y, S, S, S, [""], T, 0, r, T);
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
431
|
l = p = x = 0, w = I = 1, M = y = "", u = a;
|
|
@@ -462,7 +462,7 @@ function qa(e, n, o, i, t, c, a, r, s, l, p, u) {
|
|
|
462
462
|
return ft(e, n, o, t === 0 ? xt : r, s, l, p, u);
|
|
463
463
|
}
|
|
464
464
|
function Ch(e, n, o, i) {
|
|
465
|
-
return ft(e, n, o,
|
|
465
|
+
return ft(e, n, o, zs, Kc(hh()), wo(e, 2, -2), 0, i);
|
|
466
466
|
}
|
|
467
467
|
function ja(e, n, o, i, t) {
|
|
468
468
|
return ft(e, n, o, Gc, wo(e, 0, i), wo(e, i + 1, -1), i, t);
|
|
@@ -623,9 +623,9 @@ function kh(e, n, o, i) {
|
|
|
623
623
|
case sh:
|
|
624
624
|
case Gc:
|
|
625
625
|
return e.return = e.return || e.value;
|
|
626
|
-
case Ss:
|
|
627
|
-
return "";
|
|
628
626
|
case zs:
|
|
627
|
+
return "";
|
|
628
|
+
case Ss:
|
|
629
629
|
return e.return = e.value + "{" + Qi(e.children, i) + "}";
|
|
630
630
|
case xt:
|
|
631
631
|
if (!xn(e.value = e.props.join(","))) return "";
|
|
@@ -651,7 +651,7 @@ function vh(e, n, o, i) {
|
|
|
651
651
|
case Gc:
|
|
652
652
|
e.return = Ts(e.value, e.length, o);
|
|
653
653
|
return;
|
|
654
|
-
case
|
|
654
|
+
case Ss:
|
|
655
655
|
return Qi([In(e, { value: ne(e.value, "@", "@" + se) })], i);
|
|
656
656
|
case xt:
|
|
657
657
|
if (e.length)
|
|
@@ -659,10 +659,10 @@ function vh(e, n, o, i) {
|
|
|
659
659
|
switch (wn(t, i = /(::plac\w+|:read-\w+)/)) {
|
|
660
660
|
case ":read-only":
|
|
661
661
|
case ":read-write":
|
|
662
|
-
mo(In(e, { props: [ne(t, /:(read-\w+)/, ":" + ci + "$1")] })), mo(In(e, { props: [t] })), rc(e, { props:
|
|
662
|
+
mo(In(e, { props: [ne(t, /:(read-\w+)/, ":" + ci + "$1")] })), mo(In(e, { props: [t] })), rc(e, { props: Sa(o, i) });
|
|
663
663
|
break;
|
|
664
664
|
case "::placeholder":
|
|
665
|
-
mo(In(e, { props: [ne(t, /:(plac\w+)/, ":" + se + "input-$1")] })), mo(In(e, { props: [ne(t, /:(plac\w+)/, ":" + ci + "$1")] })), mo(In(e, { props: [ne(t, /:(plac\w+)/, fe + "input-$1")] })), mo(In(e, { props: [t] })), rc(e, { props:
|
|
665
|
+
mo(In(e, { props: [ne(t, /:(plac\w+)/, ":" + se + "input-$1")] })), mo(In(e, { props: [ne(t, /:(plac\w+)/, ":" + ci + "$1")] })), mo(In(e, { props: [ne(t, /:(plac\w+)/, fe + "input-$1")] })), mo(In(e, { props: [t] })), rc(e, { props: Sa(o, i) });
|
|
666
666
|
break;
|
|
667
667
|
}
|
|
668
668
|
return "";
|
|
@@ -739,17 +739,17 @@ To resolve this only create new StyledComponents outside of any render method an
|
|
|
739
739
|
function Mh(e, n, o) {
|
|
740
740
|
return o === void 0 && (o = vo), e.theme !== o.theme && e.theme || n || o.theme;
|
|
741
741
|
}
|
|
742
|
-
var mc = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]), Bh = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,
|
|
742
|
+
var mc = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]), Bh = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, zh = /(^-|-$)/g;
|
|
743
743
|
function Ha(e) {
|
|
744
|
-
return e.replace(Bh, "-").replace(
|
|
744
|
+
return e.replace(Bh, "-").replace(zh, "");
|
|
745
745
|
}
|
|
746
|
-
var
|
|
746
|
+
var Sh = /(a)(d)/gi, zi = 52, Ta = function(e) {
|
|
747
747
|
return String.fromCharCode(e + (e > 25 ? 39 : 97));
|
|
748
748
|
};
|
|
749
749
|
function pc(e) {
|
|
750
750
|
var n, o = "";
|
|
751
|
-
for (n = Math.abs(e); n >
|
|
752
|
-
return (Ta(n %
|
|
751
|
+
for (n = Math.abs(e); n > zi; n = n / zi | 0) o = Ta(n % zi) + o;
|
|
752
|
+
return (Ta(n % zi) + o).replace(Sh, "$1-$2");
|
|
753
753
|
}
|
|
754
754
|
var Ot, Ls = 5381, Qn = function(e, n) {
|
|
755
755
|
for (var o = n.length; o; ) e = 33 * e ^ n.charCodeAt(--o);
|
|
@@ -898,7 +898,7 @@ var Wh = function() {
|
|
|
898
898
|
for (var i = this.groupSizes[n], t = this.indexOfGroup(n), c = t + i, a = t; a < c; a++) o += "".concat(this.tag.getRule(a)).concat(Xc);
|
|
899
899
|
return o;
|
|
900
900
|
}, e;
|
|
901
|
-
}(), Uh = 1 << 30, Ki = /* @__PURE__ */ new Map(), $i = /* @__PURE__ */ new Map(), Xi = 1,
|
|
901
|
+
}(), Uh = 1 << 30, Ki = /* @__PURE__ */ new Map(), $i = /* @__PURE__ */ new Map(), Xi = 1, Si = function(e) {
|
|
902
902
|
if (Ki.has(e)) return Ki.get(e);
|
|
903
903
|
for (; $i.has(Xi); ) Xi++;
|
|
904
904
|
var n = Xi++;
|
|
@@ -1008,7 +1008,7 @@ var Zs = function(e) {
|
|
|
1008
1008
|
});
|
|
1009
1009
|
}
|
|
1010
1010
|
return e.registerId = function(n) {
|
|
1011
|
-
return
|
|
1011
|
+
return Si(n);
|
|
1012
1012
|
}, e.prototype.rehydrate = function() {
|
|
1013
1013
|
!this.server && _i && Ra(this);
|
|
1014
1014
|
}, e.prototype.reconstructWithOptions = function(n, o) {
|
|
@@ -1024,17 +1024,17 @@ var Zs = function(e) {
|
|
|
1024
1024
|
}, e.prototype.hasNameForId = function(n, o) {
|
|
1025
1025
|
return this.names.has(n) && this.names.get(n).has(o);
|
|
1026
1026
|
}, e.prototype.registerName = function(n, o) {
|
|
1027
|
-
if (
|
|
1027
|
+
if (Si(n), this.names.has(n)) this.names.get(n).add(o);
|
|
1028
1028
|
else {
|
|
1029
1029
|
var i = /* @__PURE__ */ new Set();
|
|
1030
1030
|
i.add(o), this.names.set(n, i);
|
|
1031
1031
|
}
|
|
1032
1032
|
}, e.prototype.insertRules = function(n, o, i) {
|
|
1033
|
-
this.registerName(n, o), this.getTag().insertRules(
|
|
1033
|
+
this.registerName(n, o), this.getTag().insertRules(Si(n), i);
|
|
1034
1034
|
}, e.prototype.clearNames = function(n) {
|
|
1035
1035
|
this.names.has(n) && this.names.get(n).clear();
|
|
1036
1036
|
}, e.prototype.clearRules = function(n) {
|
|
1037
|
-
this.getTag().clearGroup(
|
|
1037
|
+
this.getTag().clearGroup(Si(n)), this.clearNames(n);
|
|
1038
1038
|
}, e.prototype.clearTag = function() {
|
|
1039
1039
|
this.tag = void 0;
|
|
1040
1040
|
}, e;
|
|
@@ -1198,9 +1198,9 @@ function mu(e) {
|
|
|
1198
1198
|
var Ut = {}, Ua = /* @__PURE__ */ new Set();
|
|
1199
1199
|
function pu(e, n, o) {
|
|
1200
1200
|
var i = Zc(e), t = e, c = !Wt(e), a = n.attrs, r = a === void 0 ? Ct : a, s = n.componentId, l = s === void 0 ? function(H, T) {
|
|
1201
|
-
var
|
|
1202
|
-
Ut[
|
|
1203
|
-
var y = "".concat(
|
|
1201
|
+
var S = typeof H != "string" ? "sc" : Ha(H);
|
|
1202
|
+
Ut[S] = (Ut[S] || 0) + 1;
|
|
1203
|
+
var y = "".concat(S, "-").concat(Os(At + S + Ut[S]));
|
|
1204
1204
|
return T ? "".concat(T, "-").concat(y) : y;
|
|
1205
1205
|
}(n.displayName, n.parentComponentId) : s, p = n.displayName, u = p === void 0 ? function(H) {
|
|
1206
1206
|
return Wt(H) ? "styled.".concat(H) : "Styled(".concat(Ws(H), ")");
|
|
@@ -1216,22 +1216,22 @@ function pu(e, n, o) {
|
|
|
1216
1216
|
}
|
|
1217
1217
|
var I = new lu(o, d, i ? t.componentStyle : void 0);
|
|
1218
1218
|
function C(H, T) {
|
|
1219
|
-
return function(
|
|
1220
|
-
var D =
|
|
1219
|
+
return function(S, y, h) {
|
|
1220
|
+
var D = S.attrs, g = S.componentStyle, P = S.defaultProps, f = S.foldedComponentIds, A = S.styledComponentId, B = S.target, k = ln.useContext(si), F = Dc(), v = S.shouldForwardProp || F.shouldForwardProp;
|
|
1221
1221
|
te.env.NODE_ENV !== "production" && Ma(A);
|
|
1222
|
-
var
|
|
1222
|
+
var z = Mh(y, k, P) || vo, j = function(J, ee, le) {
|
|
1223
1223
|
for (var tn, cn = He(He({}, ee), { className: void 0, theme: le }), Zn = 0; Zn < J.length; Zn += 1) {
|
|
1224
1224
|
var Ne = ao(tn = J[Zn]) ? tn(cn) : tn;
|
|
1225
1225
|
for (var Le in Ne) cn[Le] = Le === "className" ? eo(cn[Le], Ne[Le]) : Le === "style" ? He(He({}, cn[Le]), Ne[Le]) : Ne[Le];
|
|
1226
1226
|
}
|
|
1227
1227
|
return ee.className && (cn.className = eo(cn.className, ee.className)), cn;
|
|
1228
|
-
}(D, y,
|
|
1229
|
-
for (var Y in j) j[Y] === void 0 || Y[0] === "$" || Y === "as" || Y === "theme" && j.theme ===
|
|
1228
|
+
}(D, y, z), O = j.as || B, U = {};
|
|
1229
|
+
for (var Y in j) j[Y] === void 0 || Y[0] === "$" || Y === "as" || Y === "theme" && j.theme === z || (Y === "forwardedAs" ? U.as = j.forwardedAs : v && !v(Y, O) || (U[Y] = j[Y], v || te.env.NODE_ENV !== "development" || Bs(Y) || Ua.has(Y) || !mc.has(O) || (Ua.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.)')))));
|
|
1230
1230
|
var G = function(J, ee) {
|
|
1231
1231
|
var le = Dc(), tn = J.generateAndInjectStyles(ee, le.styleSheet, le.stylis);
|
|
1232
1232
|
return te.env.NODE_ENV !== "production" && Ma(tn), tn;
|
|
1233
1233
|
}(g, j);
|
|
1234
|
-
te.env.NODE_ENV !== "production" &&
|
|
1234
|
+
te.env.NODE_ENV !== "production" && S.warnTooManyClasses && S.warnTooManyClasses(G);
|
|
1235
1235
|
var ae = eo(f, A);
|
|
1236
1236
|
return G && (ae += " " + G), j.className && (ae += " " + j.className), U[Wt(O) && !mc.has(O) ? "class" : "className"] = ae, U.ref = h, tp(O, U);
|
|
1237
1237
|
}(M, H, T);
|
|
@@ -1242,14 +1242,14 @@ function pu(e, n, o) {
|
|
|
1242
1242
|
return this._foldedDefaultProps;
|
|
1243
1243
|
}, set: function(H) {
|
|
1244
1244
|
this._foldedDefaultProps = i ? function(T) {
|
|
1245
|
-
for (var
|
|
1246
|
-
for (var h = 0, D =
|
|
1245
|
+
for (var S = [], y = 1; y < arguments.length; y++) S[y - 1] = arguments[y];
|
|
1246
|
+
for (var h = 0, D = S; h < D.length; h++) uc(T, D[h], !0);
|
|
1247
1247
|
return T;
|
|
1248
1248
|
}({}, t.defaultProps, H) : H;
|
|
1249
1249
|
} }), te.env.NODE_ENV !== "production" && (Fh(u, d), M.warnTooManyClasses = /* @__PURE__ */ function(H, T) {
|
|
1250
|
-
var
|
|
1250
|
+
var S = {}, y = !1;
|
|
1251
1251
|
return function(h) {
|
|
1252
|
-
if (!y && (
|
|
1252
|
+
if (!y && (S[h] = !0, Object.keys(S).length >= 200)) {
|
|
1253
1253
|
var D = T ? ' with the id of "'.concat(T, '"') : "";
|
|
1254
1254
|
console.warn("Over ".concat(200, " classes were generated for component ").concat(H).concat(D, `.
|
|
1255
1255
|
`) + `Consider using the attrs method, together with a style object for frequently changed styles.
|
|
@@ -1260,7 +1260,7 @@ Example:
|
|
|
1260
1260
|
},
|
|
1261
1261
|
}))\`width: 100%;\`
|
|
1262
1262
|
|
|
1263
|
-
<Component />`), y = !0,
|
|
1263
|
+
<Component />`), y = !0, S = {};
|
|
1264
1264
|
}
|
|
1265
1265
|
};
|
|
1266
1266
|
}(u, d)), Yc(M, function() {
|
|
@@ -1454,9 +1454,9 @@ const _c = ({
|
|
|
1454
1454
|
theme: n
|
|
1455
1455
|
}) => {
|
|
1456
1456
|
fu();
|
|
1457
|
-
const o = sp(), [, i] = pe(), [t, c] = pe(), a =
|
|
1457
|
+
const o = sp(), [, i] = pe(), [t, c] = pe(), a = ze((l) => {
|
|
1458
1458
|
i(l);
|
|
1459
|
-
}, []), r =
|
|
1459
|
+
}, []), r = ze((l) => {
|
|
1460
1460
|
c(l);
|
|
1461
1461
|
}, []), s = W(() => ({
|
|
1462
1462
|
...et,
|
|
@@ -1607,7 +1607,7 @@ const bc = "https://go.skip.build", Mu = {
|
|
|
1607
1607
|
evm: e(kt),
|
|
1608
1608
|
cosmos: e(wt),
|
|
1609
1609
|
svm: e(yt)
|
|
1610
|
-
})),
|
|
1610
|
+
})), zu = [
|
|
1611
1611
|
"evmos_9001-2",
|
|
1612
1612
|
"dymension_1100-1",
|
|
1613
1613
|
"injective-1",
|
|
@@ -1672,7 +1672,7 @@ let Yo = {
|
|
|
1672
1672
|
function rl(e, n) {
|
|
1673
1673
|
return n != null && n(e) ? e : e && typeof e == "object" && "cause" in e && e.cause !== void 0 ? rl(e.cause, n) : n ? null : e;
|
|
1674
1674
|
}
|
|
1675
|
-
class
|
|
1675
|
+
class Su extends ie {
|
|
1676
1676
|
constructor({ max: n, min: o, signed: i, size: t, value: c }) {
|
|
1677
1677
|
super(`Number "${c}" is not in safe ${t ? `${t * 8}-bit ${i ? "signed" : "unsigned"} ` : ""}integer range ${n ? `(${o} to ${n})` : `(above ${o})`}`, { name: "IntegerOutOfRangeError" });
|
|
1678
1678
|
}
|
|
@@ -1822,7 +1822,7 @@ function Oe(e, n = {}) {
|
|
|
1822
1822
|
const a = typeof c == "bigint" && o ? -c - 1n : 0;
|
|
1823
1823
|
if (c && t > c || t < a) {
|
|
1824
1824
|
const s = typeof e == "bigint" ? "n" : "";
|
|
1825
|
-
throw new
|
|
1825
|
+
throw new Su({
|
|
1826
1826
|
max: c ? `${c}${s}` : void 0,
|
|
1827
1827
|
min: `${a}${s}`,
|
|
1828
1828
|
signed: o,
|
|
@@ -2586,7 +2586,7 @@ function Ft(e, n) {
|
|
|
2586
2586
|
type: e
|
|
2587
2587
|
});
|
|
2588
2588
|
}
|
|
2589
|
-
const
|
|
2589
|
+
const zd = {
|
|
2590
2590
|
legacy: "0x0",
|
|
2591
2591
|
eip2930: "0x1",
|
|
2592
2592
|
eip1559: "0x2",
|
|
@@ -2595,9 +2595,9 @@ const Sd = {
|
|
|
2595
2595
|
};
|
|
2596
2596
|
function El(e) {
|
|
2597
2597
|
const n = {};
|
|
2598
|
-
return typeof e.authorizationList < "u" && (n.authorizationList = qd(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((o) => Bn(o)) : 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 = Oe(e.gas)), typeof e.gasPrice < "u" && (n.gasPrice = Oe(e.gasPrice)), typeof e.maxFeePerBlobGas < "u" && (n.maxFeePerBlobGas = Oe(e.maxFeePerBlobGas)), typeof e.maxFeePerGas < "u" && (n.maxFeePerGas = Oe(e.maxFeePerGas)), typeof e.maxPriorityFeePerGas < "u" && (n.maxPriorityFeePerGas = Oe(e.maxPriorityFeePerGas)), typeof e.nonce < "u" && (n.nonce = Oe(e.nonce)), typeof e.to < "u" && (n.to = e.to), typeof e.type < "u" && (n.type =
|
|
2598
|
+
return typeof e.authorizationList < "u" && (n.authorizationList = qd(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((o) => Bn(o)) : 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 = Oe(e.gas)), typeof e.gasPrice < "u" && (n.gasPrice = Oe(e.gasPrice)), typeof e.maxFeePerBlobGas < "u" && (n.maxFeePerBlobGas = Oe(e.maxFeePerBlobGas)), typeof e.maxFeePerGas < "u" && (n.maxFeePerGas = Oe(e.maxFeePerGas)), typeof e.maxPriorityFeePerGas < "u" && (n.maxPriorityFeePerGas = Oe(e.maxPriorityFeePerGas)), typeof e.nonce < "u" && (n.nonce = Oe(e.nonce)), typeof e.to < "u" && (n.to = e.to), typeof e.type < "u" && (n.type = zd[e.type]), typeof e.value < "u" && (n.value = Oe(e.value)), n;
|
|
2599
2599
|
}
|
|
2600
|
-
const
|
|
2600
|
+
const Sd = /* @__PURE__ */ Ft("transactionRequest", El);
|
|
2601
2601
|
function qd(e) {
|
|
2602
2602
|
return e.map((n) => ({
|
|
2603
2603
|
address: n.contractAddress,
|
|
@@ -2717,7 +2717,7 @@ function Bl(e) {
|
|
|
2717
2717
|
t.push(Uint8Array.from(n.blobToKzgCommitment(c)));
|
|
2718
2718
|
return o === "bytes" ? t : t.map((c) => Bn(c));
|
|
2719
2719
|
}
|
|
2720
|
-
function
|
|
2720
|
+
function zl(e) {
|
|
2721
2721
|
const { kzg: n } = e, o = e.to ?? (typeof e.blobs[0] == "string" ? "hex" : "bytes"), i = typeof e.blobs[0] == "string" ? e.blobs.map((a) => ro(a)) : e.blobs, t = typeof e.commitments[0] == "string" ? e.commitments.map((a) => ro(a)) : e.commitments, c = [];
|
|
2722
2722
|
for (let a = 0; a < i.length; a++) {
|
|
2723
2723
|
const r = i[a], s = t[a];
|
|
@@ -2847,7 +2847,7 @@ const Od = /* @__PURE__ */ new Uint32Array([
|
|
|
2847
2847
|
2756734187,
|
|
2848
2848
|
3204031479,
|
|
2849
2849
|
3329325298
|
|
2850
|
-
]),
|
|
2850
|
+
]), Sn = /* @__PURE__ */ new Uint32Array([
|
|
2851
2851
|
1779033703,
|
|
2852
2852
|
3144134277,
|
|
2853
2853
|
1013904242,
|
|
@@ -2859,7 +2859,7 @@ const Od = /* @__PURE__ */ new Uint32Array([
|
|
|
2859
2859
|
]), qn = /* @__PURE__ */ new Uint32Array(64);
|
|
2860
2860
|
class Wd extends Rd {
|
|
2861
2861
|
constructor() {
|
|
2862
|
-
super(64, 32, 8, !1), this.A =
|
|
2862
|
+
super(64, 32, 8, !1), this.A = Sn[0] | 0, this.B = Sn[1] | 0, this.C = Sn[2] | 0, this.D = Sn[3] | 0, this.E = Sn[4] | 0, this.F = Sn[5] | 0, this.G = Sn[6] | 0, this.H = Sn[7] | 0;
|
|
2863
2863
|
}
|
|
2864
2864
|
get() {
|
|
2865
2865
|
const { A: n, B: o, C: i, D: t, E: c, F: a, G: r, H: s } = this;
|
|
@@ -2908,7 +2908,7 @@ function Xd(e) {
|
|
|
2908
2908
|
}));
|
|
2909
2909
|
return t;
|
|
2910
2910
|
}
|
|
2911
|
-
const or = 6,
|
|
2911
|
+
const or = 6, Sl = 32, ia = 4096, ql = Sl * ia, ir = ql * or - // terminator byte (0x80).
|
|
2912
2912
|
1 - // zero byte (0x00) appended to each field element.
|
|
2913
2913
|
1 * ia * or, jl = 1;
|
|
2914
2914
|
class Zd extends ie {
|
|
@@ -2958,7 +2958,7 @@ function Qd(e) {
|
|
|
2958
2958
|
const r = Al(new Uint8Array(ql));
|
|
2959
2959
|
let s = 0;
|
|
2960
2960
|
for (; s < ia; ) {
|
|
2961
|
-
const l = o.slice(a, a + (
|
|
2961
|
+
const l = o.slice(a, a + (Sl - 1));
|
|
2962
2962
|
if (r.pushByte(0), r.pushBytes(l), l.length < 31) {
|
|
2963
2963
|
r.pushByte(128), c = !1;
|
|
2964
2964
|
break;
|
|
@@ -2970,7 +2970,7 @@ function Qd(e) {
|
|
|
2970
2970
|
return n === "bytes" ? t.map((r) => r.bytes) : t.map((r) => Bn(r.bytes));
|
|
2971
2971
|
}
|
|
2972
2972
|
function _d(e) {
|
|
2973
|
-
const { data: n, kzg: o, to: i } = e, t = e.blobs ?? Qd({ data: n, to: i }), c = e.commitments ?? Bl({ blobs: t, kzg: o, to: i }), a = e.proofs ??
|
|
2973
|
+
const { data: n, kzg: o, to: i } = e, t = e.blobs ?? Qd({ data: n, to: i }), c = e.commitments ?? Bl({ blobs: t, kzg: o, to: i }), a = e.proofs ?? zl({ blobs: t, commitments: c, kzg: o, to: i }), r = [];
|
|
2974
2974
|
for (let s = 0; s < t.length; s++)
|
|
2975
2975
|
r.push({
|
|
2976
2976
|
blob: t[s],
|
|
@@ -3198,15 +3198,15 @@ function u0(e, n) {
|
|
|
3198
3198
|
r0(e);
|
|
3199
3199
|
let d = e.blobVersionedHashes, x = e.sidecars;
|
|
3200
3200
|
if (e.blobs && (typeof d > "u" || typeof x > "u")) {
|
|
3201
|
-
const M = typeof e.blobs[0] == "string" ? e.blobs : e.blobs.map((
|
|
3201
|
+
const M = typeof e.blobs[0] == "string" ? e.blobs : e.blobs.map((S) => Bn(S)), H = e.kzg, T = Bl({
|
|
3202
3202
|
blobs: M,
|
|
3203
3203
|
kzg: H
|
|
3204
3204
|
});
|
|
3205
3205
|
if (typeof d > "u" && (d = Xd({
|
|
3206
3206
|
commitments: T
|
|
3207
3207
|
})), typeof x > "u") {
|
|
3208
|
-
const
|
|
3209
|
-
x = _d({ blobs: M, commitments: T, proofs:
|
|
3208
|
+
const S = zl({ blobs: M, commitments: T, kzg: H });
|
|
3209
|
+
x = _d({ blobs: M, commitments: T, proofs: S });
|
|
3210
3210
|
}
|
|
3211
3211
|
}
|
|
3212
3212
|
const b = wi(p), w = [
|
|
@@ -3225,8 +3225,8 @@ function u0(e, n) {
|
|
|
3225
3225
|
], E = [], I = [], C = [];
|
|
3226
3226
|
if (x)
|
|
3227
3227
|
for (let M = 0; M < x.length; M++) {
|
|
3228
|
-
const { blob: H, commitment: T, proof:
|
|
3229
|
-
E.push(H), I.push(T), C.push(
|
|
3228
|
+
const { blob: H, commitment: T, proof: S } = x[M];
|
|
3229
|
+
E.push(H), I.push(T), C.push(S);
|
|
3230
3230
|
}
|
|
3231
3231
|
return Oo([
|
|
3232
3232
|
"0x03",
|
|
@@ -3555,7 +3555,7 @@ const F0 = {
|
|
|
3555
3555
|
transaction: Vl
|
|
3556
3556
|
};
|
|
3557
3557
|
function M0(e) {
|
|
3558
|
-
|
|
3558
|
+
z0(e);
|
|
3559
3559
|
const { sourceHash: n, data: o, from: i, gas: t, isSystemTx: c, mint: a, to: r, value: s } = e, l = [
|
|
3560
3560
|
n,
|
|
3561
3561
|
i,
|
|
@@ -3574,7 +3574,7 @@ function M0(e) {
|
|
|
3574
3574
|
function B0(e) {
|
|
3575
3575
|
return e.type === "deposit" || typeof e.sourceHash < "u";
|
|
3576
3576
|
}
|
|
3577
|
-
function
|
|
3577
|
+
function z0(e) {
|
|
3578
3578
|
const { from: n, to: o } = e;
|
|
3579
3579
|
if (n && !_e(n))
|
|
3580
3580
|
throw new mn({ address: n });
|
|
@@ -3779,7 +3779,7 @@ const Rn = {
|
|
|
3779
3779
|
},
|
|
3780
3780
|
testnet: !0,
|
|
3781
3781
|
sourceId: _o
|
|
3782
|
-
}),
|
|
3782
|
+
}), S0 = 1, pr = /* @__PURE__ */ ue({
|
|
3783
3783
|
id: 81457,
|
|
3784
3784
|
name: "Blast",
|
|
3785
3785
|
nativeCurrency: {
|
|
@@ -3803,7 +3803,7 @@ const Rn = {
|
|
|
3803
3803
|
blockCreated: 212929
|
|
3804
3804
|
}
|
|
3805
3805
|
},
|
|
3806
|
-
sourceId:
|
|
3806
|
+
sourceId: S0
|
|
3807
3807
|
}), q0 = 11155111, hr = /* @__PURE__ */ ue({
|
|
3808
3808
|
id: 168587773,
|
|
3809
3809
|
name: "Blast Sepolia",
|
|
@@ -3961,7 +3961,7 @@ const N0 = {
|
|
|
3961
3961
|
return e.type === "0x7b" ? n.type = "cip64" : (e.type === "0x7c" && (n.type = "cip42"), n.gatewayFee = e.gatewayFee ? yn(e.gatewayFee) : null, n.gatewayFeeRecipient = e.gatewayFeeRecipient), n;
|
|
3962
3962
|
}
|
|
3963
3963
|
}),
|
|
3964
|
-
transactionRequest: /* @__PURE__ */
|
|
3964
|
+
transactionRequest: /* @__PURE__ */ Sd({
|
|
3965
3965
|
format(e) {
|
|
3966
3966
|
const n = {};
|
|
3967
3967
|
return e.feeCurrency && (n.feeCurrency = e.feeCurrency), Rl(e) && (n.type = "0x7b"), n;
|
|
@@ -4514,7 +4514,7 @@ const wr = /* @__PURE__ */ ue({
|
|
|
4514
4514
|
},
|
|
4515
4515
|
testnet: !0,
|
|
4516
4516
|
sourceId: ei
|
|
4517
|
-
}),
|
|
4517
|
+
}), zr = /* @__PURE__ */ ue({
|
|
4518
4518
|
id: 137,
|
|
4519
4519
|
name: "Polygon",
|
|
4520
4520
|
nativeCurrency: { name: "POL", symbol: "POL", decimals: 18 },
|
|
@@ -4536,7 +4536,7 @@ const wr = /* @__PURE__ */ ue({
|
|
|
4536
4536
|
blockCreated: 25770160
|
|
4537
4537
|
}
|
|
4538
4538
|
}
|
|
4539
|
-
}),
|
|
4539
|
+
}), Sr = /* @__PURE__ */ ue({
|
|
4540
4540
|
id: 80001,
|
|
4541
4541
|
name: "Polygon Mumbai",
|
|
4542
4542
|
nativeCurrency: { name: "MATIC", symbol: "MATIC", decimals: 18 },
|
|
@@ -4640,11 +4640,11 @@ function ca(e) {
|
|
|
4640
4640
|
throw new Error("No chains found on connector.");
|
|
4641
4641
|
const C = await this.isChainsStale();
|
|
4642
4642
|
if (E.session && C && await E.disconnect(), !E.session || C) {
|
|
4643
|
-
const T = u.chains.filter((
|
|
4643
|
+
const T = u.chains.filter((S) => S.id !== I).map((S) => S.id);
|
|
4644
4644
|
await E.connect({
|
|
4645
4645
|
optionalChains: [I, ...T],
|
|
4646
4646
|
..."pairingTopic" in x ? { pairingTopic: x.pairingTopic } : {}
|
|
4647
|
-
}), this.setRequestedChainsIds(u.chains.map((
|
|
4647
|
+
}), this.setRequestedChainsIds(u.chains.map((S) => S.id));
|
|
4648
4648
|
}
|
|
4649
4649
|
const M = (await E.enable()).map((T) => Vt(T)), H = await this.getChainId();
|
|
4650
4650
|
return s && (E.removeListener("display_uri", s), s = void 0), r && (E.removeListener("connect", r), r = void 0), c || (c = this.onAccountsChanged.bind(this), E.on("accountsChanged", c)), a || (a = this.onChainChanged.bind(this), E.on("chainChanged", a)), p || (p = this.onDisconnect.bind(this), E.on("disconnect", p)), l || (l = this.onSessionDelete.bind(this), E.on("session_delete", l)), { accounts: M, chainId: H };
|
|
@@ -4672,7 +4672,7 @@ function ca(e) {
|
|
|
4672
4672
|
const w = u.chains.map((I) => I.id);
|
|
4673
4673
|
if (!w.length)
|
|
4674
4674
|
return;
|
|
4675
|
-
const { EthereumProvider: E } = await import("./index.es-
|
|
4675
|
+
const { EthereumProvider: E } = await import("./index.es-B8GQzjkh.js");
|
|
4676
4676
|
return await E.init({
|
|
4677
4677
|
...e,
|
|
4678
4678
|
disableProviderPing: !0,
|
|
@@ -4716,8 +4716,8 @@ function ca(e) {
|
|
|
4716
4716
|
try {
|
|
4717
4717
|
await Promise.all([
|
|
4718
4718
|
new Promise((H) => {
|
|
4719
|
-
const T = ({ chainId:
|
|
4720
|
-
|
|
4719
|
+
const T = ({ chainId: S }) => {
|
|
4720
|
+
S === x && (u.emitter.off("change", T), H());
|
|
4721
4721
|
};
|
|
4722
4722
|
u.emitter.on("change", T);
|
|
4723
4723
|
}),
|
|
@@ -4735,15 +4735,15 @@ function ca(e) {
|
|
|
4735
4735
|
try {
|
|
4736
4736
|
let T;
|
|
4737
4737
|
d != null && d.blockExplorerUrls ? T = d.blockExplorerUrls : T = (E = w.blockExplorers) != null && E.default.url ? [(I = w.blockExplorers) == null ? void 0 : I.default.url] : [];
|
|
4738
|
-
let
|
|
4739
|
-
(C = d == null ? void 0 : d.rpcUrls) != null && C.length ?
|
|
4738
|
+
let S;
|
|
4739
|
+
(C = d == null ? void 0 : d.rpcUrls) != null && C.length ? S = d.rpcUrls : S = [...w.rpcUrls.default.http];
|
|
4740
4740
|
const y = {
|
|
4741
4741
|
blockExplorerUrls: T,
|
|
4742
4742
|
chainId: Ba(x),
|
|
4743
4743
|
chainName: (d == null ? void 0 : d.chainName) ?? w.name,
|
|
4744
4744
|
iconUrls: d == null ? void 0 : d.iconUrls,
|
|
4745
4745
|
nativeCurrency: (d == null ? void 0 : d.nativeCurrency) ?? w.nativeCurrency,
|
|
4746
|
-
rpcUrls:
|
|
4746
|
+
rpcUrls: S
|
|
4747
4747
|
};
|
|
4748
4748
|
await b.request({
|
|
4749
4749
|
method: "wallet_addEthereumChain",
|
|
@@ -4856,8 +4856,8 @@ const jr = Cp({
|
|
|
4856
4856
|
Er,
|
|
4857
4857
|
Fr,
|
|
4858
4858
|
Mr,
|
|
4859
|
-
Sr,
|
|
4860
4859
|
zr,
|
|
4860
|
+
Sr,
|
|
4861
4861
|
qr,
|
|
4862
4862
|
sr,
|
|
4863
4863
|
mr,
|
|
@@ -4888,8 +4888,8 @@ const jr = Cp({
|
|
|
4888
4888
|
[Er.id]: re(),
|
|
4889
4889
|
[Fr.id]: re(),
|
|
4890
4890
|
[Mr.id]: re(),
|
|
4891
|
-
[Sr.id]: re(),
|
|
4892
4891
|
[zr.id]: re(),
|
|
4892
|
+
[Sr.id]: re(),
|
|
4893
4893
|
[qr.id]: re(),
|
|
4894
4894
|
[sr.id]: re(),
|
|
4895
4895
|
[mr.id]: re(),
|
|
@@ -4924,9 +4924,9 @@ var Mc;
|
|
|
4924
4924
|
e.Mainnet = "mainnet-beta", e.Testnet = "testnet", e.Devnet = "devnet";
|
|
4925
4925
|
})(Mc || (Mc = {}));
|
|
4926
4926
|
const mi = [
|
|
4927
|
-
new Sp(),
|
|
4928
|
-
new Fp(),
|
|
4929
4927
|
new zp(),
|
|
4928
|
+
new Fp(),
|
|
4929
|
+
new Sp(),
|
|
4930
4930
|
new Mp(),
|
|
4931
4931
|
new qp(),
|
|
4932
4932
|
new Bp(),
|
|
@@ -4942,7 +4942,7 @@ const mi = [
|
|
|
4942
4942
|
}, ra = $({
|
|
4943
4943
|
apiURL: at.apiUrl,
|
|
4944
4944
|
endpointOptions: at.endpointOptions
|
|
4945
|
-
}), Ul = $(et),
|
|
4945
|
+
}), Ul = $(et), zn = $((e) => {
|
|
4946
4946
|
const n = e(ra), o = e(vt), i = e(cl);
|
|
4947
4947
|
return new mp({
|
|
4948
4948
|
...n,
|
|
@@ -4983,7 +4983,7 @@ const mi = [
|
|
|
4983
4983
|
});
|
|
4984
4984
|
return o;
|
|
4985
4985
|
}, yi = $(void 0), bn = lo((e) => {
|
|
4986
|
-
const n = e(
|
|
4986
|
+
const n = e(zn), o = e(Be), i = e(yi);
|
|
4987
4987
|
return {
|
|
4988
4988
|
queryKey: ["skipAssets", i],
|
|
4989
4989
|
queryFn: async () => n.assets({
|
|
@@ -4994,7 +4994,7 @@ const mi = [
|
|
|
4994
4994
|
}).then((t) => K0(t, o.data))
|
|
4995
4995
|
};
|
|
4996
4996
|
}), Be = lo((e) => {
|
|
4997
|
-
const n = e(
|
|
4997
|
+
const n = e(zn), o = e(yi);
|
|
4998
4998
|
return {
|
|
4999
4999
|
queryKey: ["skipChains", o],
|
|
5000
5000
|
queryFn: async () => n.chains({
|
|
@@ -5004,13 +5004,13 @@ const mi = [
|
|
|
5004
5004
|
})
|
|
5005
5005
|
};
|
|
5006
5006
|
}), X0 = lo((e) => {
|
|
5007
|
-
const n = e(
|
|
5007
|
+
const n = e(zn);
|
|
5008
5008
|
return {
|
|
5009
5009
|
queryKey: ["skipBridges"],
|
|
5010
5010
|
queryFn: async () => n.bridges()
|
|
5011
5011
|
};
|
|
5012
5012
|
}), sa = lo((e) => {
|
|
5013
|
-
const n = e(
|
|
5013
|
+
const n = e(zn), o = e(yi);
|
|
5014
5014
|
return {
|
|
5015
5015
|
queryKey: ["skipSwapVenue", o],
|
|
5016
5016
|
queryFn: async () => n.venues(o)
|
|
@@ -5724,7 +5724,7 @@ const Nr = [0.1, 0.5, 1, 3], xD = [
|
|
|
5724
5724
|
hi.FASTEST,
|
|
5725
5725
|
hi.CHEAPEST
|
|
5726
5726
|
], ui = 6;
|
|
5727
|
-
var gD = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, Zt = Math.ceil, Ke = Math.floor, Re = "[BigNumber Error] ", Vr = Re + "Number primitive has more than 15 significant digits: ", an = 1e14, _ = 14, Yt = 9007199254740991, Jt = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], jn = 1e7,
|
|
5727
|
+
var gD = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, Zt = Math.ceil, Ke = Math.floor, Re = "[BigNumber Error] ", Vr = Re + "Number primitive has more than 15 significant digits: ", an = 1e14, _ = 14, Yt = 9007199254740991, Jt = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], jn = 1e7, Se = 1e9;
|
|
5728
5728
|
function Ql(e) {
|
|
5729
5729
|
var n, o, i, t = C.prototype = { constructor: C, toString: null, valueOf: null }, c = new C(1), a = 20, r = 4, s = -7, l = 21, p = -1e7, u = 1e7, d = !1, x = 1, b = 0, w = {
|
|
5730
5730
|
prefix: "",
|
|
@@ -5738,34 +5738,34 @@ function Ql(e) {
|
|
|
5738
5738
|
suffix: ""
|
|
5739
5739
|
}, E = "0123456789abcdefghijklmnopqrstuvwxyz", I = !0;
|
|
5740
5740
|
function C(h, D) {
|
|
5741
|
-
var g, P, f, A, B, k, F, v,
|
|
5742
|
-
if (!(
|
|
5741
|
+
var g, P, f, A, B, k, F, v, z = this;
|
|
5742
|
+
if (!(z instanceof C)) return new C(h, D);
|
|
5743
5743
|
if (D == null) {
|
|
5744
5744
|
if (h && h._isBigNumber === !0) {
|
|
5745
|
-
|
|
5745
|
+
z.s = h.s, !h.c || h.e > u ? z.c = z.e = null : h.e < p ? z.c = [z.e = 0] : (z.e = h.e, z.c = h.c.slice());
|
|
5746
5746
|
return;
|
|
5747
5747
|
}
|
|
5748
5748
|
if ((k = typeof h == "number") && h * 0 == 0) {
|
|
5749
|
-
if (
|
|
5749
|
+
if (z.s = 1 / h < 0 ? (h = -h, -1) : 1, h === ~~h) {
|
|
5750
5750
|
for (A = 0, B = h; B >= 10; B /= 10, A++) ;
|
|
5751
|
-
A > u ?
|
|
5751
|
+
A > u ? z.c = z.e = null : (z.e = A, z.c = [h]);
|
|
5752
5752
|
return;
|
|
5753
5753
|
}
|
|
5754
5754
|
v = String(h);
|
|
5755
5755
|
} else {
|
|
5756
|
-
if (!gD.test(v = String(h))) return i(
|
|
5757
|
-
|
|
5756
|
+
if (!gD.test(v = String(h))) return i(z, v, k);
|
|
5757
|
+
z.s = v.charCodeAt(0) == 45 ? (v = v.slice(1), -1) : 1;
|
|
5758
5758
|
}
|
|
5759
5759
|
(A = v.indexOf(".")) > -1 && (v = v.replace(".", "")), (B = v.search(/e/i)) > 0 ? (A < 0 && (A = B), A += +v.slice(B + 1), v = v.substring(0, B)) : A < 0 && (A = v.length);
|
|
5760
5760
|
} else {
|
|
5761
5761
|
if (ke(D, 2, E.length, "Base"), D == 10 && I)
|
|
5762
|
-
return
|
|
5762
|
+
return z = new C(h), S(z, a + z.e + 1, r);
|
|
5763
5763
|
if (v = String(h), k = typeof h == "number") {
|
|
5764
|
-
if (h * 0 != 0) return i(
|
|
5765
|
-
if (
|
|
5764
|
+
if (h * 0 != 0) return i(z, v, k, D);
|
|
5765
|
+
if (z.s = 1 / h < 0 ? (v = v.slice(1), -1) : 1, C.DEBUG && v.replace(/^0\.0*|\./, "").length > 15)
|
|
5766
5766
|
throw Error(Vr + h);
|
|
5767
5767
|
} else
|
|
5768
|
-
|
|
5768
|
+
z.s = v.charCodeAt(0) === 45 ? (v = v.slice(1), -1) : 1;
|
|
5769
5769
|
for (g = E.slice(0, D), A = B = 0, F = v.length; B < F; B++)
|
|
5770
5770
|
if (g.indexOf(P = v.charAt(B)) < 0) {
|
|
5771
5771
|
if (P == ".") {
|
|
@@ -5777,40 +5777,40 @@ function Ql(e) {
|
|
|
5777
5777
|
f = !0, B = -1, A = 0;
|
|
5778
5778
|
continue;
|
|
5779
5779
|
}
|
|
5780
|
-
return i(
|
|
5780
|
+
return i(z, String(h), k, D);
|
|
5781
5781
|
}
|
|
5782
|
-
k = !1, v = o(v, D, 10,
|
|
5782
|
+
k = !1, v = o(v, D, 10, z.s), (A = v.indexOf(".")) > -1 ? v = v.replace(".", "") : A = v.length;
|
|
5783
5783
|
}
|
|
5784
5784
|
for (B = 0; v.charCodeAt(B) === 48; B++) ;
|
|
5785
5785
|
for (F = v.length; v.charCodeAt(--F) === 48; ) ;
|
|
5786
5786
|
if (v = v.slice(B, ++F)) {
|
|
5787
5787
|
if (F -= B, k && C.DEBUG && F > 15 && (h > Yt || h !== Ke(h)))
|
|
5788
|
-
throw Error(Vr +
|
|
5788
|
+
throw Error(Vr + z.s * h);
|
|
5789
5789
|
if ((A = A - B - 1) > u)
|
|
5790
|
-
|
|
5790
|
+
z.c = z.e = null;
|
|
5791
5791
|
else if (A < p)
|
|
5792
|
-
|
|
5792
|
+
z.c = [z.e = 0];
|
|
5793
5793
|
else {
|
|
5794
|
-
if (
|
|
5795
|
-
for (B &&
|
|
5796
|
-
|
|
5794
|
+
if (z.e = A, z.c = [], B = (A + 1) % _, A < 0 && (B += _), B < F) {
|
|
5795
|
+
for (B && z.c.push(+v.slice(0, B)), F -= _; B < F; )
|
|
5796
|
+
z.c.push(+v.slice(B, B += _));
|
|
5797
5797
|
B = _ - (v = v.slice(B)).length;
|
|
5798
5798
|
} else
|
|
5799
5799
|
B -= F;
|
|
5800
5800
|
for (; B--; v += "0") ;
|
|
5801
|
-
|
|
5801
|
+
z.c.push(+v);
|
|
5802
5802
|
}
|
|
5803
5803
|
} else
|
|
5804
|
-
|
|
5804
|
+
z.c = [z.e = 0];
|
|
5805
5805
|
}
|
|
5806
5806
|
C.clone = Ql, C.ROUND_UP = 0, C.ROUND_DOWN = 1, C.ROUND_CEIL = 2, C.ROUND_FLOOR = 3, C.ROUND_HALF_UP = 4, C.ROUND_HALF_DOWN = 5, C.ROUND_HALF_EVEN = 6, C.ROUND_HALF_CEIL = 7, C.ROUND_HALF_FLOOR = 8, C.EUCLID = 9, C.config = C.set = function(h) {
|
|
5807
5807
|
var D, g;
|
|
5808
5808
|
if (h != null)
|
|
5809
5809
|
if (typeof h == "object") {
|
|
5810
|
-
if (h.hasOwnProperty(D = "DECIMAL_PLACES") && (g = h[D], ke(g, 0,
|
|
5810
|
+
if (h.hasOwnProperty(D = "DECIMAL_PLACES") && (g = h[D], ke(g, 0, Se, D), a = g), h.hasOwnProperty(D = "ROUNDING_MODE") && (g = h[D], ke(g, 0, 8, D), r = g), h.hasOwnProperty(D = "EXPONENTIAL_AT") && (g = h[D], g && g.pop ? (ke(g[0], -Se, 0, D), ke(g[1], 0, Se, D), s = g[0], l = g[1]) : (ke(g, -Se, Se, D), s = -(l = g < 0 ? -g : g))), h.hasOwnProperty(D = "RANGE"))
|
|
5811
5811
|
if (g = h[D], g && g.pop)
|
|
5812
|
-
ke(g[0], -
|
|
5813
|
-
else if (ke(g, -
|
|
5812
|
+
ke(g[0], -Se, -1, D), ke(g[1], 1, Se, D), p = g[0], u = g[1];
|
|
5813
|
+
else if (ke(g, -Se, Se, D), g)
|
|
5814
5814
|
p = -(u = g < 0 ? -g : g);
|
|
5815
5815
|
else
|
|
5816
5816
|
throw Error(Re + D + " cannot be zero: " + g);
|
|
@@ -5825,7 +5825,7 @@ function Ql(e) {
|
|
|
5825
5825
|
d = g;
|
|
5826
5826
|
else
|
|
5827
5827
|
throw Error(Re + D + " not true or false: " + g);
|
|
5828
|
-
if (h.hasOwnProperty(D = "MODULO_MODE") && (g = h[D], ke(g, 0, 9, D), x = g), h.hasOwnProperty(D = "POW_PRECISION") && (g = h[D], ke(g, 0,
|
|
5828
|
+
if (h.hasOwnProperty(D = "MODULO_MODE") && (g = h[D], ke(g, 0, 9, D), x = g), h.hasOwnProperty(D = "POW_PRECISION") && (g = h[D], ke(g, 0, Se, D), b = g), h.hasOwnProperty(D = "FORMAT"))
|
|
5829
5829
|
if (g = h[D], typeof g == "object") w = g;
|
|
5830
5830
|
else throw Error(Re + D + " not an object: " + g);
|
|
5831
5831
|
if (h.hasOwnProperty(D = "ALPHABET"))
|
|
@@ -5851,7 +5851,7 @@ function Ql(e) {
|
|
|
5851
5851
|
if (!C.DEBUG) return !0;
|
|
5852
5852
|
var D, g, P = h.c, f = h.e, A = h.s;
|
|
5853
5853
|
e: if ({}.toString.call(P) == "[object Array]") {
|
|
5854
|
-
if ((A === 1 || A === -1) && f >= -
|
|
5854
|
+
if ((A === 1 || A === -1) && f >= -Se && f <= Se && f === Ke(f)) {
|
|
5855
5855
|
if (P[0] === 0) {
|
|
5856
5856
|
if (f === 0 && P.length === 1) return !0;
|
|
5857
5857
|
break e;
|
|
@@ -5876,8 +5876,8 @@ function Ql(e) {
|
|
|
5876
5876
|
return (Math.random() * 1073741824 | 0) * 8388608 + (Math.random() * 8388608 | 0);
|
|
5877
5877
|
};
|
|
5878
5878
|
return function(g) {
|
|
5879
|
-
var P, f, A, B, k, F = 0, v = [],
|
|
5880
|
-
if (g == null ? g = a : ke(g, 0,
|
|
5879
|
+
var P, f, A, B, k, F = 0, v = [], z = new C(c);
|
|
5880
|
+
if (g == null ? g = a : ke(g, 0, Se), B = Zt(g / _), d)
|
|
5881
5881
|
if (crypto.getRandomValues) {
|
|
5882
5882
|
for (P = crypto.getRandomValues(new Uint32Array(B *= 2)); F < B; )
|
|
5883
5883
|
k = P[F] * 131072 + (P[F + 1] >>> 11), k >= 9e15 ? (f = crypto.getRandomValues(new Uint32Array(2)), P[F] = f[0], P[F + 1] = f[1]) : (v.push(k % 1e14), F += 2);
|
|
@@ -5899,7 +5899,7 @@ function Ql(e) {
|
|
|
5899
5899
|
for (F = 1, k = v[0]; k >= 10; k /= 10, F++) ;
|
|
5900
5900
|
F < _ && (A -= _ - F);
|
|
5901
5901
|
}
|
|
5902
|
-
return
|
|
5902
|
+
return z.e = A, z.c = v, z;
|
|
5903
5903
|
};
|
|
5904
5904
|
}(), C.sum = function() {
|
|
5905
5905
|
for (var h = 1, D = arguments, g = new C(D[0]); h < D.length; ) g = g.plus(D[h++]);
|
|
@@ -5907,7 +5907,7 @@ function Ql(e) {
|
|
|
5907
5907
|
}, o = /* @__PURE__ */ function() {
|
|
5908
5908
|
var h = "0123456789";
|
|
5909
5909
|
function D(g, P, f, A) {
|
|
5910
|
-
for (var B, k = [0], F, v = 0,
|
|
5910
|
+
for (var B, k = [0], F, v = 0, z = g.length; v < z; ) {
|
|
5911
5911
|
for (F = k.length; F--; k[F] *= P) ;
|
|
5912
5912
|
for (k[0] += A.indexOf(g.charAt(v++)), B = 0; B < k.length; B++)
|
|
5913
5913
|
k[B] > f - 1 && (k[B + 1] == null && (k[B + 1] = 0), k[B + 1] += k[B] / f | 0, k[B] %= f);
|
|
@@ -5915,32 +5915,32 @@ function Ql(e) {
|
|
|
5915
5915
|
return k.reverse();
|
|
5916
5916
|
}
|
|
5917
5917
|
return function(g, P, f, A, B) {
|
|
5918
|
-
var k, F, v,
|
|
5919
|
-
for (G >= 0 && (
|
|
5918
|
+
var k, F, v, z, j, O, U, Y, G = g.indexOf("."), ae = a, J = r;
|
|
5919
|
+
for (G >= 0 && (z = b, b = 0, g = g.replace(".", ""), Y = new C(P), O = Y.pow(g.length - G), b = z, Y.c = D(
|
|
5920
5920
|
kn(Ge(O.c), O.e, "0"),
|
|
5921
5921
|
10,
|
|
5922
5922
|
f,
|
|
5923
5923
|
h
|
|
5924
|
-
), Y.e = Y.c.length), U = D(g, P, f, B ? (k = E, h) : (k = h, E)), v =
|
|
5924
|
+
), Y.e = Y.c.length), U = D(g, P, f, B ? (k = E, h) : (k = h, E)), v = z = U.length; U[--z] == 0; U.pop()) ;
|
|
5925
5925
|
if (!U[0]) return k.charAt(0);
|
|
5926
|
-
if (G < 0 ? --v : (O.c = U, O.e = v, O.s = A, O = n(O, Y, ae, J, f), U = O.c, j = O.r, v = O.e), F = v + ae + 1, G = U[F],
|
|
5926
|
+
if (G < 0 ? --v : (O.c = U, O.e = v, O.s = A, O = n(O, Y, ae, J, f), U = O.c, j = O.r, v = O.e), F = v + ae + 1, G = U[F], z = f / 2, j = j || F < 0 || U[F + 1] != null, j = J < 4 ? (G != null || j) && (J == 0 || J == (O.s < 0 ? 3 : 2)) : G > z || G == z && (J == 4 || j || J == 6 && U[F - 1] & 1 || J == (O.s < 0 ? 8 : 7)), F < 1 || !U[0])
|
|
5927
5927
|
g = j ? kn(k.charAt(1), -ae, k.charAt(0)) : k.charAt(0);
|
|
5928
5928
|
else {
|
|
5929
5929
|
if (U.length = F, j)
|
|
5930
5930
|
for (--f; ++U[--F] > f; )
|
|
5931
5931
|
U[F] = 0, F || (++v, U = [1].concat(U));
|
|
5932
|
-
for (
|
|
5933
|
-
for (G = 0, g = ""; G <=
|
|
5932
|
+
for (z = U.length; !U[--z]; ) ;
|
|
5933
|
+
for (G = 0, g = ""; G <= z; g += k.charAt(U[G++])) ;
|
|
5934
5934
|
g = kn(g, v, k.charAt(0));
|
|
5935
5935
|
}
|
|
5936
5936
|
return g;
|
|
5937
5937
|
};
|
|
5938
5938
|
}(), n = /* @__PURE__ */ function() {
|
|
5939
5939
|
function h(P, f, A) {
|
|
5940
|
-
var B, k, F, v,
|
|
5940
|
+
var B, k, F, v, z = 0, j = P.length, O = f % jn, U = f / jn | 0;
|
|
5941
5941
|
for (P = P.slice(); j--; )
|
|
5942
|
-
F = P[j] % jn, v = P[j] / jn | 0, B = U * F + v * O, k = O * F + B % jn * jn +
|
|
5943
|
-
return
|
|
5942
|
+
F = P[j] % jn, v = P[j] / jn | 0, B = U * F + v * O, k = O * F + B % jn * jn + z, z = (k / A | 0) + (B / jn | 0) + U * v, P[j] = k % A;
|
|
5943
|
+
return z && (P = [z].concat(P)), P;
|
|
5944
5944
|
}
|
|
5945
5945
|
function D(P, f, A, B) {
|
|
5946
5946
|
var k, F;
|
|
@@ -5960,7 +5960,7 @@ function Ql(e) {
|
|
|
5960
5960
|
for (; !P[0] && P.length > 1; P.splice(0, 1)) ;
|
|
5961
5961
|
}
|
|
5962
5962
|
return function(P, f, A, B, k) {
|
|
5963
|
-
var F, v,
|
|
5963
|
+
var F, v, z, j, O, U, Y, G, ae, J, ee, le, tn, cn, Zn, Ne, Le, Ue = P.s == f.s ? 1 : -1, Ve = P.c, ye = f.c;
|
|
5964
5964
|
if (!Ve || !Ve[0] || !ye || !ye[0])
|
|
5965
5965
|
return new C(
|
|
5966
5966
|
// Return NaN if either NaN, or both Infinity or 0.
|
|
@@ -5969,11 +5969,11 @@ function Ql(e) {
|
|
|
5969
5969
|
Ve && Ve[0] == 0 || !ye ? Ue * 0 : Ue / 0
|
|
5970
5970
|
)
|
|
5971
5971
|
);
|
|
5972
|
-
for (G = new C(Ue), ae = G.c = [], v = P.e - f.e, Ue = A + v + 1, k || (k = an, v = Xe(P.e / _) - Xe(f.e / _), Ue = Ue / _ | 0),
|
|
5973
|
-
if (ye[
|
|
5972
|
+
for (G = new C(Ue), ae = G.c = [], v = P.e - f.e, Ue = A + v + 1, k || (k = an, v = Xe(P.e / _) - Xe(f.e / _), Ue = Ue / _ | 0), z = 0; ye[z] == (Ve[z] || 0); z++) ;
|
|
5973
|
+
if (ye[z] > (Ve[z] || 0) && v--, Ue < 0)
|
|
5974
5974
|
ae.push(1), j = !0;
|
|
5975
5975
|
else {
|
|
5976
|
-
for (cn = Ve.length, Ne = ye.length,
|
|
5976
|
+
for (cn = Ve.length, Ne = ye.length, z = 0, Ue += 2, O = Ke(k / (ye[0] + 1)), O > 1 && (ye = h(ye, O, k), Ve = h(Ve, O, k), Ne = ye.length, cn = Ve.length), tn = Ne, J = Ve.slice(0, Ne), ee = J.length; ee < Ne; J[ee++] = 0) ;
|
|
5977
5977
|
Le = ye.slice(), Le = [0].concat(Le), Zn = ye[0], ye[1] >= k / 2 && Zn++;
|
|
5978
5978
|
do {
|
|
5979
5979
|
if (O = 0, F = D(ye, J, Ne, ee), F < 0) {
|
|
@@ -5986,13 +5986,13 @@ function Ql(e) {
|
|
|
5986
5986
|
for (; D(ye, J, Ne, ee) < 1; )
|
|
5987
5987
|
O++, g(J, Ne < ee ? Le : ye, ee, k), ee = J.length;
|
|
5988
5988
|
} else F === 0 && (O++, J = [0]);
|
|
5989
|
-
ae[
|
|
5989
|
+
ae[z++] = O, J[0] ? J[ee++] = Ve[tn] || 0 : (J = [Ve[tn]], ee = 1);
|
|
5990
5990
|
} while ((tn++ < cn || J[0] != null) && Ue--);
|
|
5991
5991
|
j = J[0] != null, ae[0] || ae.splice(0, 1);
|
|
5992
5992
|
}
|
|
5993
5993
|
if (k == an) {
|
|
5994
|
-
for (
|
|
5995
|
-
|
|
5994
|
+
for (z = 1, Ue = ae[0]; Ue >= 10; Ue /= 10, z++) ;
|
|
5995
|
+
S(G, A + (G.e = z + v * _ - 1) + 1, B, j);
|
|
5996
5996
|
} else
|
|
5997
5997
|
G.e = v, G.r = +j;
|
|
5998
5998
|
return G;
|
|
@@ -6003,7 +6003,7 @@ function Ql(e) {
|
|
|
6003
6003
|
if (g == null ? g = r : ke(g, 0, 8), !h.c) return h.toString();
|
|
6004
6004
|
if (f = h.c[0], B = h.e, D == null)
|
|
6005
6005
|
F = Ge(h.c), F = P == 1 || P == 2 && (B <= s || B >= l) ? Hi(F, B) : kn(F, B, "0");
|
|
6006
|
-
else if (h =
|
|
6006
|
+
else if (h = S(new C(h), D, g), A = h.e, F = Ge(h.c), k = F.length, P == 1 || P == 2 && (D <= A || A <= s)) {
|
|
6007
6007
|
for (; k < D; F += "0", k++) ;
|
|
6008
6008
|
F = Hi(F, A);
|
|
6009
6009
|
} else if (D -= B, F = kn(F, A, "0"), A + 1 > k) {
|
|
@@ -6025,14 +6025,14 @@ function Ql(e) {
|
|
|
6025
6025
|
i = /* @__PURE__ */ function() {
|
|
6026
6026
|
var h = /^(-?)0([xbo])(?=\w[\w.]*$)/i, D = /^([^.]+)\.$/, g = /^\.([^.]+)$/, P = /^-?(Infinity|NaN)$/, f = /^\s*\+(?=[\w.])|^\s+|\s+$/g;
|
|
6027
6027
|
return function(A, B, k, F) {
|
|
6028
|
-
var v,
|
|
6029
|
-
if (P.test(
|
|
6030
|
-
A.s = isNaN(
|
|
6028
|
+
var v, z = k ? B : B.replace(f, "");
|
|
6029
|
+
if (P.test(z))
|
|
6030
|
+
A.s = isNaN(z) ? null : z < 0 ? -1 : 1;
|
|
6031
6031
|
else {
|
|
6032
|
-
if (!k && (
|
|
6032
|
+
if (!k && (z = z.replace(h, function(j, O, U) {
|
|
6033
6033
|
return v = (U = U.toLowerCase()) == "x" ? 16 : U == "b" ? 2 : 8, !F || F == v ? O : j;
|
|
6034
|
-
}), F && (v = F,
|
|
6035
|
-
return new C(
|
|
6034
|
+
}), F && (v = F, z = z.replace(D, "$1").replace(g, "0.$1")), B != z))
|
|
6035
|
+
return new C(z, v);
|
|
6036
6036
|
if (C.DEBUG)
|
|
6037
6037
|
throw Error(Re + "Not a" + (F ? " base " + F : "") + " number: " + B);
|
|
6038
6038
|
A.s = null;
|
|
@@ -6040,27 +6040,27 @@ function Ql(e) {
|
|
|
6040
6040
|
A.c = A.e = null;
|
|
6041
6041
|
};
|
|
6042
6042
|
}();
|
|
6043
|
-
function
|
|
6044
|
-
var f, A, B, k, F, v,
|
|
6043
|
+
function S(h, D, g, P) {
|
|
6044
|
+
var f, A, B, k, F, v, z, j = h.c, O = Jt;
|
|
6045
6045
|
if (j) {
|
|
6046
6046
|
e: {
|
|
6047
6047
|
for (f = 1, k = j[0]; k >= 10; k /= 10, f++) ;
|
|
6048
6048
|
if (A = D - f, A < 0)
|
|
6049
|
-
A += _, B = D, F = j[v = 0],
|
|
6049
|
+
A += _, B = D, F = j[v = 0], z = Ke(F / O[f - B - 1] % 10);
|
|
6050
6050
|
else if (v = Zt((A + 1) / _), v >= j.length)
|
|
6051
6051
|
if (P) {
|
|
6052
6052
|
for (; j.length <= v; j.push(0)) ;
|
|
6053
|
-
F =
|
|
6053
|
+
F = z = 0, f = 1, A %= _, B = A - _ + 1;
|
|
6054
6054
|
} else
|
|
6055
6055
|
break e;
|
|
6056
6056
|
else {
|
|
6057
6057
|
for (F = k = j[v], f = 1; k >= 10; k /= 10, f++) ;
|
|
6058
|
-
A %= _, B = A - _ + f,
|
|
6058
|
+
A %= _, B = A - _ + f, z = B < 0 ? 0 : Ke(F / O[f - B - 1] % 10);
|
|
6059
6059
|
}
|
|
6060
6060
|
if (P = P || D < 0 || // Are there any non-zero digits after the rounding digit?
|
|
6061
6061
|
// The expression n % pows10[d - j - 1] returns all digits of n to the right
|
|
6062
6062
|
// of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714.
|
|
6063
|
-
j[v + 1] != null || (B < 0 ? F : F % O[f - B - 1]), P = g < 4 ? (
|
|
6063
|
+
j[v + 1] != null || (B < 0 ? F : F % O[f - B - 1]), P = g < 4 ? (z || P) && (g == 0 || g == (h.s < 0 ? 3 : 2)) : z > 5 || z == 5 && (g == 4 || P || g == 6 && // Check whether the digit to the left of the rounding digit is odd.
|
|
6064
6064
|
(A > 0 ? B > 0 ? F / O[f - B] : 0 : j[v - 1]) % 10 & 1 || g == (h.s < 0 ? 8 : 7)), D < 1 || !j[0])
|
|
6065
6065
|
return j.length = 0, P ? (D -= h.e + 1, j[0] = O[(_ - D % _) % _], h.e = -D || 0) : j[0] = h.e = 0, h;
|
|
6066
6066
|
if (A == 0 ? (j.length = v, k = 1, v--) : (j.length = v + 1, k = O[_ - A], j[v] = B > 0 ? Ke(F / O[f - B] % O[B]) * k : 0), P)
|
|
@@ -6092,7 +6092,7 @@ function Ql(e) {
|
|
|
6092
6092
|
}, t.decimalPlaces = t.dp = function(h, D) {
|
|
6093
6093
|
var g, P, f, A = this;
|
|
6094
6094
|
if (h != null)
|
|
6095
|
-
return ke(h, 0,
|
|
6095
|
+
return ke(h, 0, Se), D == null ? D = r : ke(D, 0, 8), S(new C(A), h + A.e + 1, D);
|
|
6096
6096
|
if (!(g = A.c)) return null;
|
|
6097
6097
|
if (P = ((f = g.length - 1) - Xe(this.e / _)) * _, f = g[f]) for (; f % 10 == 0; f /= 10, P--) ;
|
|
6098
6098
|
return P < 0 && (P = 0), P;
|
|
@@ -6101,11 +6101,11 @@ function Ql(e) {
|
|
|
6101
6101
|
}, t.dividedToIntegerBy = t.idiv = function(h, D) {
|
|
6102
6102
|
return n(this, new C(h, D), 0, 1);
|
|
6103
6103
|
}, t.exponentiatedBy = t.pow = function(h, D) {
|
|
6104
|
-
var g, P, f, A, B, k, F, v,
|
|
6104
|
+
var g, P, f, A, B, k, F, v, z, j = this;
|
|
6105
6105
|
if (h = new C(h), h.c && !h.isInteger())
|
|
6106
6106
|
throw Error(Re + "Exponent not an integer: " + y(h));
|
|
6107
6107
|
if (D != null && (D = new C(D)), k = h.e > 14, !j.c || !j.c[0] || j.c[0] == 1 && !j.e && j.c.length == 1 || !h.c || !h.c[0])
|
|
6108
|
-
return
|
|
6108
|
+
return z = new C(Math.pow(+y(j), k ? h.s * (2 - Ii(h)) : +y(h))), D ? z.mod(D) : z;
|
|
6109
6109
|
if (F = h.s < 0, D) {
|
|
6110
6110
|
if (D.c ? !D.c[0] : !D.s) return new C(NaN);
|
|
6111
6111
|
P = !F && j.isInteger() && D.isInteger(), P && (j = j.mod(D));
|
|
@@ -6114,15 +6114,15 @@ function Ql(e) {
|
|
|
6114
6114
|
return A = j.s < 0 && Ii(h) ? -0 : 0, j.e > -1 && (A = 1 / A), new C(F ? 1 / A : A);
|
|
6115
6115
|
b && (A = Zt(b / _ + 2));
|
|
6116
6116
|
}
|
|
6117
|
-
for (k ? (g = new C(0.5), F && (h.s = 1), v = Ii(h)) : (f = Math.abs(+y(h)), v = f % 2),
|
|
6117
|
+
for (k ? (g = new C(0.5), F && (h.s = 1), v = Ii(h)) : (f = Math.abs(+y(h)), v = f % 2), z = new C(c); ; ) {
|
|
6118
6118
|
if (v) {
|
|
6119
|
-
if (
|
|
6120
|
-
A ?
|
|
6119
|
+
if (z = z.times(j), !z.c) break;
|
|
6120
|
+
A ? z.c.length > A && (z.c.length = A) : P && (z = z.mod(D));
|
|
6121
6121
|
}
|
|
6122
6122
|
if (f) {
|
|
6123
6123
|
if (f = Ke(f / 2), f === 0) break;
|
|
6124
6124
|
v = f % 2;
|
|
6125
|
-
} else if (h = h.times(g),
|
|
6125
|
+
} else if (h = h.times(g), S(h, h.e + 1, 1), h.e > 14)
|
|
6126
6126
|
v = Ii(h);
|
|
6127
6127
|
else {
|
|
6128
6128
|
if (f = +y(h), f === 0) break;
|
|
@@ -6130,10 +6130,10 @@ function Ql(e) {
|
|
|
6130
6130
|
}
|
|
6131
6131
|
j = j.times(j), A ? j.c && j.c.length > A && (j.c.length = A) : P && (j = j.mod(D));
|
|
6132
6132
|
}
|
|
6133
|
-
return P ?
|
|
6133
|
+
return P ? z : (F && (z = c.div(z)), D ? z.mod(D) : A ? S(z, b, r, B) : z);
|
|
6134
6134
|
}, t.integerValue = function(h) {
|
|
6135
6135
|
var D = new C(this);
|
|
6136
|
-
return h == null ? h = r : ke(h, 0, 8),
|
|
6136
|
+
return h == null ? h = r : ke(h, 0, 8), S(D, D.e + 1, h);
|
|
6137
6137
|
}, t.isEqualTo = t.eq = function(h, D) {
|
|
6138
6138
|
return Yn(this, new C(h, D)) === 0;
|
|
6139
6139
|
}, t.isFinite = function() {
|
|
@@ -6161,45 +6161,45 @@ function Ql(e) {
|
|
|
6161
6161
|
if (h = new C(h, D), D = h.s, !k || !D) return new C(NaN);
|
|
6162
6162
|
if (k != D)
|
|
6163
6163
|
return h.s = -D, B.plus(h);
|
|
6164
|
-
var F = B.e / _, v = h.e / _,
|
|
6164
|
+
var F = B.e / _, v = h.e / _, z = B.c, j = h.c;
|
|
6165
6165
|
if (!F || !v) {
|
|
6166
|
-
if (!
|
|
6167
|
-
if (!
|
|
6168
|
-
return j[0] ? (h.s = -D, h) : new C(
|
|
6166
|
+
if (!z || !j) return z ? (h.s = -D, h) : new C(j ? B : NaN);
|
|
6167
|
+
if (!z[0] || !j[0])
|
|
6168
|
+
return j[0] ? (h.s = -D, h) : new C(z[0] ? B : (
|
|
6169
6169
|
// IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity
|
|
6170
6170
|
r == 3 ? -0 : 0
|
|
6171
6171
|
));
|
|
6172
6172
|
}
|
|
6173
|
-
if (F = Xe(F), v = Xe(v),
|
|
6174
|
-
for ((A = k < 0) ? (k = -k, f =
|
|
6173
|
+
if (F = Xe(F), v = Xe(v), z = z.slice(), k = F - v) {
|
|
6174
|
+
for ((A = k < 0) ? (k = -k, f = z) : (v = F, f = j), f.reverse(), D = k; D--; f.push(0)) ;
|
|
6175
6175
|
f.reverse();
|
|
6176
6176
|
} else
|
|
6177
|
-
for (P = (A = (k =
|
|
6178
|
-
if (
|
|
6179
|
-
A =
|
|
6177
|
+
for (P = (A = (k = z.length) < (D = j.length)) ? k : D, k = D = 0; D < P; D++)
|
|
6178
|
+
if (z[D] != j[D]) {
|
|
6179
|
+
A = z[D] < j[D];
|
|
6180
6180
|
break;
|
|
6181
6181
|
}
|
|
6182
|
-
if (A && (f =
|
|
6182
|
+
if (A && (f = z, z = j, j = f, h.s = -h.s), D = (P = j.length) - (g = z.length), D > 0) for (; D--; z[g++] = 0) ;
|
|
6183
6183
|
for (D = an - 1; P > k; ) {
|
|
6184
|
-
if (
|
|
6185
|
-
for (g = P; g && !
|
|
6186
|
-
--
|
|
6184
|
+
if (z[--P] < j[P]) {
|
|
6185
|
+
for (g = P; g && !z[--g]; z[g] = D) ;
|
|
6186
|
+
--z[g], z[P] += an;
|
|
6187
6187
|
}
|
|
6188
|
-
|
|
6188
|
+
z[P] -= j[P];
|
|
6189
6189
|
}
|
|
6190
|
-
for (;
|
|
6191
|
-
return
|
|
6190
|
+
for (; z[0] == 0; z.splice(0, 1), --v) ;
|
|
6191
|
+
return z[0] ? T(h, z, v) : (h.s = r == 3 ? -1 : 1, h.c = [h.e = 0], h);
|
|
6192
6192
|
}, t.modulo = t.mod = function(h, D) {
|
|
6193
6193
|
var g, P, f = this;
|
|
6194
6194
|
return h = new C(h, D), !f.c || !h.s || h.c && !h.c[0] ? new C(NaN) : !h.c || f.c && !f.c[0] ? new C(f) : (x == 9 ? (P = h.s, h.s = 1, g = n(f, h, 0, 3), h.s = P, g.s *= P) : g = n(f, h, 0, x), h = f.minus(g.times(h)), !h.c[0] && x == 1 && (h.s = f.s), h);
|
|
6195
6195
|
}, t.multipliedBy = t.times = function(h, D) {
|
|
6196
|
-
var g, P, f, A, B, k, F, v,
|
|
6196
|
+
var g, P, f, A, B, k, F, v, z, j, O, U, Y, G, ae, J = this, ee = J.c, le = (h = new C(h, D)).c;
|
|
6197
6197
|
if (!ee || !le || !ee[0] || !le[0])
|
|
6198
6198
|
return !J.s || !h.s || ee && !ee[0] && !le || le && !le[0] && !ee ? h.c = h.e = h.s = null : (h.s *= J.s, !ee || !le ? h.c = h.e = null : (h.c = [0], h.e = 0)), h;
|
|
6199
6199
|
for (P = Xe(J.e / _) + Xe(h.e / _), h.s *= J.s, F = ee.length, j = le.length, F < j && (Y = ee, ee = le, le = Y, f = F, F = j, j = f), f = F + j, Y = []; f--; Y.push(0)) ;
|
|
6200
6200
|
for (G = an, ae = jn, f = j; --f >= 0; ) {
|
|
6201
6201
|
for (g = 0, O = le[f] % ae, U = le[f] / ae | 0, B = F, A = f + B; A > f; )
|
|
6202
|
-
v = ee[--B] % ae,
|
|
6202
|
+
v = ee[--B] % ae, z = ee[B] / ae | 0, k = U * v + z * O, v = O * v + k % ae * ae + Y[A] + g, g = (v / G | 0) + (k / ae | 0) + U * z, Y[A--] = v % G;
|
|
6203
6203
|
Y[A] = g;
|
|
6204
6204
|
}
|
|
6205
6205
|
return g ? ++P : Y.splice(0, 1), T(h, Y, P);
|
|
@@ -6226,7 +6226,7 @@ function Ql(e) {
|
|
|
6226
6226
|
}, t.precision = t.sd = function(h, D) {
|
|
6227
6227
|
var g, P, f, A = this;
|
|
6228
6228
|
if (h != null && h !== !!h)
|
|
6229
|
-
return ke(h, 1,
|
|
6229
|
+
return ke(h, 1, Se), D == null ? D = r : ke(D, 0, 8), S(new C(A), h, D);
|
|
6230
6230
|
if (!(g = A.c)) return null;
|
|
6231
6231
|
if (f = g.length - 1, P = f * _ + 1, f = g[f]) {
|
|
6232
6232
|
for (; f % 10 == 0; f /= 10, P--) ;
|
|
@@ -6236,28 +6236,28 @@ function Ql(e) {
|
|
|
6236
6236
|
}, t.shiftedBy = function(h) {
|
|
6237
6237
|
return ke(h, -Yt, Yt), this.times("1e" + h);
|
|
6238
6238
|
}, t.squareRoot = t.sqrt = function() {
|
|
6239
|
-
var h, D, g, P, f, A = this, B = A.c, k = A.s, F = A.e, v = a + 4,
|
|
6239
|
+
var h, D, g, P, f, A = this, B = A.c, k = A.s, F = A.e, v = a + 4, z = new C("0.5");
|
|
6240
6240
|
if (k !== 1 || !B || !B[0])
|
|
6241
6241
|
return new C(!k || k < 0 && (!B || B[0]) ? NaN : B ? A : 1 / 0);
|
|
6242
6242
|
if (k = Math.sqrt(+y(A)), k == 0 || k == 1 / 0 ? (D = Ge(B), (D.length + F) % 2 == 0 && (D += "0"), k = Math.sqrt(+D), F = Xe((F + 1) / 2) - (F < 0 || F % 2), k == 1 / 0 ? D = "5e" + F : (D = k.toExponential(), D = D.slice(0, D.indexOf("e") + 1) + F), g = new C(D)) : g = new C(k + ""), g.c[0]) {
|
|
6243
6243
|
for (F = g.e, k = F + v, k < 3 && (k = 0); ; )
|
|
6244
|
-
if (f = g, g =
|
|
6244
|
+
if (f = g, g = z.times(f.plus(n(A, f, v, 1))), Ge(f.c).slice(0, k) === (D = Ge(g.c)).slice(0, k))
|
|
6245
6245
|
if (g.e < F && --k, D = D.slice(k - 3, k + 1), D == "9999" || !P && D == "4999") {
|
|
6246
|
-
if (!P && (
|
|
6246
|
+
if (!P && (S(f, f.e + a + 2, 0), f.times(f).eq(A))) {
|
|
6247
6247
|
g = f;
|
|
6248
6248
|
break;
|
|
6249
6249
|
}
|
|
6250
6250
|
v += 4, k += 4, P = 1;
|
|
6251
6251
|
} else {
|
|
6252
|
-
(!+D || !+D.slice(1) && D.charAt(0) == "5") && (
|
|
6252
|
+
(!+D || !+D.slice(1) && D.charAt(0) == "5") && (S(g, g.e + a + 2, 1), h = !g.times(g).eq(A));
|
|
6253
6253
|
break;
|
|
6254
6254
|
}
|
|
6255
6255
|
}
|
|
6256
|
-
return
|
|
6256
|
+
return S(g, g.e + a + 1, r, h);
|
|
6257
6257
|
}, t.toExponential = function(h, D) {
|
|
6258
|
-
return h != null && (ke(h, 0,
|
|
6258
|
+
return h != null && (ke(h, 0, Se), h++), M(this, h, D, 1);
|
|
6259
6259
|
}, t.toFixed = function(h, D) {
|
|
6260
|
-
return h != null && (ke(h, 0,
|
|
6260
|
+
return h != null && (ke(h, 0, Se), h = h + this.e + 1), M(this, h, D);
|
|
6261
6261
|
}, t.toFormat = function(h, D, g) {
|
|
6262
6262
|
var P, f = this;
|
|
6263
6263
|
if (g == null)
|
|
@@ -6265,34 +6265,34 @@ function Ql(e) {
|
|
|
6265
6265
|
else if (typeof g != "object")
|
|
6266
6266
|
throw Error(Re + "Argument not an object: " + g);
|
|
6267
6267
|
if (P = f.toFixed(h, D), f.c) {
|
|
6268
|
-
var A, B = P.split("."), k = +g.groupSize, F = +g.secondaryGroupSize, v = g.groupSeparator || "",
|
|
6268
|
+
var A, B = P.split("."), k = +g.groupSize, F = +g.secondaryGroupSize, v = g.groupSeparator || "", z = B[0], j = B[1], O = f.s < 0, U = O ? z.slice(1) : z, Y = U.length;
|
|
6269
6269
|
if (F && (A = k, k = F, F = A, Y -= A), k > 0 && Y > 0) {
|
|
6270
|
-
for (A = Y % k || k,
|
|
6271
|
-
F > 0 && (
|
|
6270
|
+
for (A = Y % k || k, z = U.substr(0, A); A < Y; A += k) z += v + U.substr(A, k);
|
|
6271
|
+
F > 0 && (z += v + U.slice(A)), O && (z = "-" + z);
|
|
6272
6272
|
}
|
|
6273
|
-
P = j ?
|
|
6273
|
+
P = j ? z + (g.decimalSeparator || "") + ((F = +g.fractionGroupSize) ? j.replace(
|
|
6274
6274
|
new RegExp("\\d{" + F + "}\\B", "g"),
|
|
6275
6275
|
"$&" + (g.fractionGroupSeparator || "")
|
|
6276
|
-
) : j) :
|
|
6276
|
+
) : j) : z;
|
|
6277
6277
|
}
|
|
6278
6278
|
return (g.prefix || "") + P + (g.suffix || "");
|
|
6279
6279
|
}, t.toFraction = function(h) {
|
|
6280
|
-
var D, g, P, f, A, B, k, F, v,
|
|
6280
|
+
var D, g, P, f, A, B, k, F, v, z, j, O, U = this, Y = U.c;
|
|
6281
6281
|
if (h != null && (k = new C(h), !k.isInteger() && (k.c || k.s !== 1) || k.lt(c)))
|
|
6282
6282
|
throw Error(Re + "Argument " + (k.isInteger() ? "out of range: " : "not an integer: ") + y(k));
|
|
6283
6283
|
if (!Y) return new C(U);
|
|
6284
|
-
for (D = new C(c), v = g = new C(c), P = F = new C(c), O = Ge(Y), A = D.e = O.length - U.e - 1, D.c[0] = Jt[(B = A % _) < 0 ? _ + B : B], h = !h || k.comparedTo(D) > 0 ? A > 0 ? D : v : k, B = u, u = 1 / 0, k = new C(O), F.c[0] = 0;
|
|
6285
|
-
g = P, P = f, v = F.plus(
|
|
6284
|
+
for (D = new C(c), v = g = new C(c), P = F = new C(c), O = Ge(Y), A = D.e = O.length - U.e - 1, D.c[0] = Jt[(B = A % _) < 0 ? _ + B : B], h = !h || k.comparedTo(D) > 0 ? A > 0 ? D : v : k, B = u, u = 1 / 0, k = new C(O), F.c[0] = 0; z = n(k, D, 0, 1), f = g.plus(z.times(P)), f.comparedTo(h) != 1; )
|
|
6285
|
+
g = P, P = f, v = F.plus(z.times(f = v)), F = f, D = k.minus(z.times(f = D)), k = f;
|
|
6286
6286
|
return f = n(h.minus(g), P, 0, 1), F = F.plus(f.times(v)), g = g.plus(f.times(P)), F.s = v.s = U.s, A = A * 2, j = n(v, P, A, r).minus(U).abs().comparedTo(
|
|
6287
6287
|
n(F, g, A, r).minus(U).abs()
|
|
6288
6288
|
) < 1 ? [v, P] : [F, g], u = B, j;
|
|
6289
6289
|
}, t.toNumber = function() {
|
|
6290
6290
|
return +y(this);
|
|
6291
6291
|
}, t.toPrecision = function(h, D) {
|
|
6292
|
-
return h != null && ke(h, 1,
|
|
6292
|
+
return h != null && ke(h, 1, Se), M(this, h, D, 2);
|
|
6293
6293
|
}, t.toString = function(h) {
|
|
6294
6294
|
var D, g = this, P = g.s, f = g.e;
|
|
6295
|
-
return f === null ? P ? (D = "Infinity", P < 0 && (D = "-" + D)) : D = "NaN" : (h == null ? D = f <= s || f >= l ? Hi(Ge(g.c), f) : kn(Ge(g.c), f, "0") : h === 10 && I ? (g =
|
|
6295
|
+
return f === null ? P ? (D = "Infinity", P < 0 && (D = "-" + D)) : D = "NaN" : (h == null ? D = f <= s || f >= l ? Hi(Ge(g.c), f) : kn(Ge(g.c), f, "0") : h === 10 && I ? (g = S(new C(g), a + f + 1, r), D = kn(Ge(g.c), g.e, "0")) : (ke(h, 2, E.length, "Base"), D = o(kn(Ge(g.c), f, "0"), 10, h, P, !0)), P < 0 && g.c[0] && (D = "-" + D)), D;
|
|
6296
6296
|
}, t.valueOf = t.toJSON = function() {
|
|
6297
6297
|
return y(this);
|
|
6298
6298
|
}, t._isBigNumber = !0, t[Symbol.toStringTag] = "BigNumber", t[Symbol.for("nodejs.util.inspect.custom")] = t.valueOf, e != null && C.set(e), C;
|
|
@@ -6385,7 +6385,7 @@ function fD(e) {
|
|
|
6385
6385
|
function Qt(e) {
|
|
6386
6386
|
return e.toString().replace(/,/g, "");
|
|
6387
6387
|
}
|
|
6388
|
-
const
|
|
6388
|
+
const zo = (e) => e === "0" ? e : e == null ? void 0 : e.replace(/0+$/, "").replace(/\.$/, "");
|
|
6389
6389
|
function di(e, n = ui) {
|
|
6390
6390
|
if (e === void 0) return "";
|
|
6391
6391
|
if (typeof e == "string") {
|
|
@@ -6400,7 +6400,7 @@ function _l(e, n, o) {
|
|
|
6400
6400
|
const i = we(e), c = we(n).minus(i).dividedBy(i).multipliedBy(100);
|
|
6401
6401
|
return o ? c.absoluteValue().toFixed(0) : c.toFixed(0);
|
|
6402
6402
|
}
|
|
6403
|
-
const
|
|
6403
|
+
const zc = (e) => {
|
|
6404
6404
|
if (e)
|
|
6405
6405
|
return e < 60 ? `${e} ${fo("sec", e)}` : e < 3600 ? `${Math.round(e / 60)} ${fo("min", Math.round(e / 60))}` : `${Math.round(e / 3600)} ${fo("hr", Math.round(e / 3600))}`;
|
|
6406
6406
|
}, so = N(K).attrs({
|
|
@@ -6715,7 +6715,7 @@ function BD() {
|
|
|
6715
6715
|
const n = Date.now() - e.now(), o = e.timeOrigin == null ? n : e.timeOrigin;
|
|
6716
6716
|
return () => (o + e.now()) / om;
|
|
6717
6717
|
}
|
|
6718
|
-
const
|
|
6718
|
+
const zD = BD();
|
|
6719
6719
|
(() => {
|
|
6720
6720
|
const { performance: e } = Fn;
|
|
6721
6721
|
if (!e || !e.now)
|
|
@@ -6743,8 +6743,8 @@ function Ao() {
|
|
|
6743
6743
|
)
|
|
6744
6744
|
);
|
|
6745
6745
|
}
|
|
6746
|
-
function
|
|
6747
|
-
if (n.user && (!e.ipAddress && n.user.ip_address && (e.ipAddress = n.user.ip_address), !e.did && !n.did && (e.did = n.user.id || n.user.email || n.user.username)), e.timestamp = n.timestamp ||
|
|
6746
|
+
function SD(e, n = {}) {
|
|
6747
|
+
if (n.user && (!e.ipAddress && n.user.ip_address && (e.ipAddress = n.user.ip_address), !e.did && !n.did && (e.did = n.user.id || n.user.email || n.user.username)), e.timestamp = n.timestamp || zD(), n.abnormal_mechanism && (e.abnormal_mechanism = n.abnormal_mechanism), n.ignoreDuration && (e.ignoreDuration = n.ignoreDuration), n.sid && (e.sid = n.sid.length === 32 ? n.sid : Ao()), n.init !== void 0 && (e.init = n.init), !e.did && n.did && (e.did = `${n.did}`), typeof n.started == "number" && (e.started = n.started), e.ignoreDuration)
|
|
6748
6748
|
e.duration = void 0;
|
|
6749
6749
|
else if (typeof n.duration == "number")
|
|
6750
6750
|
e.duration = n.duration;
|
|
@@ -6770,12 +6770,12 @@ function tm(e, n, o = 2) {
|
|
|
6770
6770
|
Object.prototype.hasOwnProperty.call(n, t) && (i[t] = tm(i[t], n[t], o - 1));
|
|
6771
6771
|
return i;
|
|
6772
6772
|
}
|
|
6773
|
-
const
|
|
6773
|
+
const Sc = "_sentrySpan";
|
|
6774
6774
|
function Gr(e, n) {
|
|
6775
|
-
n ? MD(e,
|
|
6775
|
+
n ? MD(e, Sc, n) : delete e[Sc];
|
|
6776
6776
|
}
|
|
6777
6777
|
function Kr(e) {
|
|
6778
|
-
return e[
|
|
6778
|
+
return e[Sc];
|
|
6779
6779
|
}
|
|
6780
6780
|
const qD = 100;
|
|
6781
6781
|
class ga {
|
|
@@ -6867,7 +6867,7 @@ class ga {
|
|
|
6867
6867
|
id: void 0,
|
|
6868
6868
|
ip_address: void 0,
|
|
6869
6869
|
username: void 0
|
|
6870
|
-
}, this._session &&
|
|
6870
|
+
}, this._session && SD(this._session, { user: n }), this._notifyScopeListeners(), this;
|
|
6871
6871
|
}
|
|
6872
6872
|
/**
|
|
6873
6873
|
* @inheritDoc
|
|
@@ -7178,19 +7178,19 @@ class HD {
|
|
|
7178
7178
|
return this._stack.length <= 1 ? !1 : !!this._stack.pop();
|
|
7179
7179
|
}
|
|
7180
7180
|
}
|
|
7181
|
-
function
|
|
7181
|
+
function So() {
|
|
7182
7182
|
const e = nm(), n = xa(e);
|
|
7183
7183
|
return n.stack = n.stack || new HD(jD(), ID());
|
|
7184
7184
|
}
|
|
7185
7185
|
function TD(e) {
|
|
7186
|
-
return
|
|
7186
|
+
return So().withScope(e);
|
|
7187
7187
|
}
|
|
7188
7188
|
function ND(e, n) {
|
|
7189
|
-
const o =
|
|
7189
|
+
const o = So();
|
|
7190
7190
|
return o.withScope(() => (o.getStackTop().scope = e, n(e)));
|
|
7191
7191
|
}
|
|
7192
7192
|
function Xr(e) {
|
|
7193
|
-
return
|
|
7193
|
+
return So().withScope(() => e(So().getIsolationScope()));
|
|
7194
7194
|
}
|
|
7195
7195
|
function VD() {
|
|
7196
7196
|
return {
|
|
@@ -7198,8 +7198,8 @@ function VD() {
|
|
|
7198
7198
|
withScope: TD,
|
|
7199
7199
|
withSetScope: ND,
|
|
7200
7200
|
withSetIsolationScope: (e, n) => Xr(n),
|
|
7201
|
-
getCurrentScope: () =>
|
|
7202
|
-
getIsolationScope: () =>
|
|
7201
|
+
getCurrentScope: () => So().getScope(),
|
|
7202
|
+
getIsolationScope: () => So().getIsolationScope()
|
|
7203
7203
|
};
|
|
7204
7204
|
}
|
|
7205
7205
|
function LD(e) {
|
|
@@ -7388,7 +7388,7 @@ function KD(e) {
|
|
|
7388
7388
|
let l = "";
|
|
7389
7389
|
o ? l = "axelarTransfer" : i ? l = "ibcTransfer" : t ? l = "cctpTransfer" : c ? l = "hyperlaneTransfer" : a ? l = "opInitTransfer" : r ? l = "goFastTransfer" : s && (l = "stargateTransfer");
|
|
7390
7390
|
const p = (b) => {
|
|
7391
|
-
var w, E, I, C, M, H, T,
|
|
7391
|
+
var w, E, I, C, M, H, T, S;
|
|
7392
7392
|
switch (l) {
|
|
7393
7393
|
case "ibcTransfer":
|
|
7394
7394
|
return b === "send" ? (w = i.packetTXs.sendTx) == null ? void 0 : w.explorerLink : (E = i.packetTXs.receiveTx) == null ? void 0 : E.explorerLink;
|
|
@@ -7397,7 +7397,7 @@ function KD(e) {
|
|
|
7397
7397
|
case "axelarTransfer":
|
|
7398
7398
|
return o.axelarScanLink;
|
|
7399
7399
|
default:
|
|
7400
|
-
return b === "send" ? (H = (M = n[l]) == null ? void 0 : M.txs.sendTx) == null ? void 0 : H.explorerLink : (
|
|
7400
|
+
return b === "send" ? (H = (M = n[l]) == null ? void 0 : M.txs.sendTx) == null ? void 0 : H.explorerLink : (S = (T = n[l]) == null ? void 0 : T.txs.receiveTx) == null ? void 0 : S.explorerLink;
|
|
7401
7401
|
}
|
|
7402
7402
|
}, u = {
|
|
7403
7403
|
...i,
|
|
@@ -7464,7 +7464,7 @@ const fa = ({
|
|
|
7464
7464
|
txsRequired: n,
|
|
7465
7465
|
enabled: o
|
|
7466
7466
|
}) => {
|
|
7467
|
-
const i = R(
|
|
7467
|
+
const i = R(zn), [t, c] = pe(!1), [a, r] = pe(void 0), s = W(() => ["txs-status", n, e], [e, n]);
|
|
7468
7468
|
return fi({
|
|
7469
7469
|
queryKey: s,
|
|
7470
7470
|
queryFn: async ({ queryKey: [, l, p] }) => {
|
|
@@ -7541,7 +7541,7 @@ const {
|
|
|
7541
7541
|
), pn = vi(
|
|
7542
7542
|
"destinationAsset",
|
|
7543
7543
|
void 0
|
|
7544
|
-
),
|
|
7544
|
+
), zt = $(
|
|
7545
7545
|
(e) => {
|
|
7546
7546
|
var n;
|
|
7547
7547
|
return ((n = e(pn)) == null ? void 0 : n.amount) ?? "";
|
|
@@ -7552,7 +7552,7 @@ const {
|
|
|
7552
7552
|
), am = $(null, (e, n) => {
|
|
7553
7553
|
n(Ee, (o) => ({ ...o, amount: "" })), n(Ko, "", void 0, !0), n(pn, (o) => ({ ...o, amount: "" })), n(Xo, "", void 0, !0);
|
|
7554
7554
|
}), ex = $((e) => {
|
|
7555
|
-
const n = e(Fi), o = e(
|
|
7555
|
+
const n = e(Fi), o = e(zt), i = e(Ko), t = e(Xo), { isLoading: c } = e(Zo), a = e(On), r = n !== i, s = o !== t;
|
|
7556
7556
|
if (a === "swap-in")
|
|
7557
7557
|
return r || c;
|
|
7558
7558
|
if (a === "swap-out")
|
|
@@ -7562,7 +7562,7 @@ const {
|
|
|
7562
7562
|
"swap-in"
|
|
7563
7563
|
), lt = $(!1), nx = $(null, (e, n) => {
|
|
7564
7564
|
const o = e(Ee), i = e(pn), t = e(On);
|
|
7565
|
-
n(lt, !0), n(Ee, { ...i }), n(Fi, (i == null ? void 0 : i.amount) ?? ""), n(pn, { ...o }), n(
|
|
7565
|
+
n(lt, !0), n(Ee, { ...i }), n(Fi, (i == null ? void 0 : i.amount) ?? ""), n(pn, { ...o }), n(zt, (o == null ? void 0 : o.amount) ?? "", () => {
|
|
7566
7566
|
n(On, t === "swap-in" ? "swap-out" : "swap-in"), n(lt, !1);
|
|
7567
7567
|
});
|
|
7568
7568
|
}), ba = $(), ri = {
|
|
@@ -7634,7 +7634,7 @@ const {
|
|
|
7634
7634
|
}
|
|
7635
7635
|
};
|
|
7636
7636
|
}, cx = lo((e) => {
|
|
7637
|
-
const n = e(
|
|
7637
|
+
const n = e(zn), o = e(ix), i = e(An), t = e(lt), c = e(Ie), a = e(lm), r = e(sm), s = o !== void 0 && (Number(o.amountIn) > 0 || Number(o.amountOut) > 0) && !t && i === Te.SwapPage && c === void 0;
|
|
7638
7638
|
return {
|
|
7639
7639
|
queryKey: ["skipRoute", o, a, r],
|
|
7640
7640
|
queryFn: async () => {
|
|
@@ -7688,7 +7688,7 @@ const {
|
|
|
7688
7688
|
n(Wn, t);
|
|
7689
7689
|
});
|
|
7690
7690
|
lo((e) => {
|
|
7691
|
-
const n = e(
|
|
7691
|
+
const n = e(zn), o = e(Wn), i = o.find(
|
|
7692
7692
|
(t) => t.status !== "completed" && t.status !== "failed"
|
|
7693
7693
|
);
|
|
7694
7694
|
return {
|
|
@@ -8082,6 +8082,11 @@ const sx = [
|
|
|
8082
8082
|
coinDenom: "whale",
|
|
8083
8083
|
coinMinimalDenom: "ibc/3F882513A0CCD1C4110ACB7C6C761AC7B48974C9D2D439CD6F652F9B44362518",
|
|
8084
8084
|
coinDecimals: 6
|
|
8085
|
+
},
|
|
8086
|
+
{
|
|
8087
|
+
coinDenom: "CULT",
|
|
8088
|
+
coinMinimalDenom: "ibc/7364C29ED876F05A82628B738AA2F0D53724991FD0220858570D7A3844B67F58",
|
|
8089
|
+
coinDecimals: 6
|
|
8085
8090
|
}
|
|
8086
8091
|
],
|
|
8087
8092
|
rest: "https://api.mainnet.archway.io",
|
|
@@ -8639,6 +8644,16 @@ const sx = [
|
|
|
8639
8644
|
coinDenom: "Sherpa",
|
|
8640
8645
|
coinMinimalDenom: "ibc/02EE50AB3A4B7540FA001B24CB75E688016F65547CABE885EA184338440080B2",
|
|
8641
8646
|
coinDecimals: 6
|
|
8647
|
+
},
|
|
8648
|
+
{
|
|
8649
|
+
coinDenom: "atone",
|
|
8650
|
+
coinMinimalDenom: "ibc/B2219CA05421EA988F83E5E824BF69362E80A6A87503EFD18B92C91C9E03763D",
|
|
8651
|
+
coinDecimals: 6
|
|
8652
|
+
},
|
|
8653
|
+
{
|
|
8654
|
+
coinDenom: "phmn",
|
|
8655
|
+
coinMinimalDenom: "ibc/12C0B8B561AFCFDA3C73DEE0F7F84AA2B860D48493C27E8E81A5D14724FAB08B",
|
|
8656
|
+
coinDecimals: 6
|
|
8642
8657
|
}
|
|
8643
8658
|
],
|
|
8644
8659
|
rest: "https://rest.getbze.com",
|
|
@@ -9666,6 +9681,11 @@ const sx = [
|
|
|
9666
9681
|
coinDenom: "Chihuahua",
|
|
9667
9682
|
coinMinimalDenom: "factory/chihuahua1mzcfzh4ufk2cta59pm9a6wdyvv8c4v5epqzj46/Chihuahua",
|
|
9668
9683
|
coinDecimals: 6
|
|
9684
|
+
},
|
|
9685
|
+
{
|
|
9686
|
+
coinDenom: "WLF",
|
|
9687
|
+
coinMinimalDenom: "factory/chihuahua1mzcfzh4ufk2cta59pm9a6wdyvv8c4v5epqzj46/wirelibertyfence",
|
|
9688
|
+
coinDecimals: 6
|
|
9669
9689
|
}
|
|
9670
9690
|
],
|
|
9671
9691
|
rest: "https://api.chihuahua.wtf",
|
|
@@ -10230,6 +10250,11 @@ const sx = [
|
|
|
10230
10250
|
coinDenom: "crowdp",
|
|
10231
10251
|
coinMinimalDenom: "ibc/74C4FE1EC3BDD66B02C691496371DDBB86DDE512C5BC072D76262C6C9B4B20D1",
|
|
10232
10252
|
coinDecimals: 18
|
|
10253
|
+
},
|
|
10254
|
+
{
|
|
10255
|
+
coinDenom: "dgn",
|
|
10256
|
+
coinMinimalDenom: "ibc/7A64BFC809209157A1330CE199891B699A2C3B55C384EAFCCDD23ECDC735BA73",
|
|
10257
|
+
coinDecimals: 6
|
|
10233
10258
|
}
|
|
10234
10259
|
],
|
|
10235
10260
|
rest: "https://cosmoshub.lava.build:443",
|
|
@@ -10646,8 +10671,8 @@ const sx = [
|
|
|
10646
10671
|
coinDecimals: 6
|
|
10647
10672
|
}
|
|
10648
10673
|
],
|
|
10649
|
-
rest: "https://dungeon.api.quasarstaking.ai",
|
|
10650
|
-
rpc: "https://dungeon.rpc.quasarstaking.ai",
|
|
10674
|
+
rest: "https://dungeon-wallet.api.quasarstaking.ai",
|
|
10675
|
+
rpc: "https://dungeon-wallet.rpc.quasarstaking.ai",
|
|
10651
10676
|
bech32Config: {
|
|
10652
10677
|
bech32PrefixAccAddr: "dungeon",
|
|
10653
10678
|
bech32PrefixAccPub: "dungeonpub",
|
|
@@ -10904,6 +10929,26 @@ const sx = [
|
|
|
10904
10929
|
coinDenom: "axl",
|
|
10905
10930
|
coinMinimalDenom: "ibc/9463E39D230614B313B487836D13A392BD1731928713D4C8427A083627048DB3",
|
|
10906
10931
|
coinDecimals: 6
|
|
10932
|
+
},
|
|
10933
|
+
{
|
|
10934
|
+
coinDenom: "akt",
|
|
10935
|
+
coinMinimalDenom: "ibc/799FDD409719A1122586A629AE8FCA17380351A51C1F47A80A1B8E7F2A491098",
|
|
10936
|
+
coinDecimals: 6
|
|
10937
|
+
},
|
|
10938
|
+
{
|
|
10939
|
+
coinDenom: "tia",
|
|
10940
|
+
coinMinimalDenom: "ibc/45D6B52CAD911A15BD9C2F5FFDA80E26AFCB05C7CD520070790ABC86D2B24229",
|
|
10941
|
+
coinDecimals: 6
|
|
10942
|
+
},
|
|
10943
|
+
{
|
|
10944
|
+
coinDenom: "xion",
|
|
10945
|
+
coinMinimalDenom: "ibc/6BFB09FE2464A7681645610F56BBEFF555A00B8AE146339FEB4609BF40FB0F4A",
|
|
10946
|
+
coinDecimals: 6
|
|
10947
|
+
},
|
|
10948
|
+
{
|
|
10949
|
+
coinDenom: "saga",
|
|
10950
|
+
coinMinimalDenom: "ibc/B88C39AD6C8550716DFD64C3AD28F355633554821249AC9F8BCC21341641CD18",
|
|
10951
|
+
coinDecimals: 6
|
|
10907
10952
|
}
|
|
10908
10953
|
],
|
|
10909
10954
|
rest: "https://api.elys.network",
|
|
@@ -11635,6 +11680,62 @@ const sx = [
|
|
|
11635
11680
|
coinType: 118
|
|
11636
11681
|
}
|
|
11637
11682
|
},
|
|
11683
|
+
{
|
|
11684
|
+
chainId: "ggezchain",
|
|
11685
|
+
currencies: [
|
|
11686
|
+
{
|
|
11687
|
+
coinDenom: "ggez1",
|
|
11688
|
+
coinMinimalDenom: "uggez1",
|
|
11689
|
+
coinDecimals: 6
|
|
11690
|
+
},
|
|
11691
|
+
{
|
|
11692
|
+
coinDenom: "ggz",
|
|
11693
|
+
coinMinimalDenom: "uggz",
|
|
11694
|
+
coinDecimals: 6
|
|
11695
|
+
}
|
|
11696
|
+
],
|
|
11697
|
+
rest: "https://rest.ggez.one",
|
|
11698
|
+
rpc: "https://bc.ggez.one:8443",
|
|
11699
|
+
bech32Config: {
|
|
11700
|
+
bech32PrefixAccAddr: "ggez",
|
|
11701
|
+
bech32PrefixAccPub: "ggezpub",
|
|
11702
|
+
bech32PrefixValAddr: "ggezvaloper",
|
|
11703
|
+
bech32PrefixValPub: "ggezvaloperpub",
|
|
11704
|
+
bech32PrefixConsAddr: "ggezvalcons",
|
|
11705
|
+
bech32PrefixConsPub: "ggezvalconspub"
|
|
11706
|
+
},
|
|
11707
|
+
chainName: "ggezchain",
|
|
11708
|
+
feeCurrencies: [
|
|
11709
|
+
{
|
|
11710
|
+
coinDenom: "ggez1",
|
|
11711
|
+
coinMinimalDenom: "uggez1",
|
|
11712
|
+
coinDecimals: 6,
|
|
11713
|
+
gasPriceStep: {
|
|
11714
|
+
low: 0.4,
|
|
11715
|
+
average: 0.5,
|
|
11716
|
+
high: 0.75
|
|
11717
|
+
}
|
|
11718
|
+
},
|
|
11719
|
+
{
|
|
11720
|
+
coinDenom: "ggz",
|
|
11721
|
+
coinMinimalDenom: "uggz",
|
|
11722
|
+
coinDecimals: 6,
|
|
11723
|
+
gasPriceStep: {
|
|
11724
|
+
low: 0.5,
|
|
11725
|
+
average: 0.75,
|
|
11726
|
+
high: 1
|
|
11727
|
+
}
|
|
11728
|
+
}
|
|
11729
|
+
],
|
|
11730
|
+
stakeCurrency: {
|
|
11731
|
+
coinDenom: "ggez1",
|
|
11732
|
+
coinMinimalDenom: "uggez1",
|
|
11733
|
+
coinDecimals: 6
|
|
11734
|
+
},
|
|
11735
|
+
bip44: {
|
|
11736
|
+
coinType: 118
|
|
11737
|
+
}
|
|
11738
|
+
},
|
|
11638
11739
|
{
|
|
11639
11740
|
chainId: "gitopia",
|
|
11640
11741
|
currencies: [
|
|
@@ -12153,7 +12254,7 @@ const sx = [
|
|
|
12153
12254
|
},
|
|
12154
12255
|
{
|
|
12155
12256
|
coinDenom: "NBZ",
|
|
12156
|
-
coinMinimalDenom: "
|
|
12257
|
+
coinMinimalDenom: "factory/inj1llr45x92t7jrqtxvc02gpkcqhqr82dvyzkr4mz/NBZ",
|
|
12157
12258
|
coinDecimals: 6
|
|
12158
12259
|
},
|
|
12159
12260
|
{
|
|
@@ -12205,6 +12306,26 @@ const sx = [
|
|
|
12205
12306
|
coinDenom: "whale",
|
|
12206
12307
|
coinMinimalDenom: "ibc/D6E6A20ABDD600742D22464340A7701558027759CE14D12590F8EA869CCCF445",
|
|
12207
12308
|
coinDecimals: 6
|
|
12309
|
+
},
|
|
12310
|
+
{
|
|
12311
|
+
coinDenom: "nUSDC",
|
|
12312
|
+
coinMinimalDenom: "inj1dafy7fv7qczzatd98dv8hekx6ssckrflswpjaz",
|
|
12313
|
+
coinDecimals: 6
|
|
12314
|
+
},
|
|
12315
|
+
{
|
|
12316
|
+
coinDenom: "sol",
|
|
12317
|
+
coinMinimalDenom: "ibc/A8B0B746B5AB736C2D8577259B510D56B8AF598008F68041E3D634BCDE72BE97",
|
|
12318
|
+
coinDecimals: 8
|
|
12319
|
+
},
|
|
12320
|
+
{
|
|
12321
|
+
coinDenom: "nSOL",
|
|
12322
|
+
coinMinimalDenom: "inj1zcwr03uqw57g88nqvgpwfkazwutpqz9kplny4s",
|
|
12323
|
+
coinDecimals: 8
|
|
12324
|
+
},
|
|
12325
|
+
{
|
|
12326
|
+
coinDenom: "NEPT",
|
|
12327
|
+
coinMinimalDenom: "factory/inj1v3a4zznudwpukpr8y987pu5gnh4xuf7v36jhva/nept",
|
|
12328
|
+
coinDecimals: 6
|
|
12208
12329
|
}
|
|
12209
12330
|
],
|
|
12210
12331
|
rest: "https://6d0ff611-9009-4bd1-a7a7-acec7c70d454.injective-1.mesa-rest.newmetric.xyz",
|
|
@@ -14588,7 +14709,12 @@ const sx = [
|
|
|
14588
14709
|
coinDecimals: 6
|
|
14589
14710
|
},
|
|
14590
14711
|
{
|
|
14591
|
-
coinDenom: "
|
|
14712
|
+
coinDenom: "TIA",
|
|
14713
|
+
coinMinimalDenom: "ibc/F1183DB3D428313A6FD329DF18219F9D6B83257D07D292EA9EC1D877E89EC2B0",
|
|
14714
|
+
coinDecimals: 6
|
|
14715
|
+
},
|
|
14716
|
+
{
|
|
14717
|
+
coinDenom: "TIA",
|
|
14592
14718
|
coinMinimalDenom: "ibc/6C349F0EB135C5FA99301758F35B87DB88403D690E5E314AB080401FEE4066E5",
|
|
14593
14719
|
coinDecimals: 6
|
|
14594
14720
|
},
|
|
@@ -14603,8 +14729,8 @@ const sx = [
|
|
|
14603
14729
|
coinDecimals: 6
|
|
14604
14730
|
},
|
|
14605
14731
|
{
|
|
14606
|
-
coinDenom: "
|
|
14607
|
-
coinMinimalDenom: "ibc/
|
|
14732
|
+
coinDenom: "dTIA",
|
|
14733
|
+
coinMinimalDenom: "ibc/4795C86F72EC2CB54E885A4A5B401BED9C333E008311ED9C4DE01BF546B44A21",
|
|
14608
14734
|
coinDecimals: 6
|
|
14609
14735
|
}
|
|
14610
14736
|
],
|
|
@@ -14631,7 +14757,7 @@ const sx = [
|
|
|
14631
14757
|
}
|
|
14632
14758
|
},
|
|
14633
14759
|
{
|
|
14634
|
-
coinDenom: "
|
|
14760
|
+
coinDenom: "TIA",
|
|
14635
14761
|
coinMinimalDenom: "ibc/6C349F0EB135C5FA99301758F35B87DB88403D690E5E314AB080401FEE4066E5",
|
|
14636
14762
|
coinDecimals: 6,
|
|
14637
14763
|
gasPriceStep: {
|
|
@@ -14651,7 +14777,7 @@ const sx = [
|
|
|
14651
14777
|
}
|
|
14652
14778
|
},
|
|
14653
14779
|
{
|
|
14654
|
-
coinDenom: "
|
|
14780
|
+
coinDenom: "TIA",
|
|
14655
14781
|
coinMinimalDenom: "ibc/F1183DB3D428313A6FD329DF18219F9D6B83257D07D292EA9EC1D877E89EC2B0",
|
|
14656
14782
|
coinDecimals: 6,
|
|
14657
14783
|
gasPriceStep: {
|
|
@@ -14659,6 +14785,16 @@ const sx = [
|
|
|
14659
14785
|
average: 3e-3,
|
|
14660
14786
|
high: 35e-4
|
|
14661
14787
|
}
|
|
14788
|
+
},
|
|
14789
|
+
{
|
|
14790
|
+
coinDenom: "dTIA",
|
|
14791
|
+
coinMinimalDenom: "ibc/4795C86F72EC2CB54E885A4A5B401BED9C333E008311ED9C4DE01BF546B44A21",
|
|
14792
|
+
coinDecimals: 6,
|
|
14793
|
+
gasPriceStep: {
|
|
14794
|
+
low: 25e-4,
|
|
14795
|
+
average: 3e-3,
|
|
14796
|
+
high: 35e-4
|
|
14797
|
+
}
|
|
14662
14798
|
}
|
|
14663
14799
|
],
|
|
14664
14800
|
stakeCurrency: {
|
|
@@ -14984,7 +15120,7 @@ const sx = [
|
|
|
14984
15120
|
},
|
|
14985
15121
|
{
|
|
14986
15122
|
coinDenom: "NBZ",
|
|
14987
|
-
coinMinimalDenom: "
|
|
15123
|
+
coinMinimalDenom: "ibc/A79E35F2418EB26FA8D72B9AA5EDF28C0C2CF475E8CF4CAEBB25FA5C858D4D22",
|
|
14988
15124
|
coinDecimals: 6
|
|
14989
15125
|
},
|
|
14990
15126
|
{
|
|
@@ -15051,6 +15187,11 @@ const sx = [
|
|
|
15051
15187
|
coinDenom: "dTIA",
|
|
15052
15188
|
coinMinimalDenom: "factory/neutron1ut4c6pv4u6vyu97yw48y8g7mle0cat54848v6m97k977022lzxtsaqsgmq/udtia",
|
|
15053
15189
|
coinDecimals: 6
|
|
15190
|
+
},
|
|
15191
|
+
{
|
|
15192
|
+
coinDenom: "NEPT",
|
|
15193
|
+
coinMinimalDenom: "ibc/C084B31AB4906CD6CC65CB779B1527A66B6C98629259E3548B2F20D2753D5837",
|
|
15194
|
+
coinDecimals: 6
|
|
15054
15195
|
}
|
|
15055
15196
|
],
|
|
15056
15197
|
rest: "https://api.novel.remedy.tm.p2p.org",
|
|
@@ -15795,6 +15936,42 @@ const sx = [
|
|
|
15795
15936
|
coinType: 118
|
|
15796
15937
|
}
|
|
15797
15938
|
},
|
|
15939
|
+
{
|
|
15940
|
+
chainId: "opct_1",
|
|
15941
|
+
currencies: [
|
|
15942
|
+
{
|
|
15943
|
+
coinDenom: "OPCT",
|
|
15944
|
+
coinMinimalDenom: "opct",
|
|
15945
|
+
coinDecimals: 6
|
|
15946
|
+
}
|
|
15947
|
+
],
|
|
15948
|
+
rest: "https://node.opct.ai/api",
|
|
15949
|
+
rpc: "https://node.opct.ai",
|
|
15950
|
+
bech32Config: {
|
|
15951
|
+
bech32PrefixAccAddr: "opct",
|
|
15952
|
+
bech32PrefixAccPub: "opctpub",
|
|
15953
|
+
bech32PrefixValAddr: "opctvaloper",
|
|
15954
|
+
bech32PrefixValPub: "opctvaloperpub",
|
|
15955
|
+
bech32PrefixConsAddr: "opctvalcons",
|
|
15956
|
+
bech32PrefixConsPub: "opctvalconspub"
|
|
15957
|
+
},
|
|
15958
|
+
chainName: "opct",
|
|
15959
|
+
feeCurrencies: [
|
|
15960
|
+
{
|
|
15961
|
+
coinDenom: "OPCT",
|
|
15962
|
+
coinMinimalDenom: "opct",
|
|
15963
|
+
coinDecimals: 6
|
|
15964
|
+
}
|
|
15965
|
+
],
|
|
15966
|
+
stakeCurrency: {
|
|
15967
|
+
coinDenom: "OPCT",
|
|
15968
|
+
coinMinimalDenom: "opct",
|
|
15969
|
+
coinDecimals: 6
|
|
15970
|
+
},
|
|
15971
|
+
bip44: {
|
|
15972
|
+
coinType: 118
|
|
15973
|
+
}
|
|
15974
|
+
},
|
|
15798
15975
|
{
|
|
15799
15976
|
chainId: "Oraichain",
|
|
15800
15977
|
currencies: [
|
|
@@ -18216,7 +18393,7 @@ const sx = [
|
|
|
18216
18393
|
},
|
|
18217
18394
|
{
|
|
18218
18395
|
coinDenom: "atone",
|
|
18219
|
-
coinMinimalDenom: "ibc/
|
|
18396
|
+
coinMinimalDenom: "ibc/BC26A7A805ECD6822719472BCB7842A48EF09DF206182F8F259B2593EB5D23FB",
|
|
18220
18397
|
coinDecimals: 6
|
|
18221
18398
|
},
|
|
18222
18399
|
{
|
|
@@ -18331,7 +18508,47 @@ const sx = [
|
|
|
18331
18508
|
},
|
|
18332
18509
|
{
|
|
18333
18510
|
coinDenom: "AARON",
|
|
18334
|
-
coinMinimalDenom: "ibc/
|
|
18511
|
+
coinMinimalDenom: "ibc/D28B585D6B67E2F1479BBA3E949C687289C94D33FFA0720E3A8CB0B244AD8BC6",
|
|
18512
|
+
coinDecimals: 6
|
|
18513
|
+
},
|
|
18514
|
+
{
|
|
18515
|
+
coinDenom: "Chihuahua",
|
|
18516
|
+
coinMinimalDenom: "ibc/794CF0A448ECA518B9FEAB3356BD283E8762460F8FE87A013E6F9DBA6C53601C",
|
|
18517
|
+
coinDecimals: 6
|
|
18518
|
+
},
|
|
18519
|
+
{
|
|
18520
|
+
coinDenom: "ashION",
|
|
18521
|
+
coinMinimalDenom: "factory/osmo1svj5kd8kzj7xxtrd6ftjk0856ffpyj4egz7f9pd9dge5wr4kwansmefq07/ion.ash",
|
|
18522
|
+
coinDecimals: 6
|
|
18523
|
+
},
|
|
18524
|
+
{
|
|
18525
|
+
coinDenom: "wirelibertyfence",
|
|
18526
|
+
coinMinimalDenom: "ibc/3D00ACF371FC6B7BC871399B1909DDE18749FA19DE6B7A4F74E1D96BC073B3BC",
|
|
18527
|
+
coinDecimals: 6
|
|
18528
|
+
},
|
|
18529
|
+
{
|
|
18530
|
+
coinDenom: "NBZ",
|
|
18531
|
+
coinMinimalDenom: "ibc/DC1DF96AB7F5109433C3D5FDADE83F8EC2D522B80FAB0593BC1A2781F36AD633",
|
|
18532
|
+
coinDecimals: 6
|
|
18533
|
+
},
|
|
18534
|
+
{
|
|
18535
|
+
coinDenom: "CULT",
|
|
18536
|
+
coinMinimalDenom: "factory/osmo1qdvwftqd8ml6t9w6dmj97m03ck5ghqqmd8y7cm/cult",
|
|
18537
|
+
coinDecimals: 6
|
|
18538
|
+
},
|
|
18539
|
+
{
|
|
18540
|
+
coinDenom: "dTIA",
|
|
18541
|
+
coinMinimalDenom: "ibc/C7A810C6ED1FC3FFC7C834A534D400EADC94FF7D3BE13DDD4C042AEF1816DFB4",
|
|
18542
|
+
coinDecimals: 6
|
|
18543
|
+
},
|
|
18544
|
+
{
|
|
18545
|
+
coinDenom: "ckDOGE",
|
|
18546
|
+
coinMinimalDenom: "factory/osmo10c4y9csfs8q7mtvfg4p9gd8d0acx0hpc2mte9xqzthd7rd3348tsfhaesm/dogecoin-native-DOGE",
|
|
18547
|
+
coinDecimals: 8
|
|
18548
|
+
},
|
|
18549
|
+
{
|
|
18550
|
+
coinDenom: "PLEB",
|
|
18551
|
+
coinMinimalDenom: "ibc/EA0C8F1121425943740B2D1B1DC5BDD717D49A9D5A639DC7074C10E9212CC794",
|
|
18335
18552
|
coinDecimals: 6
|
|
18336
18553
|
}
|
|
18337
18554
|
],
|
|
@@ -20006,6 +20223,11 @@ const sx = [
|
|
|
20006
20223
|
coinDenom: "ROUTE",
|
|
20007
20224
|
coinMinimalDenom: "route",
|
|
20008
20225
|
coinDecimals: 18
|
|
20226
|
+
},
|
|
20227
|
+
{
|
|
20228
|
+
coinDenom: "usdc",
|
|
20229
|
+
coinMinimalDenom: "ibc/B9E4FD154C92D3A23BEA029906C4C5FF2FE74CB7E3A058290B77197A263CF88B",
|
|
20230
|
+
coinDecimals: 6
|
|
20009
20231
|
}
|
|
20010
20232
|
],
|
|
20011
20233
|
rest: "https://sentry.lcd.routerprotocol.com/",
|
|
@@ -20918,6 +21140,16 @@ const sx = [
|
|
|
20918
21140
|
coinDenom: "crowdp",
|
|
20919
21141
|
coinMinimalDenom: "ibc/D29FF5FFE7B9A5C6CE595FF963F7C93F2B8603586645C39B13E1D336847863C3",
|
|
20920
21142
|
coinDecimals: 18
|
|
21143
|
+
},
|
|
21144
|
+
{
|
|
21145
|
+
coinDenom: "CULT",
|
|
21146
|
+
coinMinimalDenom: "ibc/1CD4EED1BD74D41C165B9200AAF7A13C92DDB381DB7067EA32EEF8CC1370F764",
|
|
21147
|
+
coinDecimals: 6
|
|
21148
|
+
},
|
|
21149
|
+
{
|
|
21150
|
+
coinDenom: "om",
|
|
21151
|
+
coinMinimalDenom: "ibc/3BD86E80E000B52DA57C474A6A44E37F73D34E38A1FA79EE678E08D119FC555B",
|
|
21152
|
+
coinDecimals: 6
|
|
20921
21153
|
}
|
|
20922
21154
|
],
|
|
20923
21155
|
rest: "https://rest.stargaze-apis.com/",
|
|
@@ -23103,6 +23335,21 @@ const sx = [
|
|
|
23103
23335
|
coinDenom: "whale",
|
|
23104
23336
|
coinMinimalDenom: "ibc/36A02FFC4E74DF4F64305130C3DFA1B06BEAC775648927AA44467C76A77AB8DB",
|
|
23105
23337
|
coinDecimals: 6
|
|
23338
|
+
},
|
|
23339
|
+
{
|
|
23340
|
+
coinDenom: "arbLUNA",
|
|
23341
|
+
coinMinimalDenom: "cw20:terra1se7rvuerys4kd2snt6vqswh9wugu49vhyzls8ymc02wl37g2p2ms5yz490",
|
|
23342
|
+
coinDecimals: 6
|
|
23343
|
+
},
|
|
23344
|
+
{
|
|
23345
|
+
coinDenom: "amplp",
|
|
23346
|
+
coinMinimalDenom: "factory/terra1zly98gvcec54m3caxlqexce7rus6rzgplz7eketsdz7nh750h2rqvu8uzx/21/single/amplp",
|
|
23347
|
+
coinDecimals: 6
|
|
23348
|
+
},
|
|
23349
|
+
{
|
|
23350
|
+
coinDenom: "amplp",
|
|
23351
|
+
coinMinimalDenom: "factory/terra1zly98gvcec54m3caxlqexce7rus6rzgplz7eketsdz7nh750h2rqvu8uzx/30/single/amplp",
|
|
23352
|
+
coinDecimals: 6
|
|
23106
23353
|
}
|
|
23107
23354
|
],
|
|
23108
23355
|
rest: "https://lcd-terra.wildsage.io",
|
|
@@ -23388,6 +23635,47 @@ const sx = [
|
|
|
23388
23635
|
coinType: 60
|
|
23389
23636
|
}
|
|
23390
23637
|
},
|
|
23638
|
+
{
|
|
23639
|
+
chainId: "vector-1",
|
|
23640
|
+
currencies: [
|
|
23641
|
+
{
|
|
23642
|
+
coinDenom: "vctr",
|
|
23643
|
+
coinMinimalDenom: "uvctr",
|
|
23644
|
+
coinDecimals: 6
|
|
23645
|
+
}
|
|
23646
|
+
],
|
|
23647
|
+
rest: "https://archive-api-vector-1.seraphim.zone:443",
|
|
23648
|
+
rpc: "https://archive-rpc-vector-1.seraphim.zone:443",
|
|
23649
|
+
bech32Config: {
|
|
23650
|
+
bech32PrefixAccAddr: "vector",
|
|
23651
|
+
bech32PrefixAccPub: "vectorpub",
|
|
23652
|
+
bech32PrefixValAddr: "vectorvaloper",
|
|
23653
|
+
bech32PrefixValPub: "vectorvaloperpub",
|
|
23654
|
+
bech32PrefixConsAddr: "vectorvalcons",
|
|
23655
|
+
bech32PrefixConsPub: "vectorvalconspub"
|
|
23656
|
+
},
|
|
23657
|
+
chainName: "vector",
|
|
23658
|
+
feeCurrencies: [
|
|
23659
|
+
{
|
|
23660
|
+
coinDenom: "vctr",
|
|
23661
|
+
coinMinimalDenom: "uvctr",
|
|
23662
|
+
coinDecimals: 6,
|
|
23663
|
+
gasPriceStep: {
|
|
23664
|
+
low: 1,
|
|
23665
|
+
average: 1,
|
|
23666
|
+
high: 1
|
|
23667
|
+
}
|
|
23668
|
+
}
|
|
23669
|
+
],
|
|
23670
|
+
stakeCurrency: {
|
|
23671
|
+
coinDenom: "vctr",
|
|
23672
|
+
coinMinimalDenom: "uvctr",
|
|
23673
|
+
coinDecimals: 6
|
|
23674
|
+
},
|
|
23675
|
+
bip44: {
|
|
23676
|
+
coinType: 118
|
|
23677
|
+
}
|
|
23678
|
+
},
|
|
23391
23679
|
{
|
|
23392
23680
|
chainId: "xion-mainnet-1",
|
|
23393
23681
|
currencies: [
|
|
@@ -23635,6 +23923,47 @@ const sx = [
|
|
|
23635
23923
|
coinType: 118
|
|
23636
23924
|
}
|
|
23637
23925
|
},
|
|
23926
|
+
{
|
|
23927
|
+
chainId: "allora-testnet-1",
|
|
23928
|
+
currencies: [
|
|
23929
|
+
{
|
|
23930
|
+
coinDenom: "allo",
|
|
23931
|
+
coinMinimalDenom: "uallo",
|
|
23932
|
+
coinDecimals: 18
|
|
23933
|
+
}
|
|
23934
|
+
],
|
|
23935
|
+
rest: "https://allora-api.testnet.allora.network",
|
|
23936
|
+
rpc: "https://allora-rpc.testnet.allora.network",
|
|
23937
|
+
bech32Config: {
|
|
23938
|
+
bech32PrefixAccAddr: "allo",
|
|
23939
|
+
bech32PrefixAccPub: "allopub",
|
|
23940
|
+
bech32PrefixValAddr: "allovaloper",
|
|
23941
|
+
bech32PrefixValPub: "allovaloperpub",
|
|
23942
|
+
bech32PrefixConsAddr: "allovalcons",
|
|
23943
|
+
bech32PrefixConsPub: "allovalconspub"
|
|
23944
|
+
},
|
|
23945
|
+
chainName: "alloratestnet",
|
|
23946
|
+
feeCurrencies: [
|
|
23947
|
+
{
|
|
23948
|
+
coinDenom: "allo",
|
|
23949
|
+
coinMinimalDenom: "uallo",
|
|
23950
|
+
coinDecimals: 18,
|
|
23951
|
+
gasPriceStep: {
|
|
23952
|
+
low: 10,
|
|
23953
|
+
average: 10,
|
|
23954
|
+
high: 12
|
|
23955
|
+
}
|
|
23956
|
+
}
|
|
23957
|
+
],
|
|
23958
|
+
stakeCurrency: {
|
|
23959
|
+
coinDenom: "allo",
|
|
23960
|
+
coinMinimalDenom: "uallo",
|
|
23961
|
+
coinDecimals: 18
|
|
23962
|
+
},
|
|
23963
|
+
bip44: {
|
|
23964
|
+
coinType: 118
|
|
23965
|
+
}
|
|
23966
|
+
},
|
|
23638
23967
|
{
|
|
23639
23968
|
chainId: "constantine-3",
|
|
23640
23969
|
currencies: [
|
|
@@ -25758,6 +26087,11 @@ const sx = [
|
|
|
25758
26087
|
coinDenom: "poa",
|
|
25759
26088
|
coinMinimalDenom: "upoa",
|
|
25760
26089
|
coinDecimals: 6
|
|
26090
|
+
},
|
|
26091
|
+
{
|
|
26092
|
+
coinDenom: "osmo",
|
|
26093
|
+
coinMinimalDenom: "ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518",
|
|
26094
|
+
coinDecimals: 6
|
|
25761
26095
|
}
|
|
25762
26096
|
],
|
|
25763
26097
|
rest: "https://nodes.liftedinit.tech/manifest/testnet/api",
|
|
@@ -26009,6 +26343,11 @@ const sx = [
|
|
|
26009
26343
|
coinDenom: "attonibi",
|
|
26010
26344
|
coinMinimalDenom: "unibi",
|
|
26011
26345
|
coinDecimals: 18
|
|
26346
|
+
},
|
|
26347
|
+
{
|
|
26348
|
+
coinDenom: "stNIBI",
|
|
26349
|
+
coinMinimalDenom: "tf/nibi1xsvylys33m0y3dpyz6he3xuv2rcdwtk843wg2xdvqhdty8wmr0wq9au5px/ampNIBIT",
|
|
26350
|
+
coinDecimals: 6
|
|
26012
26351
|
}
|
|
26013
26352
|
],
|
|
26014
26353
|
rest: "https://lcd.testnet-1.nibiru.fi",
|
|
@@ -26264,7 +26603,7 @@ const sx = [
|
|
|
26264
26603
|
}
|
|
26265
26604
|
},
|
|
26266
26605
|
{
|
|
26267
|
-
chainId: "rila-
|
|
26606
|
+
chainId: "rila-3",
|
|
26268
26607
|
currencies: [
|
|
26269
26608
|
{
|
|
26270
26609
|
coinDenom: "nls",
|
|
@@ -26272,8 +26611,8 @@ const sx = [
|
|
|
26272
26611
|
coinDecimals: 6
|
|
26273
26612
|
}
|
|
26274
26613
|
],
|
|
26275
|
-
rest: "https://rila-
|
|
26276
|
-
rpc: "https://rila-
|
|
26614
|
+
rest: "https://rila-lcd.nolus.network",
|
|
26615
|
+
rpc: "https://rila-rpc.nolus.network",
|
|
26277
26616
|
bech32Config: {
|
|
26278
26617
|
bech32PrefixAccAddr: "nolus",
|
|
26279
26618
|
bech32PrefixAccPub: "noluspub",
|
|
@@ -26544,6 +26883,11 @@ const sx = [
|
|
|
26544
26883
|
coinDenom: "tkx",
|
|
26545
26884
|
coinMinimalDenom: "ibc/28EEF762052DB8C3D27A7BF625E9F86A1B3B689CC8D80C818CEDF2EB6CBA02A6",
|
|
26546
26885
|
coinDecimals: 18
|
|
26886
|
+
},
|
|
26887
|
+
{
|
|
26888
|
+
coinDenom: "mfx",
|
|
26889
|
+
coinMinimalDenom: "ibc/8402769A51AEE1CDF35223998D284E937EBF03F4A2CE43EC10BB028BB5AD29C8",
|
|
26890
|
+
coinDecimals: 6
|
|
26547
26891
|
}
|
|
26548
26892
|
],
|
|
26549
26893
|
rest: "https://lcd.osmotest5.osmosis.zone/",
|
|
@@ -26578,6 +26922,42 @@ const sx = [
|
|
|
26578
26922
|
coinType: 118
|
|
26579
26923
|
}
|
|
26580
26924
|
},
|
|
26925
|
+
{
|
|
26926
|
+
chainId: "ignite_186-1",
|
|
26927
|
+
currencies: [
|
|
26928
|
+
{
|
|
26929
|
+
coinDenom: "pell",
|
|
26930
|
+
coinMinimalDenom: "apell",
|
|
26931
|
+
coinDecimals: 18
|
|
26932
|
+
}
|
|
26933
|
+
],
|
|
26934
|
+
rest: "https://pell-testnet-rest.cosmonautstakes.com",
|
|
26935
|
+
rpc: "https://pell-testnet-rpc.cosmonautstakes.com",
|
|
26936
|
+
bech32Config: {
|
|
26937
|
+
bech32PrefixAccAddr: "pell",
|
|
26938
|
+
bech32PrefixAccPub: "pellpub",
|
|
26939
|
+
bech32PrefixValAddr: "pellvaloper",
|
|
26940
|
+
bech32PrefixValPub: "pellvaloperpub",
|
|
26941
|
+
bech32PrefixConsAddr: "pellvalcons",
|
|
26942
|
+
bech32PrefixConsPub: "pellvalconspub"
|
|
26943
|
+
},
|
|
26944
|
+
chainName: "pelltestnet",
|
|
26945
|
+
feeCurrencies: [
|
|
26946
|
+
{
|
|
26947
|
+
coinDenom: "pell",
|
|
26948
|
+
coinMinimalDenom: "apell",
|
|
26949
|
+
coinDecimals: 18
|
|
26950
|
+
}
|
|
26951
|
+
],
|
|
26952
|
+
stakeCurrency: {
|
|
26953
|
+
coinDenom: "pell",
|
|
26954
|
+
coinMinimalDenom: "apell",
|
|
26955
|
+
coinDecimals: 18
|
|
26956
|
+
},
|
|
26957
|
+
bip44: {
|
|
26958
|
+
coinType: 118
|
|
26959
|
+
}
|
|
26960
|
+
},
|
|
26581
26961
|
{
|
|
26582
26962
|
chainId: "INVALID-ID-permtestnet-testnet-1",
|
|
26583
26963
|
currencies: [
|
|
@@ -27838,6 +28218,52 @@ const sx = [
|
|
|
27838
28218
|
coinType: 330
|
|
27839
28219
|
}
|
|
27840
28220
|
},
|
|
28221
|
+
{
|
|
28222
|
+
chainId: "titan-test-4",
|
|
28223
|
+
currencies: [
|
|
28224
|
+
{
|
|
28225
|
+
coinDenom: "ttnt",
|
|
28226
|
+
coinMinimalDenom: "uttnt",
|
|
28227
|
+
coinDecimals: 6
|
|
28228
|
+
},
|
|
28229
|
+
{
|
|
28230
|
+
coinDenom: "tnt4",
|
|
28231
|
+
coinMinimalDenom: "utnt4",
|
|
28232
|
+
coinDecimals: 2
|
|
28233
|
+
}
|
|
28234
|
+
],
|
|
28235
|
+
rest: "https://lcd.titannet.io:443",
|
|
28236
|
+
rpc: "https://rpc.titannet.io:443",
|
|
28237
|
+
bech32Config: {
|
|
28238
|
+
bech32PrefixAccAddr: "titan",
|
|
28239
|
+
bech32PrefixAccPub: "titanpub",
|
|
28240
|
+
bech32PrefixValAddr: "titanvaloper",
|
|
28241
|
+
bech32PrefixValPub: "titanvaloperpub",
|
|
28242
|
+
bech32PrefixConsAddr: "titanvalcons",
|
|
28243
|
+
bech32PrefixConsPub: "titanvalconspub"
|
|
28244
|
+
},
|
|
28245
|
+
chainName: "titannettestnet",
|
|
28246
|
+
feeCurrencies: [
|
|
28247
|
+
{
|
|
28248
|
+
coinDenom: "ttnt",
|
|
28249
|
+
coinMinimalDenom: "uttnt",
|
|
28250
|
+
coinDecimals: 6,
|
|
28251
|
+
gasPriceStep: {
|
|
28252
|
+
low: 0.01,
|
|
28253
|
+
average: 0.025,
|
|
28254
|
+
high: 0.03
|
|
28255
|
+
}
|
|
28256
|
+
}
|
|
28257
|
+
],
|
|
28258
|
+
stakeCurrency: {
|
|
28259
|
+
coinDenom: "ttnt",
|
|
28260
|
+
coinMinimalDenom: "uttnt",
|
|
28261
|
+
coinDecimals: 6
|
|
28262
|
+
},
|
|
28263
|
+
bip44: {
|
|
28264
|
+
coinType: 118
|
|
28265
|
+
}
|
|
28266
|
+
},
|
|
27841
28267
|
{
|
|
27842
28268
|
chainId: "titan_18889-1",
|
|
27843
28269
|
currencies: [
|
|
@@ -27972,7 +28398,7 @@ const sx = [
|
|
|
27972
28398
|
}
|
|
27973
28399
|
},
|
|
27974
28400
|
{
|
|
27975
|
-
chainId: "union-testnet-
|
|
28401
|
+
chainId: "union-testnet-9",
|
|
27976
28402
|
currencies: [
|
|
27977
28403
|
{
|
|
27978
28404
|
coinDenom: "uno",
|
|
@@ -27980,8 +28406,8 @@ const sx = [
|
|
|
27980
28406
|
coinDecimals: 6
|
|
27981
28407
|
}
|
|
27982
28408
|
],
|
|
27983
|
-
rest: "https://rest.testnet-
|
|
27984
|
-
rpc: "https://rpc.testnet-
|
|
28409
|
+
rest: "https://rest.testnet-9.union.build",
|
|
28410
|
+
rpc: "https://rpc.testnet-9.union.build",
|
|
27985
28411
|
bech32Config: {
|
|
27986
28412
|
bech32PrefixAccAddr: "union",
|
|
27987
28413
|
bech32PrefixAccPub: "unionpub",
|
|
@@ -28887,11 +29313,23 @@ const sx = [
|
|
|
28887
29313
|
tx_page: "https://explorer.ist/atomone/tx/${txHash}",
|
|
28888
29314
|
account_page: "https://explorer.ist/atomone/account/${accountAddress}"
|
|
28889
29315
|
},
|
|
29316
|
+
{
|
|
29317
|
+
kind: "🔥STAVR🔥 Explorer",
|
|
29318
|
+
url: "https://explorer.stavr.tech/Atomone-Mainnet",
|
|
29319
|
+
tx_page: "https://explorer.stavr.tech/Atomone-Mainnet/tx/${txHash}",
|
|
29320
|
+
account_page: "https://explorer.stavr.tech/Atomone-Mainnet/account/${accountAddress}"
|
|
29321
|
+
},
|
|
28890
29322
|
{
|
|
28891
29323
|
kind: "🚀 WHEN MOON 🌕 WHEN LAMBO 🔥",
|
|
28892
29324
|
url: "https://explorer.whenmoonwhenlambo.money/atomone",
|
|
28893
29325
|
tx_page: "https://explorer.whenmoonwhenlambo.money/atomone/tx/${txHash}",
|
|
28894
29326
|
account_page: "https://explorer.whenmoonwhenlambo.money/atomone/account/${accountAddress}"
|
|
29327
|
+
},
|
|
29328
|
+
{
|
|
29329
|
+
kind: "AVIAONE.com 🟢",
|
|
29330
|
+
url: "https://mainnet.explorer.aviaone.com/atomone",
|
|
29331
|
+
tx_page: "https://mainnet.explorer.aviaone.com/atomone/tx/${txHash}",
|
|
29332
|
+
account_page: "https://mainnet.explorer.aviaone.com/atomone/account/${accountAddress}"
|
|
28895
29333
|
}
|
|
28896
29334
|
]
|
|
28897
29335
|
},
|
|
@@ -29168,11 +29606,6 @@ const sx = [
|
|
|
29168
29606
|
url: "https://explorer.validatornode.com/bitcanna",
|
|
29169
29607
|
tx_page: "https://explorer.validatornode.com/bitcanna/tx/${txHash}"
|
|
29170
29608
|
},
|
|
29171
|
-
{
|
|
29172
|
-
kind: "Safe Block Explorer Pruned",
|
|
29173
|
-
url: "https://explorer.safeblock.space/bitcanna",
|
|
29174
|
-
tx_page: "https://explorer.safeblock.space/bitcanna/tx/${txHash}"
|
|
29175
|
-
},
|
|
29176
29609
|
{
|
|
29177
29610
|
kind: "AlxVoy ⚡ ANODE.TEAM",
|
|
29178
29611
|
url: "https://main.anode.team/bitcanna",
|
|
@@ -29695,6 +30128,12 @@ const sx = [
|
|
|
29695
30128
|
url: "https://explorer.nodeshub.online/chihuahua/",
|
|
29696
30129
|
tx_page: "https://explorer.nodeshub.online/chihuahua/tx/${txHash}",
|
|
29697
30130
|
account_page: "https://explorer.nodeshub.online/chihuahua/accounts/${accountAddress}"
|
|
30131
|
+
},
|
|
30132
|
+
{
|
|
30133
|
+
kind: "Chainroot",
|
|
30134
|
+
url: "https://explorer.chainroot.io/chihuahua",
|
|
30135
|
+
tx_page: "https://explorer.chainroot.io/chihuahua/transactions/${txHash}",
|
|
30136
|
+
account_page: "https://explorer.chainroot.io/chihuahua/accounts/${accountAddress}"
|
|
29698
30137
|
}
|
|
29699
30138
|
]
|
|
29700
30139
|
},
|
|
@@ -30891,6 +31330,20 @@ const sx = [
|
|
|
30891
31330
|
}
|
|
30892
31331
|
]
|
|
30893
31332
|
},
|
|
31333
|
+
{
|
|
31334
|
+
chainId: "ggezchain",
|
|
31335
|
+
explorers: [
|
|
31336
|
+
{
|
|
31337
|
+
kind: "bigdipper",
|
|
31338
|
+
url: "https://explorer.ggez.one/ggezchain",
|
|
31339
|
+
tx_page: "https://explorer.ggez.one/ggezchain/transactions/${txHash}",
|
|
31340
|
+
account_page: "https://explorer.ggez.one/ggezchain/accounts/${accountAddress}",
|
|
31341
|
+
validator_page: "https://explorer.ggez.one/ggezchain/validators/${validatorAddress}",
|
|
31342
|
+
proposal_page: "https://explorer.ggez.one/ggezchain/proposals/${proposalId}",
|
|
31343
|
+
block_page: "https://explorer.ggez.one/ggezchain/blocks/${blockHeight}"
|
|
31344
|
+
}
|
|
31345
|
+
]
|
|
31346
|
+
},
|
|
30894
31347
|
{
|
|
30895
31348
|
chainId: "gitopia",
|
|
30896
31349
|
explorers: [
|
|
@@ -32643,6 +33096,9 @@ const sx = [
|
|
|
32643
33096
|
}
|
|
32644
33097
|
]
|
|
32645
33098
|
},
|
|
33099
|
+
{
|
|
33100
|
+
chainId: "opct_1"
|
|
33101
|
+
},
|
|
32646
33102
|
{
|
|
32647
33103
|
chainId: "Oraichain",
|
|
32648
33104
|
explorers: [
|
|
@@ -34568,6 +35024,12 @@ const sx = [
|
|
|
34568
35024
|
url: "https://www.mintscan.io/terra",
|
|
34569
35025
|
tx_page: "https://www.mintscan.io/terra/transactions/${txHash}",
|
|
34570
35026
|
account_page: "https://www.mintscan.io/terra/accounts/${accountAddress}"
|
|
35027
|
+
},
|
|
35028
|
+
{
|
|
35029
|
+
kind: "Chainroot",
|
|
35030
|
+
url: "https://explorer.chainroot.io/terra",
|
|
35031
|
+
tx_page: "https://explorer.chainroot.io/terra/transactions/${txHash}",
|
|
35032
|
+
account_page: "https://explorer.chainroot.io/terra/accounts/${accountAddress}"
|
|
34571
35033
|
}
|
|
34572
35034
|
]
|
|
34573
35035
|
},
|
|
@@ -34690,6 +35152,12 @@ const sx = [
|
|
|
34690
35152
|
url: "https://explorer.whenmoonwhenlambo.money/umee",
|
|
34691
35153
|
tx_page: "https://explorer.whenmoonwhenlambo.money/umee/tx/${txHash}",
|
|
34692
35154
|
account_page: "https://explorer.whenmoonwhenlambo.money/umee/account/${accountAddress}"
|
|
35155
|
+
},
|
|
35156
|
+
{
|
|
35157
|
+
kind: "Chainroot",
|
|
35158
|
+
url: "https://explorer.chainroot.io/ux",
|
|
35159
|
+
tx_page: "https://explorer.chainroot.io/ux/transactions/${txHash}",
|
|
35160
|
+
account_page: "https://explorer.chainroot.io/ux/accounts/${accountAddress}"
|
|
34693
35161
|
}
|
|
34694
35162
|
]
|
|
34695
35163
|
},
|
|
@@ -34802,6 +35270,17 @@ const sx = [
|
|
|
34802
35270
|
}
|
|
34803
35271
|
]
|
|
34804
35272
|
},
|
|
35273
|
+
{
|
|
35274
|
+
chainId: "vector-1",
|
|
35275
|
+
explorers: [
|
|
35276
|
+
{
|
|
35277
|
+
kind: "Vector",
|
|
35278
|
+
url: "https://explorer.playonvector.com/",
|
|
35279
|
+
tx_page: "https://explorer.playonvector.com/vector/tx/${txHash}",
|
|
35280
|
+
account_page: "https://explorer.playonvector.com/vector/account/${accountAddress}"
|
|
35281
|
+
}
|
|
35282
|
+
]
|
|
35283
|
+
},
|
|
34805
35284
|
{
|
|
34806
35285
|
chainId: "xion-mainnet-1",
|
|
34807
35286
|
explorers: [
|
|
@@ -34999,6 +35478,29 @@ const sx = [
|
|
|
34999
35478
|
}
|
|
35000
35479
|
]
|
|
35001
35480
|
},
|
|
35481
|
+
{
|
|
35482
|
+
chainId: "allora-testnet-1",
|
|
35483
|
+
explorers: [
|
|
35484
|
+
{
|
|
35485
|
+
kind: "ping.pub",
|
|
35486
|
+
url: "https://explorer.testnet.allora.network",
|
|
35487
|
+
tx_page: "https://explorer.testnet.allora.network/allora-testnet-1/tx/${txHash}",
|
|
35488
|
+
account_page: "https://explorer.testnet.allora.network/allora-testnet-1/account/${accountAddress}"
|
|
35489
|
+
},
|
|
35490
|
+
{
|
|
35491
|
+
kind: "Allora Studio",
|
|
35492
|
+
url: "https://explorer.testnet-1.allora.network",
|
|
35493
|
+
tx_page: "https://explorer.testnet-1.allora.network/explorer/transactions/${txHash}",
|
|
35494
|
+
account_page: "https://explorer.testnet-1.allora.network/profile/${accountAddress}"
|
|
35495
|
+
},
|
|
35496
|
+
{
|
|
35497
|
+
kind: "Moonlet",
|
|
35498
|
+
url: "https://explorer.moonlet.cloud/allora",
|
|
35499
|
+
tx_page: "https://explorer.moonlet.cloud/allora/tx/${txHash}",
|
|
35500
|
+
account_page: "https://explorer.moonlet.cloud/allora/account/${accountAddress}"
|
|
35501
|
+
}
|
|
35502
|
+
]
|
|
35503
|
+
},
|
|
35002
35504
|
{
|
|
35003
35505
|
chainId: "constantine-3",
|
|
35004
35506
|
explorers: [
|
|
@@ -35862,13 +36364,13 @@ const sx = [
|
|
|
35862
36364
|
]
|
|
35863
36365
|
},
|
|
35864
36366
|
{
|
|
35865
|
-
chainId: "rila-
|
|
36367
|
+
chainId: "rila-3",
|
|
35866
36368
|
explorers: [
|
|
35867
36369
|
{
|
|
35868
36370
|
kind: "Nolus Explorer",
|
|
35869
|
-
url: "https://
|
|
35870
|
-
tx_page: "https://
|
|
35871
|
-
account_page: "https://
|
|
36371
|
+
url: "https://testnet.ping.pub/nolus/",
|
|
36372
|
+
tx_page: "https://testnet.ping.pub/nolus/tx/${txHash}",
|
|
36373
|
+
account_page: "https://testnet.ping.pub/nolus/account/${accountAddress}"
|
|
35872
36374
|
}
|
|
35873
36375
|
]
|
|
35874
36376
|
},
|
|
@@ -35923,6 +36425,21 @@ const sx = [
|
|
|
35923
36425
|
}
|
|
35924
36426
|
]
|
|
35925
36427
|
},
|
|
36428
|
+
{
|
|
36429
|
+
chainId: "ignite_186-1",
|
|
36430
|
+
explorers: [
|
|
36431
|
+
{
|
|
36432
|
+
kind: "testnet.pell.explorers.guru",
|
|
36433
|
+
url: "https://testnet.pell.explorers.guru/",
|
|
36434
|
+
tx_page: "https://testnet.pell.explorers.guru/transaction/${txHash}"
|
|
36435
|
+
},
|
|
36436
|
+
{
|
|
36437
|
+
kind: "explorer.hibunode.com",
|
|
36438
|
+
url: "https://explorer.hibunode.com/pell",
|
|
36439
|
+
tx_page: "https://explorer.hibunode.com/pell/tx/${txHash}"
|
|
36440
|
+
}
|
|
36441
|
+
]
|
|
36442
|
+
},
|
|
35926
36443
|
{
|
|
35927
36444
|
chainId: "INVALID-ID-permtestnet-testnet-1",
|
|
35928
36445
|
explorers: [
|
|
@@ -36313,6 +36830,20 @@ const sx = [
|
|
|
36313
36830
|
}
|
|
36314
36831
|
]
|
|
36315
36832
|
},
|
|
36833
|
+
{
|
|
36834
|
+
chainId: "titan-test-4",
|
|
36835
|
+
explorers: [
|
|
36836
|
+
{
|
|
36837
|
+
kind: "guru",
|
|
36838
|
+
url: "https://testnet.titan.explorers.guru",
|
|
36839
|
+
tx_page: "https://testnet.titan.explorers.guru/transaction/${txHash}",
|
|
36840
|
+
account_page: "https://testnet.titan.explorers.guru/account/${accountAddress}",
|
|
36841
|
+
validator_page: "https://testnet.titan.explorers.guru/validator/${validatorAddress}",
|
|
36842
|
+
proposal_page: "https://testnet.titan.explorers.guru/proposal/${proposalId}",
|
|
36843
|
+
block_page: "https://testnet.titan.explorers.guru/block/${blockHeight}"
|
|
36844
|
+
}
|
|
36845
|
+
]
|
|
36846
|
+
},
|
|
36316
36847
|
{
|
|
36317
36848
|
chainId: "titan_18889-1",
|
|
36318
36849
|
explorers: [
|
|
@@ -36356,19 +36887,13 @@ const sx = [
|
|
|
36356
36887
|
]
|
|
36357
36888
|
},
|
|
36358
36889
|
{
|
|
36359
|
-
chainId: "union-testnet-
|
|
36890
|
+
chainId: "union-testnet-9",
|
|
36360
36891
|
explorers: [
|
|
36361
36892
|
{
|
|
36362
36893
|
kind: "ping.pub",
|
|
36363
|
-
url: "https://explorer.testnet-
|
|
36364
|
-
tx_page: "https://explorer.testnet-
|
|
36365
|
-
account_page: "https://explorer.testnet-
|
|
36366
|
-
},
|
|
36367
|
-
{
|
|
36368
|
-
kind: "explorers.guru",
|
|
36369
|
-
url: "https://testnet.union.explorers.guru",
|
|
36370
|
-
tx_page: "https://testnet.union.explorers.guru/transaction/${txHash}",
|
|
36371
|
-
account_page: "https://testnet.union.explorers.guru/account/${accountAddress}"
|
|
36894
|
+
url: "https://explorer.testnet-9.union.build/union",
|
|
36895
|
+
tx_page: "https://explorer.testnet-9.union.build/union/tx/${txHash}",
|
|
36896
|
+
account_page: "https://explorer.testnet-9.union.build/union/account/${accountAddress}"
|
|
36372
36897
|
}
|
|
36373
36898
|
]
|
|
36374
36899
|
},
|
|
@@ -36693,7 +37218,7 @@ const sx = [
|
|
|
36693
37218
|
return i === "carbon-1" ? ri.CARBON : a;
|
|
36694
37219
|
};
|
|
36695
37220
|
}), um = pp((e) => {
|
|
36696
|
-
const n = e(
|
|
37221
|
+
const n = e(zn), { route: o, userAddresses: i, transactionDetailsArray: t } = e(We), c = e(hm), a = e(rm), r = e(xx);
|
|
36697
37222
|
return {
|
|
36698
37223
|
gcTime: 1 / 0,
|
|
36699
37224
|
mutationFn: async () => {
|
|
@@ -37073,7 +37598,7 @@ const sx = [
|
|
|
37073
37598
|
showRouteInfo: n,
|
|
37074
37599
|
showEstimatedTime: o
|
|
37075
37600
|
}) => {
|
|
37076
|
-
const { data: i, isLoading: t } = R(Zo), c = R(Tn), a = on(), r = W(() => c.slippage !== mt.slippage || c.routePreference !== mt.routePreference, [c]), s =
|
|
37601
|
+
const { data: i, isLoading: t } = R(Zo), c = R(Tn), a = on(), r = W(() => c.slippage !== mt.slippage || c.routePreference !== mt.routePreference, [c]), s = zc(i == null ? void 0 : i.estimatedRouteDurationSeconds), l = (i == null ? void 0 : i.txsRequired) && i.txsRequired > 1, p = W(() => /* @__PURE__ */ m(V, { gap: 4, align: "center", children: /* @__PURE__ */ q(xm, { gap: 5, align: "center", children: [
|
|
37077
37602
|
/* @__PURE__ */ m(ua, {}),
|
|
37078
37603
|
i == null ? void 0 : i.txsRequired,
|
|
37079
37604
|
" ",
|
|
@@ -37366,12 +37891,12 @@ const sx = [
|
|
|
37366
37891
|
t,
|
|
37367
37892
|
a,
|
|
37368
37893
|
o
|
|
37369
|
-
]),
|
|
37894
|
+
]), ze(
|
|
37370
37895
|
// if checkChainType is true, it only check wallet connected no chainId is dependent
|
|
37371
37896
|
(w, E) => {
|
|
37372
37897
|
var H, T;
|
|
37373
37898
|
if (!w) return;
|
|
37374
|
-
const I = (H = s == null ? void 0 : s.find((
|
|
37899
|
+
const I = (H = s == null ? void 0 : s.find((S) => S.chainID === w)) == null ? void 0 : H.chainType;
|
|
37375
37900
|
if (r && r[w])
|
|
37376
37901
|
return {
|
|
37377
37902
|
address: r[w],
|
|
@@ -37408,14 +37933,14 @@ const sx = [
|
|
|
37408
37933
|
switch (I) {
|
|
37409
37934
|
case L.Cosmos: {
|
|
37410
37935
|
if (!M || !e.cosmos) return;
|
|
37411
|
-
const
|
|
37936
|
+
const S = gm(e.cosmos.walletName);
|
|
37412
37937
|
return {
|
|
37413
37938
|
address: M.bech32Address,
|
|
37414
37939
|
chainType: I,
|
|
37415
37940
|
wallet: {
|
|
37416
37941
|
name: e.cosmos.walletName,
|
|
37417
|
-
prettyName:
|
|
37418
|
-
logo:
|
|
37942
|
+
prettyName: S.name,
|
|
37943
|
+
logo: S.imgSrc,
|
|
37419
37944
|
isLedger: M.isNanoLedger
|
|
37420
37945
|
}
|
|
37421
37946
|
};
|
|
@@ -37428,9 +37953,9 @@ const sx = [
|
|
|
37428
37953
|
wallet: {
|
|
37429
37954
|
name: d.connector.id,
|
|
37430
37955
|
prettyName: d.connector.name,
|
|
37431
|
-
logo: d.connector.id === "walletConnect" ? ct : (T = x.find((
|
|
37956
|
+
logo: d.connector.id === "walletConnect" ? ct : (T = x.find((S) => {
|
|
37432
37957
|
var y;
|
|
37433
|
-
return
|
|
37958
|
+
return S.id === ((y = d.connector) == null ? void 0 : y.id);
|
|
37434
37959
|
})) == null ? void 0 : T.icon
|
|
37435
37960
|
}
|
|
37436
37961
|
};
|
|
@@ -37507,7 +38032,7 @@ const sx = [
|
|
|
37507
38032
|
chainId: o,
|
|
37508
38033
|
tokenAmount: n
|
|
37509
38034
|
}), x = R(Kn), w = Xn()(o), E = s === "destination" && t !== void 0, I = E || c !== void 0, C = W(() => {
|
|
37510
|
-
const
|
|
38035
|
+
const S = Object.values(x);
|
|
37511
38036
|
switch (s) {
|
|
37512
38037
|
case "source":
|
|
37513
38038
|
return {
|
|
@@ -37524,7 +38049,7 @@ const sx = [
|
|
|
37524
38049
|
};
|
|
37525
38050
|
}
|
|
37526
38051
|
case "destination": {
|
|
37527
|
-
const y =
|
|
38052
|
+
const y = S[S.length - 1];
|
|
37528
38053
|
return {
|
|
37529
38054
|
address: y == null ? void 0 : y.address,
|
|
37530
38055
|
image: (y == null ? void 0 : y.source) === "wallet" && y.wallet.walletInfo.logo || void 0
|
|
@@ -37532,9 +38057,9 @@ const sx = [
|
|
|
37532
38057
|
}
|
|
37533
38058
|
}
|
|
37534
38059
|
}, [w == null ? void 0 : w.address, w == null ? void 0 : w.wallet.logo, x, o, s]), M = W(() => {
|
|
37535
|
-
const
|
|
38060
|
+
const S = E ? ({ children: y }) => /* @__PURE__ */ m(V, { gap: 5, children: y }) : ln.Fragment;
|
|
37536
38061
|
if (C.address)
|
|
37537
|
-
return /* @__PURE__ */ q(
|
|
38062
|
+
return /* @__PURE__ */ q(S, { children: [
|
|
37538
38063
|
/* @__PURE__ */ q(rt, { onClick: () => Bt(C.address), children: [
|
|
37539
38064
|
C.image && /* @__PURE__ */ m(
|
|
37540
38065
|
"img",
|
|
@@ -37570,14 +38095,14 @@ const sx = [
|
|
|
37570
38095
|
}, [c, u]);
|
|
37571
38096
|
return /* @__PURE__ */ q(V, { gap: 15, align: "center", ...l, children: [
|
|
37572
38097
|
(d == null ? void 0 : d.assetImage) && /* @__PURE__ */ m(
|
|
37573
|
-
|
|
38098
|
+
St,
|
|
37574
38099
|
{
|
|
37575
38100
|
width: 30,
|
|
37576
38101
|
height: 30,
|
|
37577
38102
|
backgroundColor: p.success.text,
|
|
37578
38103
|
status: i,
|
|
37579
38104
|
children: /* @__PURE__ */ m(
|
|
37580
|
-
|
|
38105
|
+
zx,
|
|
37581
38106
|
{
|
|
37582
38107
|
height: 30,
|
|
37583
38108
|
width: 30,
|
|
@@ -37597,7 +38122,7 @@ const sx = [
|
|
|
37597
38122
|
children: /* @__PURE__ */ q(V, { align: "center", justify: "space-between", children: [
|
|
37598
38123
|
/* @__PURE__ */ q(he, { children: [
|
|
37599
38124
|
/* @__PURE__ */ q(V, { gap: 5, align: "center", children: [
|
|
37600
|
-
/* @__PURE__ */ m(jx, { normalTextColor: !0, title: d == null ? void 0 : d.amount, children:
|
|
38125
|
+
/* @__PURE__ */ m(jx, { normalTextColor: !0, title: d == null ? void 0 : d.amount, children: zo(d == null ? void 0 : d.amount) }),
|
|
37601
38126
|
/* @__PURE__ */ m(Ix, { normalTextColor: !0, children: d == null ? void 0 : d.symbol }),
|
|
37602
38127
|
/* @__PURE__ */ q(
|
|
37603
38128
|
Hx,
|
|
@@ -37624,10 +38149,10 @@ const sx = [
|
|
|
37624
38149
|
] });
|
|
37625
38150
|
}, Bx = N(K)`
|
|
37626
38151
|
text-transform: lowercase;
|
|
37627
|
-
`,
|
|
38152
|
+
`, zx = N.img`
|
|
37628
38153
|
border-radius: 50%;
|
|
37629
38154
|
box-sizing: content-box;
|
|
37630
|
-
`,
|
|
38155
|
+
`, St = ({
|
|
37631
38156
|
backgroundColor: e,
|
|
37632
38157
|
children: n,
|
|
37633
38158
|
width: o,
|
|
@@ -37635,7 +38160,7 @@ const sx = [
|
|
|
37635
38160
|
borderSize: t = 2,
|
|
37636
38161
|
status: c
|
|
37637
38162
|
}) => /* @__PURE__ */ m(
|
|
37638
|
-
|
|
38163
|
+
Sx,
|
|
37639
38164
|
{
|
|
37640
38165
|
align: "center",
|
|
37641
38166
|
justify: "center",
|
|
@@ -37656,7 +38181,7 @@ const sx = [
|
|
|
37656
38181
|
}
|
|
37657
38182
|
)
|
|
37658
38183
|
}
|
|
37659
|
-
),
|
|
38184
|
+
), Sx = N(V)`
|
|
37660
38185
|
flex-shrink: 0;
|
|
37661
38186
|
position: relative;
|
|
37662
38187
|
overflow: hidden;
|
|
@@ -37792,13 +38317,13 @@ const Tx = new Intl.NumberFormat("en-US", {
|
|
|
37792
38317
|
};
|
|
37793
38318
|
}
|
|
37794
38319
|
}
|
|
37795
|
-
}, [x == null ? void 0 : x.address, x == null ? void 0 : x.wallet.logo, u, r]), w = W(() =>
|
|
38320
|
+
}, [x == null ? void 0 : x.address, x == null ? void 0 : x.wallet.logo, u, r]), w = W(() => zo(di(p.amount)), [p.amount]), E = W(() => {
|
|
37796
38321
|
if (a)
|
|
37797
38322
|
return l ? /* @__PURE__ */ m($l, { href: a, target: "_blank", children: /* @__PURE__ */ m(Pn, {}) }) : /* @__PURE__ */ m(st, { href: a, target: "_blank", children: /* @__PURE__ */ m(Pn, {}) });
|
|
37798
38323
|
}, [a, l]);
|
|
37799
38324
|
return /* @__PURE__ */ q(V, { gap: 25, align: "center", children: [
|
|
37800
38325
|
/* @__PURE__ */ m(
|
|
37801
|
-
|
|
38326
|
+
St,
|
|
37802
38327
|
{
|
|
37803
38328
|
width: 50,
|
|
37804
38329
|
height: 50,
|
|
@@ -38081,7 +38606,7 @@ const Tx = new Intl.NumberFormat("en-US", {
|
|
|
38081
38606
|
tokenAmount: b.amountOut,
|
|
38082
38607
|
denom: b.denomOut,
|
|
38083
38608
|
chainId: b.toChainID ?? b.chainID
|
|
38084
|
-
}, T = b.isSwap ? (y = d == null ? void 0 : d[b.transferIndex]) == null ? void 0 : y.fromExplorerLink : (h = d == null ? void 0 : d[b.transferIndex]) == null ? void 0 : h.toExplorerLink,
|
|
38609
|
+
}, T = b.isSwap ? (y = d == null ? void 0 : d[b.transferIndex]) == null ? void 0 : y.fromExplorerLink : (h = d == null ? void 0 : d[b.transferIndex]) == null ? void 0 : h.toExplorerLink, S = i === Ae.confirmed ? "completed" : (D = d == null ? void 0 : d[b.transferIndex]) == null ? void 0 : D.status;
|
|
38085
38610
|
return /* @__PURE__ */ q(ln.Fragment, { children: [
|
|
38086
38611
|
/* @__PURE__ */ q(
|
|
38087
38612
|
_x,
|
|
@@ -38122,7 +38647,7 @@ const Tx = new Intl.NumberFormat("en-US", {
|
|
|
38122
38647
|
onClickEditDestinationWallet: o,
|
|
38123
38648
|
context: w === e.length - 1 ? "destination" : "intermediary",
|
|
38124
38649
|
isSignRequired: M == null ? void 0 : M.signRequired,
|
|
38125
|
-
status:
|
|
38650
|
+
status: S,
|
|
38126
38651
|
explorerLink: T
|
|
38127
38652
|
}
|
|
38128
38653
|
)
|
|
@@ -38363,7 +38888,7 @@ const wm = {
|
|
|
38363
38888
|
const { data: e } = R(Be), { data: n } = R(bn), o = X(wt), i = X(Ee), t = R(Mi), { walletType: c } = hp(), { data: a, isConnected: r } = bs({
|
|
38364
38889
|
multiChain: !0
|
|
38365
38890
|
}), { disconnectAsync: s } = As();
|
|
38366
|
-
return { createCosmosWallets:
|
|
38891
|
+
return { createCosmosWallets: ze(
|
|
38367
38892
|
(p) => {
|
|
38368
38893
|
const u = li(), d = up(me.COSMIFRAME), x = [
|
|
38369
38894
|
me.KEPLR,
|
|
@@ -38399,7 +38924,7 @@ const wm = {
|
|
|
38399
38924
|
console.error("Prax wallet is not supported for connect");
|
|
38400
38925
|
},
|
|
38401
38926
|
getAddress: async ({ praxWallet: H }) => {
|
|
38402
|
-
const T = H == null ? void 0 : H.index,
|
|
38927
|
+
const T = H == null ? void 0 : H.index, S = H == null ? void 0 : H.sourceChainID, D = Kp("chrome-extension://lkpmkhpnhknhmibgnmmhdhgdilepfghe");
|
|
38403
38928
|
try {
|
|
38404
38929
|
await D.connect();
|
|
38405
38930
|
const P = await D.service(Xp).ephemeralAddress({
|
|
@@ -38410,7 +38935,7 @@ const wm = {
|
|
|
38410
38935
|
if (!P.address) throw new Error("No address found");
|
|
38411
38936
|
return m2({
|
|
38412
38937
|
address: P.address,
|
|
38413
|
-
chainID:
|
|
38938
|
+
chainID: S
|
|
38414
38939
|
});
|
|
38415
38940
|
} catch (g) {
|
|
38416
38941
|
throw console.error(g), g;
|
|
@@ -38427,7 +38952,7 @@ const wm = {
|
|
|
38427
38952
|
}];
|
|
38428
38953
|
const C = [];
|
|
38429
38954
|
for (const M of E) {
|
|
38430
|
-
const H = dp(M), T = li(),
|
|
38955
|
+
const H = dp(M), T = li(), S = gm(M), y = (H ? Ex : M === me.OKX ? wx : M === me.KEPLR && !T ? yx : vx).filter(
|
|
38431
38956
|
(f) => (e == null ? void 0 : e.filter((A) => A.chainType === L.Cosmos).map((A) => A.chainID).includes(f)) && Aa.map((A) => A.chainId).includes(f)
|
|
38432
38957
|
), h = async () => {
|
|
38433
38958
|
var f, A;
|
|
@@ -38497,10 +39022,10 @@ const wm = {
|
|
|
38497
39022
|
return (await rn(M).getKey(p)).bech32Address;
|
|
38498
39023
|
}, P = {
|
|
38499
39024
|
walletName: M,
|
|
38500
|
-
walletPrettyName:
|
|
39025
|
+
walletPrettyName: S == null ? void 0 : S.name,
|
|
38501
39026
|
walletChainType: L.Cosmos,
|
|
38502
39027
|
walletInfo: {
|
|
38503
|
-
logo:
|
|
39028
|
+
logo: S == null ? void 0 : S.imgSrc
|
|
38504
39029
|
},
|
|
38505
39030
|
connectEco: async () => {
|
|
38506
39031
|
await h(), o({
|
|
@@ -38626,7 +39151,7 @@ const wm = {
|
|
|
38626
39151
|
isConnected: r,
|
|
38627
39152
|
chainId: s
|
|
38628
39153
|
} = Dt(), { connectAsync: l } = Ep(), p = Uc(), u = p.find((x) => x.id === (c == null ? void 0 : c.id));
|
|
38629
|
-
return { createEvmWallets:
|
|
39154
|
+
return { createEvmWallets: ze(
|
|
38630
39155
|
(x) => {
|
|
38631
39156
|
const b = x === "pacific-1";
|
|
38632
39157
|
b && (x = tt.id.toString());
|
|
@@ -38641,14 +39166,14 @@ const wm = {
|
|
|
38641
39166
|
chainId: Number(x)
|
|
38642
39167
|
})), a;
|
|
38643
39168
|
if (E.id !== (c == null ? void 0 : c.id) || !r) {
|
|
38644
|
-
const
|
|
39169
|
+
const S = await l({
|
|
38645
39170
|
connector: E,
|
|
38646
39171
|
chainId: Number(x)
|
|
38647
39172
|
});
|
|
38648
39173
|
return i({
|
|
38649
39174
|
walletName: E.id,
|
|
38650
39175
|
chainType: L.EVM
|
|
38651
|
-
}),
|
|
39176
|
+
}), S.accounts[0];
|
|
38652
39177
|
} else a && r && H && i({
|
|
38653
39178
|
walletName: E.id,
|
|
38654
39179
|
chainType: L.EVM
|
|
@@ -38675,20 +39200,20 @@ const wm = {
|
|
|
38675
39200
|
walletName: E.id,
|
|
38676
39201
|
chainType: L.EVM
|
|
38677
39202
|
});
|
|
38678
|
-
const
|
|
39203
|
+
const S = e == null ? void 0 : e.find((D) => D.chainID === "1"), y = n == null ? void 0 : n.find((D) => D.denom === "ethereum-native");
|
|
38679
39204
|
o({
|
|
38680
|
-
chainID:
|
|
38681
|
-
chainName:
|
|
39205
|
+
chainID: S == null ? void 0 : S.chainID,
|
|
39206
|
+
chainName: S == null ? void 0 : S.chainName,
|
|
38682
39207
|
...y
|
|
38683
39208
|
});
|
|
38684
39209
|
const h = await E.getAccounts();
|
|
38685
39210
|
(T = t == null ? void 0 : t.onWalletConnected) == null || T.call(t, {
|
|
38686
39211
|
walletName: E.name,
|
|
38687
|
-
chainId:
|
|
39212
|
+
chainId: S == null ? void 0 : S.chainID,
|
|
38688
39213
|
address: h[0]
|
|
38689
39214
|
});
|
|
38690
|
-
} catch (
|
|
38691
|
-
throw console.error(
|
|
39215
|
+
} catch (S) {
|
|
39216
|
+
throw console.error(S), S;
|
|
38692
39217
|
}
|
|
38693
39218
|
},
|
|
38694
39219
|
connect: async () => {
|
|
@@ -38705,21 +39230,21 @@ const wm = {
|
|
|
38705
39230
|
walletName: E.id,
|
|
38706
39231
|
chainType: L.EVM
|
|
38707
39232
|
});
|
|
38708
|
-
const
|
|
39233
|
+
const S = await E.getAccounts();
|
|
38709
39234
|
(T = t == null ? void 0 : t.onWalletConnected) == null || T.call(t, {
|
|
38710
39235
|
walletName: E.name,
|
|
38711
39236
|
chainId: x,
|
|
38712
|
-
address:
|
|
39237
|
+
address: S[0]
|
|
38713
39238
|
});
|
|
38714
|
-
} catch (
|
|
38715
|
-
throw console.error(
|
|
39239
|
+
} catch (S) {
|
|
39240
|
+
throw console.error(S), S;
|
|
38716
39241
|
}
|
|
38717
39242
|
},
|
|
38718
39243
|
getAddress: async ({ signRequired: H, context: T }) => {
|
|
38719
39244
|
try {
|
|
38720
39245
|
return await C({ signRequired: H, context: T });
|
|
38721
|
-
} catch (
|
|
38722
|
-
throw console.error(
|
|
39246
|
+
} catch (S) {
|
|
39247
|
+
throw console.error(S), S;
|
|
38723
39248
|
}
|
|
38724
39249
|
},
|
|
38725
39250
|
disconnect: async () => {
|
|
@@ -38733,8 +39258,8 @@ const wm = {
|
|
|
38733
39258
|
};
|
|
38734
39259
|
if (b) {
|
|
38735
39260
|
const H = E.name.toLowerCase().includes("keplr") || E.name.toLowerCase().includes("leap") || E.name.toLowerCase().includes("cosmostation");
|
|
38736
|
-
M.walletPrettyName = `${E.name} ${H ? "(EVM)" : ""}`, M.getAddress = async ({ signRequired: T, context:
|
|
38737
|
-
const y = await C({ signRequired: T, context:
|
|
39261
|
+
M.walletPrettyName = `${E.name} ${H ? "(EVM)" : ""}`, M.getAddress = async ({ signRequired: T, context: S }) => {
|
|
39262
|
+
const y = await C({ signRequired: T, context: S }), h = kp({
|
|
38738
39263
|
chain: tt,
|
|
38739
39264
|
transport: re()
|
|
38740
39265
|
});
|
|
@@ -38772,7 +39297,7 @@ const wm = {
|
|
|
38772
39297
|
) };
|
|
38773
39298
|
}, Bm = () => {
|
|
38774
39299
|
const { data: e } = R(Be), { data: n } = R(bn), o = X(Ee), i = X(yt), t = R(Mi);
|
|
38775
|
-
return { createSolanaWallets:
|
|
39300
|
+
return { createSolanaWallets: ze(() => {
|
|
38776
39301
|
const a = [];
|
|
38777
39302
|
for (const r of mi) {
|
|
38778
39303
|
const s = {
|
|
@@ -38885,7 +39410,7 @@ const wm = {
|
|
|
38885
39410
|
}
|
|
38886
39411
|
}
|
|
38887
39412
|
`};
|
|
38888
|
-
`, as = 600, u2 = 100,
|
|
39413
|
+
`, as = 600, u2 = 100, zm = (e) => {
|
|
38889
39414
|
const n = on(), [o, i] = pe(as - e);
|
|
38890
39415
|
return xe(() => {
|
|
38891
39416
|
i(n ? window.innerHeight - e - u2 * 2 : as - e);
|
|
@@ -38899,7 +39424,7 @@ const wm = {
|
|
|
38899
39424
|
className: c,
|
|
38900
39425
|
empty: a
|
|
38901
39426
|
}) => {
|
|
38902
|
-
const r = De(), [s, l] = pe(), p =
|
|
39427
|
+
const r = De(), [s, l] = pe(), p = zm(o), u = Oc(null);
|
|
38903
39428
|
return xe(() => {
|
|
38904
39429
|
var w, E, I;
|
|
38905
39430
|
const d = (I = (E = (w = u.current) == null ? void 0 : w.nativeElement) == null ? void 0 : E.getElementsByClassName(
|
|
@@ -38984,7 +39509,7 @@ const wm = {
|
|
|
38984
39509
|
@media (max-width: ${Ic}px) {
|
|
38985
39510
|
max-height: 600px;
|
|
38986
39511
|
}
|
|
38987
|
-
`,
|
|
39512
|
+
`, Sm = N(he)`
|
|
38988
39513
|
width: 100%;
|
|
38989
39514
|
align-items: center;
|
|
38990
39515
|
justify-content: center;
|
|
@@ -39082,7 +39607,7 @@ var M2 = Je && Je.__createBinding || (Object.create ? function(e, n, o, i) {
|
|
|
39082
39607
|
Object.defineProperty(e, "default", { enumerable: !0, value: n });
|
|
39083
39608
|
} : function(e, n) {
|
|
39084
39609
|
e.default = n;
|
|
39085
|
-
}),
|
|
39610
|
+
}), z2 = Je && Je.__importStar || function(e) {
|
|
39086
39611
|
if (e && e.__esModule) return e;
|
|
39087
39612
|
var n = {};
|
|
39088
39613
|
if (e != null) for (var o in e) o !== "default" && Object.prototype.hasOwnProperty.call(e, o) && M2(n, e, o);
|
|
@@ -39090,11 +39615,11 @@ var M2 = Je && Je.__createBinding || (Object.create ? function(e, n, o, i) {
|
|
|
39090
39615
|
};
|
|
39091
39616
|
Object.defineProperty(jo, "__esModule", { value: !0 });
|
|
39092
39617
|
jo.fromBase64 = jo.toBase64 = void 0;
|
|
39093
|
-
const Im =
|
|
39094
|
-
function
|
|
39618
|
+
const Im = z2(jt);
|
|
39619
|
+
function S2(e) {
|
|
39095
39620
|
return Im.fromByteArray(e);
|
|
39096
39621
|
}
|
|
39097
|
-
jo.toBase64 =
|
|
39622
|
+
jo.toBase64 = S2;
|
|
39098
39623
|
function q2(e) {
|
|
39099
39624
|
if (!e.match(/^[a-zA-Z0-9+/]*={0,2}$/))
|
|
39100
39625
|
throw new Error("Invalid base64 string format");
|
|
@@ -39366,8 +39891,8 @@ const $2 = ({
|
|
|
39366
39891
|
}
|
|
39367
39892
|
case L.SVM:
|
|
39368
39893
|
try {
|
|
39369
|
-
const i = new
|
|
39370
|
-
return
|
|
39894
|
+
const i = new za(e);
|
|
39895
|
+
return za.isOnCurve(i);
|
|
39371
39896
|
} catch {
|
|
39372
39897
|
return !1;
|
|
39373
39898
|
}
|
|
@@ -39414,7 +39939,7 @@ const e1 = Uo((e) => {
|
|
|
39414
39939
|
}
|
|
39415
39940
|
);
|
|
39416
39941
|
}
|
|
39417
|
-
}, M = [...x, C], H =
|
|
39942
|
+
}, M = [...x, C], H = ze((g) => {
|
|
39418
39943
|
d(g.target.value);
|
|
39419
39944
|
}, []), T = W(() => {
|
|
39420
39945
|
if (!a || u.length === 0) return;
|
|
@@ -39424,7 +39949,7 @@ const e1 = Uo((e) => {
|
|
|
39424
39949
|
bech32Prefix: P,
|
|
39425
39950
|
chainType: g
|
|
39426
39951
|
});
|
|
39427
|
-
}, [a, u]),
|
|
39952
|
+
}, [a, u]), S = W(() => {
|
|
39428
39953
|
if (!a) return "Enter address...";
|
|
39429
39954
|
const { chainType: g, bech32Prefix: P } = a;
|
|
39430
39955
|
switch (g) {
|
|
@@ -39467,7 +39992,7 @@ const e1 = Uo((e) => {
|
|
|
39467
39992
|
/* @__PURE__ */ m(
|
|
39468
39993
|
t1,
|
|
39469
39994
|
{
|
|
39470
|
-
placeholder:
|
|
39995
|
+
placeholder: S,
|
|
39471
39996
|
value: u,
|
|
39472
39997
|
onChange: H,
|
|
39473
39998
|
validAddress: T
|
|
@@ -39557,7 +40082,7 @@ const e1 = Uo((e) => {
|
|
|
39557
40082
|
isConnectEco: a,
|
|
39558
40083
|
chainAddressIndex: r
|
|
39559
40084
|
}) => {
|
|
39560
|
-
var
|
|
40085
|
+
var S, y;
|
|
39561
40086
|
const s = De(), l = R(vt), p = X(wt), u = X(kt), d = X(yt), x = X(Kn), b = W(() => {
|
|
39562
40087
|
const h = n.filter(
|
|
39563
40088
|
(D) => rs(D) || (D == null ? void 0 : D.isAvailable) !== !1
|
|
@@ -39570,10 +40095,10 @@ const e1 = Uo((e) => {
|
|
|
39570
40095
|
if (i) {
|
|
39571
40096
|
if (!t || !c) return;
|
|
39572
40097
|
const v = await ((g = h.getAddress) == null ? void 0 : g.call(h, {}));
|
|
39573
|
-
return x((
|
|
39574
|
-
const j = r || Object.values(
|
|
40098
|
+
return x((z) => {
|
|
40099
|
+
const j = r || Object.values(z).length - 1;
|
|
39575
40100
|
return {
|
|
39576
|
-
...
|
|
40101
|
+
...z,
|
|
39577
40102
|
[j]: {
|
|
39578
40103
|
chainID: t,
|
|
39579
40104
|
chainType: c,
|
|
@@ -39597,18 +40122,18 @@ const e1 = Uo((e) => {
|
|
|
39597
40122
|
await ((P = v.disable) == null ? void 0 : P.call(v)), await I(), p(void 0);
|
|
39598
40123
|
}
|
|
39599
40124
|
if (l.svm) {
|
|
39600
|
-
const v = mi.find((
|
|
40125
|
+
const v = mi.find((z) => {
|
|
39601
40126
|
var j;
|
|
39602
|
-
return
|
|
40127
|
+
return z.name === ((j = l.svm) == null ? void 0 : j.walletName);
|
|
39603
40128
|
});
|
|
39604
40129
|
await ((f = v == null ? void 0 : v.disconnect) == null ? void 0 : f.call(v)), d(void 0);
|
|
39605
40130
|
}
|
|
39606
40131
|
break;
|
|
39607
40132
|
case L.SVM:
|
|
39608
40133
|
if (l.evm) {
|
|
39609
|
-
const v = E.find((
|
|
40134
|
+
const v = E.find((z) => {
|
|
39610
40135
|
var j;
|
|
39611
|
-
return
|
|
40136
|
+
return z.id === ((j = l.evm) == null ? void 0 : j.walletName);
|
|
39612
40137
|
});
|
|
39613
40138
|
await ((A = v == null ? void 0 : v.disconnect) == null ? void 0 : A.call(v)), u(void 0);
|
|
39614
40139
|
}
|
|
@@ -39619,16 +40144,16 @@ const e1 = Uo((e) => {
|
|
|
39619
40144
|
break;
|
|
39620
40145
|
case L.Cosmos:
|
|
39621
40146
|
if (l.evm) {
|
|
39622
|
-
const v = E.find((
|
|
40147
|
+
const v = E.find((z) => {
|
|
39623
40148
|
var j;
|
|
39624
|
-
return
|
|
40149
|
+
return z.id === ((j = l.evm) == null ? void 0 : j.walletName);
|
|
39625
40150
|
});
|
|
39626
40151
|
await ((k = v == null ? void 0 : v.disconnect) == null ? void 0 : k.call(v)), u(void 0);
|
|
39627
40152
|
}
|
|
39628
40153
|
if (l.svm) {
|
|
39629
|
-
const v = mi.find((
|
|
40154
|
+
const v = mi.find((z) => {
|
|
39630
40155
|
var j;
|
|
39631
|
-
return
|
|
40156
|
+
return z.name === ((j = l.svm) == null ? void 0 : j.walletName);
|
|
39632
40157
|
});
|
|
39633
40158
|
await ((F = v == null ? void 0 : v.disconnect) == null ? void 0 : F.call(v)), d(void 0);
|
|
39634
40159
|
}
|
|
@@ -39639,7 +40164,7 @@ const e1 = Uo((e) => {
|
|
|
39639
40164
|
onSuccess: () => {
|
|
39640
40165
|
a && w(), oe.remove(ce.SetAddressModal), oe.remove(ce.WalletSelectorModal);
|
|
39641
40166
|
}
|
|
39642
|
-
}), M =
|
|
40167
|
+
}), M = ze(
|
|
39643
40168
|
(h) => {
|
|
39644
40169
|
var v;
|
|
39645
40170
|
const D = Ni(h) ? h.walletPrettyName ?? h.walletName : h.walletName, g = Ni(h) ? (v = h == null ? void 0 : h.walletInfo) == null ? void 0 : v.logo : void 0, P = rs(h) ? h == null ? void 0 : h.rightContent : void 0, f = Ni(h) ? h == null ? void 0 : h.isAvailable : void 0, A = (P == null ? void 0 : P()) ?? /* @__PURE__ */ m(Ce, {}), B = g ? /* @__PURE__ */ m(
|
|
@@ -39676,9 +40201,9 @@ const e1 = Uo((e) => {
|
|
|
39676
40201
|
var h, D, g;
|
|
39677
40202
|
if (C.isError || C.isPending) {
|
|
39678
40203
|
const P = C.isError ? "Failed to connect" : "Connecting to";
|
|
39679
|
-
return /* @__PURE__ */ m(
|
|
40204
|
+
return /* @__PURE__ */ m(Sm, { children: /* @__PURE__ */ q(a1, { children: [
|
|
39680
40205
|
/* @__PURE__ */ m(
|
|
39681
|
-
|
|
40206
|
+
St,
|
|
39682
40207
|
{
|
|
39683
40208
|
width: 80,
|
|
39684
40209
|
height: 80,
|
|
@@ -39720,7 +40245,7 @@ const e1 = Uo((e) => {
|
|
|
39720
40245
|
C.error,
|
|
39721
40246
|
C.isError,
|
|
39722
40247
|
C.isPending,
|
|
39723
|
-
(
|
|
40248
|
+
(S = C.variables) == null ? void 0 : S.walletInfo.logo,
|
|
39724
40249
|
(y = C.variables) == null ? void 0 : y.walletPrettyName,
|
|
39725
40250
|
H,
|
|
39726
40251
|
M,
|
|
@@ -39793,7 +40318,7 @@ const e1 = Uo((e) => {
|
|
|
39793
40318
|
rightContent: () => n != null && n.chainID ? /* @__PURE__ */ m("img", { src: o, height: 36, width: 36, title: i }) : null
|
|
39794
40319
|
}
|
|
39795
40320
|
),
|
|
39796
|
-
/* @__PURE__ */ q(
|
|
40321
|
+
/* @__PURE__ */ q(Sm, { height: (s1 + Om) * 3, children: [
|
|
39797
40322
|
/* @__PURE__ */ m(nc, { chainID: "cosmoshub-4", chainType: L.Cosmos }, L.Cosmos),
|
|
39798
40323
|
/* @__PURE__ */ m(nc, { chainID: "1", chainType: L.EVM }, L.EVM),
|
|
39799
40324
|
/* @__PURE__ */ m(nc, { chainID: "solana", chainType: L.SVM }, L.SVM)
|
|
@@ -40281,7 +40806,7 @@ const e1 = Uo((e) => {
|
|
|
40281
40806
|
`, M1 = N(Nc)`
|
|
40282
40807
|
border-radius: 50%;
|
|
40283
40808
|
`, Um = $(void 0), Ea = lo((e) => {
|
|
40284
|
-
const n = e(
|
|
40809
|
+
const n = e(zn), o = e(Um), i = e(lt), t = o && Object.keys(o).length > 0 && !i;
|
|
40285
40810
|
return {
|
|
40286
40811
|
queryKey: ["skipBalances", o],
|
|
40287
40812
|
queryFn: async () => {
|
|
@@ -40297,7 +40822,7 @@ const e1 = Uo((e) => {
|
|
|
40297
40822
|
};
|
|
40298
40823
|
}), Ht = () => {
|
|
40299
40824
|
const { data: e } = R(Ea);
|
|
40300
|
-
return
|
|
40825
|
+
return ze(
|
|
40301
40826
|
(o, i) => {
|
|
40302
40827
|
var t, c, a;
|
|
40303
40828
|
return (a = (c = (t = e == null ? void 0 : e.chains) == null ? void 0 : t[o]) == null ? void 0 : c.denoms) == null ? void 0 : a[i];
|
|
@@ -40359,7 +40884,7 @@ const e1 = Uo((e) => {
|
|
|
40359
40884
|
return p.asset.originChainID === p.chainID ? 1 : x ? -1 : 0;
|
|
40360
40885
|
});
|
|
40361
40886
|
}, [t, i, o, c, n, e]);
|
|
40362
|
-
},
|
|
40887
|
+
}, z1 = 6, Xm = ({ groupedAsset: e, height: n, width: o }) => {
|
|
40363
40888
|
var r;
|
|
40364
40889
|
const [i, t] = pe(0);
|
|
40365
40890
|
if (!(e != null && e.assets)) return /* @__PURE__ */ m("img", { height: n, width: o });
|
|
@@ -40371,14 +40896,14 @@ const e1 = Uo((e) => {
|
|
|
40371
40896
|
...e.assets.map((s) => s.logoURI)
|
|
40372
40897
|
].filter((s) => !!s), a = Array.from(new Set(c));
|
|
40373
40898
|
return /* @__PURE__ */ m(
|
|
40374
|
-
|
|
40899
|
+
S1,
|
|
40375
40900
|
{
|
|
40376
40901
|
height: n,
|
|
40377
40902
|
width: o,
|
|
40378
40903
|
src: a[0],
|
|
40379
40904
|
loading: "lazy",
|
|
40380
40905
|
onError: (s) => {
|
|
40381
|
-
if (i === a.length - 1 || i ===
|
|
40906
|
+
if (i === a.length - 1 || i === z1) {
|
|
40382
40907
|
s.currentTarget.onerror = null;
|
|
40383
40908
|
return;
|
|
40384
40909
|
}
|
|
@@ -40388,7 +40913,7 @@ const e1 = Uo((e) => {
|
|
|
40388
40913
|
alt: `${e.assets[0].recommendedSymbol} logo`
|
|
40389
40914
|
}
|
|
40390
40915
|
);
|
|
40391
|
-
},
|
|
40916
|
+
}, S1 = N.img`
|
|
40392
40917
|
border-radius: 50%;
|
|
40393
40918
|
object-fit: cover;
|
|
40394
40919
|
${({ theme: e }) => `background-color: ${e.secondary.background.hover};`};
|
|
@@ -40598,30 +41123,30 @@ const e1 = Uo((e) => {
|
|
|
40598
41123
|
amount: e,
|
|
40599
41124
|
chainId: i == null ? void 0 : i.chainID
|
|
40600
41125
|
}), E = Zm({ context: l }), I = E == null ? void 0 : E.find(
|
|
40601
|
-
(
|
|
41126
|
+
(S) => {
|
|
40602
41127
|
var y;
|
|
40603
|
-
return
|
|
41128
|
+
return S.id === ((y = w.asset) == null ? void 0 : y.recommendedSymbol);
|
|
40604
41129
|
}
|
|
40605
|
-
), C = (
|
|
41130
|
+
), C = (S) => {
|
|
40606
41131
|
if (!o) return;
|
|
40607
|
-
let y =
|
|
41132
|
+
let y = S.target.value;
|
|
40608
41133
|
y.startsWith(".") && (y = "0" + y), y = y.replace(/[^\d.]/g, "");
|
|
40609
41134
|
const h = y.indexOf(".");
|
|
40610
41135
|
h !== -1 && (y = y.substring(0, h + 1) + y.substring(h + 1).replace(/\./g, "")), y = y.replace(/^0+(?!\.)/, "0");
|
|
40611
41136
|
const D = Qt(y);
|
|
40612
41137
|
o == null || o(di(D, w == null ? void 0 : w.decimals));
|
|
40613
|
-
}, M = (
|
|
41138
|
+
}, M = (S) => {
|
|
40614
41139
|
if (!o) return;
|
|
40615
41140
|
let y;
|
|
40616
|
-
switch (
|
|
41141
|
+
switch (S.key) {
|
|
40617
41142
|
case "Escape":
|
|
40618
|
-
|
|
41143
|
+
S.currentTarget.selectionStart === S.currentTarget.selectionEnd && S.currentTarget.select();
|
|
40619
41144
|
return;
|
|
40620
41145
|
case "ArrowUp":
|
|
40621
|
-
|
|
41146
|
+
S.preventDefault(), y = new we(Qt(S.currentTarget.value) || "0"), S.shiftKey ? y = y.plus(10) : S.altKey || S.ctrlKey || S.metaKey ? y = y.plus(0.1) : y = y.plus(1), y.isNegative() && (y = new we(0)), o(y.toString());
|
|
40622
41147
|
break;
|
|
40623
41148
|
case "ArrowDown":
|
|
40624
|
-
|
|
41149
|
+
S.preventDefault(), y = new we(Qt(S.currentTarget.value) || "0"), S.shiftKey ? y = y.minus(10) : S.altKey || S.ctrlKey || S.metaKey ? y = y.minus(0.1) : y = y.minus(1), y.isNegative() && (y = new we(0)), o(y.toString());
|
|
40625
41150
|
break;
|
|
40626
41151
|
default:
|
|
40627
41152
|
return;
|
|
@@ -40767,7 +41292,7 @@ const e1 = Uo((e) => {
|
|
|
40767
41292
|
setSearchTerm: t,
|
|
40768
41293
|
onKeyDown: c
|
|
40769
41294
|
}) => {
|
|
40770
|
-
const a = De(), r = on(), s = li(), l = Oc(null), p =
|
|
41295
|
+
const a = De(), r = on(), s = li(), l = Oc(null), p = ze(
|
|
40771
41296
|
(u) => {
|
|
40772
41297
|
const d = u.target.value;
|
|
40773
41298
|
t(d), n(d);
|
|
@@ -40832,9 +41357,9 @@ const e1 = Uo((e) => {
|
|
|
40832
41357
|
background-color: ${({ theme: e }) => e.primary.background.normal};
|
|
40833
41358
|
`, hs = 65, us = 5, Y1 = Uo(
|
|
40834
41359
|
(e) => {
|
|
40835
|
-
const n = Wc(), { onSelect: o, selectedAsset: i, selectChain: t, context: c } = e, { data: a, isLoading: r } = R(bn), { isLoading: s } = R(Be), l = r || s, [p, u] = pe(!0), [d, x] = pe(""), [b, w] = pe(null), E =
|
|
41360
|
+
const n = Wc(), { onSelect: o, selectedAsset: i, selectChain: t, context: c } = e, { data: a, isLoading: r } = R(bn), { isLoading: s } = R(Be), l = r || s, [p, u] = pe(!0), [d, x] = pe(""), [b, w] = pe(null), E = zm(hs + us), I = () => {
|
|
40836
41361
|
x("");
|
|
40837
|
-
}, C =
|
|
41362
|
+
}, C = ze(
|
|
40838
41363
|
(f) => {
|
|
40839
41364
|
if (f) {
|
|
40840
41365
|
if (Vc(f)) {
|
|
@@ -40851,7 +41376,7 @@ const e1 = Uo((e) => {
|
|
|
40851
41376
|
return M == null ? void 0 : M.find(
|
|
40852
41377
|
(A) => A.id === f.recommendedSymbol
|
|
40853
41378
|
);
|
|
40854
|
-
}, [b == null ? void 0 : b.assets, i, M]), T = B1({ groupedAssetsByRecommendedSymbol: M, searchQuery: d }),
|
|
41379
|
+
}, [b == null ? void 0 : b.assets, i, M]), T = B1({ groupedAssetsByRecommendedSymbol: M, searchQuery: d }), S = Km({ selectedGroup: H, searchQuery: d, context: c });
|
|
40855
41380
|
xe(() => {
|
|
40856
41381
|
!l && a && u(!1);
|
|
40857
41382
|
}, [l, a]), xe(() => {
|
|
@@ -40859,7 +41384,7 @@ const e1 = Uo((e) => {
|
|
|
40859
41384
|
}, [n.visible]);
|
|
40860
41385
|
const y = (f) => {
|
|
40861
41386
|
x(f);
|
|
40862
|
-
}, h =
|
|
41387
|
+
}, h = ze(
|
|
40863
41388
|
(f, A) => /* @__PURE__ */ m(
|
|
40864
41389
|
q1,
|
|
40865
41390
|
{
|
|
@@ -40871,7 +41396,7 @@ const e1 = Uo((e) => {
|
|
|
40871
41396
|
}
|
|
40872
41397
|
),
|
|
40873
41398
|
[c, C]
|
|
40874
|
-
), D = W(() => t || b ?
|
|
41399
|
+
), D = W(() => t || b ? S : T, [T, S, b, t]), g = () => {
|
|
40875
41400
|
b === null ? oe.remove(ce.AssetAndChainSelectorModal) : w(null);
|
|
40876
41401
|
}, P = (f) => {
|
|
40877
41402
|
f.key === "Backspace" && b !== null && d === "" && w(null);
|
|
@@ -40888,7 +41413,7 @@ const e1 = Uo((e) => {
|
|
|
40888
41413
|
onKeyDown: P
|
|
40889
41414
|
}
|
|
40890
41415
|
),
|
|
40891
|
-
p || !T && !
|
|
41416
|
+
p || !T && !S ? /* @__PURE__ */ m(J1, { height: E, children: Array.from({ length: 8 }, (f, A) => /* @__PURE__ */ m(ms, {}, A)) }) : /* @__PURE__ */ m(
|
|
40892
41417
|
wa,
|
|
40893
41418
|
{
|
|
40894
41419
|
listItems: D ?? [],
|
|
@@ -40928,19 +41453,19 @@ const _1 = () => {
|
|
|
40928
41453
|
};
|
|
40929
41454
|
}), n(d));
|
|
40930
41455
|
}, []);
|
|
40931
|
-
const u =
|
|
41456
|
+
const u = ze(
|
|
40932
41457
|
async (d) => {
|
|
40933
41458
|
i && i.forEach(async (x, b) => {
|
|
40934
41459
|
var C, M, H, T;
|
|
40935
|
-
const w = t == null ? void 0 : t.find((
|
|
41460
|
+
const w = t == null ? void 0 : t.find((S) => S.chainID === x);
|
|
40936
41461
|
if (!w)
|
|
40937
41462
|
return;
|
|
40938
41463
|
const E = p == null ? void 0 : p.includes(x);
|
|
40939
41464
|
if (l != null && l[x]) {
|
|
40940
|
-
n((
|
|
41465
|
+
n((S) => {
|
|
40941
41466
|
var y;
|
|
40942
41467
|
return {
|
|
40943
|
-
...
|
|
41468
|
+
...S,
|
|
40944
41469
|
[b]: {
|
|
40945
41470
|
chainID: x,
|
|
40946
41471
|
address: l[x],
|
|
@@ -41322,7 +41847,7 @@ const og = () => {
|
|
|
41322
41847
|
loading: !0,
|
|
41323
41848
|
isGoFast: p,
|
|
41324
41849
|
extra: p && /* @__PURE__ */ m(og, {}),
|
|
41325
|
-
loadingTimeString:
|
|
41850
|
+
loadingTimeString: zc(n == null ? void 0 : n.estimatedRouteDurationSeconds)
|
|
41326
41851
|
}
|
|
41327
41852
|
);
|
|
41328
41853
|
case Ae.signaturesRemaining:
|
|
@@ -41334,7 +41859,7 @@ const og = () => {
|
|
|
41334
41859
|
o
|
|
41335
41860
|
)} ${o > 1 ? "are" : "is"} still required`,
|
|
41336
41861
|
loading: !0,
|
|
41337
|
-
loadingTimeString:
|
|
41862
|
+
loadingTimeString: zc(n == null ? void 0 : n.estimatedRouteDurationSeconds)
|
|
41338
41863
|
}
|
|
41339
41864
|
);
|
|
41340
41865
|
case Ae.confirmed:
|
|
@@ -41710,7 +42235,7 @@ const Ym = () => {
|
|
|
41710
42235
|
var u;
|
|
41711
42236
|
const l = i != null && i.symbol ? ` ${i == null ? void 0 : i.symbol}` : "";
|
|
41712
42237
|
return (u = t == null ? void 0 : t.error) != null && u.message ? "--" : t === void 0 ? void 0 : di(
|
|
41713
|
-
|
|
42238
|
+
zo(t == null ? void 0 : t.formattedAmount)
|
|
41714
42239
|
) + l;
|
|
41715
42240
|
}, [t, i == null ? void 0 : i.symbol]);
|
|
41716
42241
|
return o ? /* @__PURE__ */ q(
|
|
@@ -41828,10 +42353,10 @@ const Ym = () => {
|
|
|
41828
42353
|
);
|
|
41829
42354
|
n === "swap-in" && s ? c((p) => ({
|
|
41830
42355
|
...p,
|
|
41831
|
-
amount:
|
|
42356
|
+
amount: zo(di(a))
|
|
41832
42357
|
})) : n === "swap-out" && l && i((p) => ({
|
|
41833
42358
|
...p,
|
|
41834
|
-
amount:
|
|
42359
|
+
amount: zo(di(r))
|
|
41835
42360
|
}));
|
|
41836
42361
|
}, [e.data, o, t, n, i, c]);
|
|
41837
42362
|
}, Cg = () => {
|
|
@@ -41840,16 +42365,16 @@ const Ym = () => {
|
|
|
41840
42365
|
return W(() => {
|
|
41841
42366
|
if (o !== L.Cosmos) return !1;
|
|
41842
42367
|
const c = i(n == null ? void 0 : n.chainID);
|
|
41843
|
-
return !(c != null && c.address) || !(n != null && n.chainID) || !
|
|
42368
|
+
return !(c != null && c.address) || !(n != null && n.chainID) || !zu.includes(n == null ? void 0 : n.chainID) ? !1 : !!(c != null && c.wallet.isLedger);
|
|
41844
42369
|
}, [n == null ? void 0 : n.chainID, o, i]);
|
|
41845
42370
|
}, kg = () => {
|
|
41846
42371
|
var Y;
|
|
41847
|
-
const [e, n] = pe(), [o, i] = pe(!1), { data: t } = R(Be), [c, a] = de(Ee), r = X(Fi), s = X(
|
|
42372
|
+
const [e, n] = pe(), [o, i] = pe(!1), { data: t } = R(Be), [c, a] = de(Ee), r = X(Fi), s = X(zt), [l] = de(ex), [p, u] = de(pn), [d] = de(On), [{ data: x }] = de(bn), b = X(An), w = Dg(), E = X(ux), I = X(Ie), { isLoading: C } = R(Ea), { data: M, isError: H, error: T } = R(Zo), S = Cg(), y = X(Kn);
|
|
41848
42373
|
fg(), bg(), Ag();
|
|
41849
42374
|
const h = Xn(), D = h(c == null ? void 0 : c.chainID), g = R(Wn), P = gx(M), { chainId: f, connector: A } = Dt(), B = W(() => {
|
|
41850
42375
|
var G;
|
|
41851
42376
|
return f ? (G = h(String(f))) == null ? void 0 : G.address : void 0;
|
|
41852
|
-
}, [f, h]), k =
|
|
42377
|
+
}, [f, h]), k = ze(
|
|
41853
42378
|
(G, ae) => {
|
|
41854
42379
|
if (!(!G || !ae) && x)
|
|
41855
42380
|
return x.find(
|
|
@@ -41857,7 +42382,7 @@ const Ym = () => {
|
|
|
41857
42382
|
);
|
|
41858
42383
|
},
|
|
41859
42384
|
[x]
|
|
41860
|
-
), F =
|
|
42385
|
+
), F = ze(() => {
|
|
41861
42386
|
oe.show(ce.AssetAndChainSelectorModal, {
|
|
41862
42387
|
context: "source",
|
|
41863
42388
|
onSelect: (G) => {
|
|
@@ -41878,7 +42403,7 @@ const Ym = () => {
|
|
|
41878
42403
|
s,
|
|
41879
42404
|
a,
|
|
41880
42405
|
r
|
|
41881
|
-
]), v =
|
|
42406
|
+
]), v = ze(() => {
|
|
41882
42407
|
oe.show(ce.AssetAndChainSelectorModal, {
|
|
41883
42408
|
context: "source",
|
|
41884
42409
|
onSelect: (G) => {
|
|
@@ -41902,7 +42427,7 @@ const Ym = () => {
|
|
|
41902
42427
|
a,
|
|
41903
42428
|
c == null ? void 0 : c.chainID,
|
|
41904
42429
|
c == null ? void 0 : c.denom
|
|
41905
|
-
]),
|
|
42430
|
+
]), z = ze(() => {
|
|
41906
42431
|
oe.show(ce.AssetAndChainSelectorModal, {
|
|
41907
42432
|
context: "destination",
|
|
41908
42433
|
onSelect: (G) => {
|
|
@@ -41912,7 +42437,7 @@ const Ym = () => {
|
|
|
41912
42437
|
})), oe.hide(ce.AssetAndChainSelectorModal);
|
|
41913
42438
|
}
|
|
41914
42439
|
});
|
|
41915
|
-
}, [u]), j =
|
|
42440
|
+
}, [u]), j = ze(() => {
|
|
41916
42441
|
oe.show(ce.AssetAndChainSelectorModal, {
|
|
41917
42442
|
context: "destination",
|
|
41918
42443
|
onSelect: (G) => {
|
|
@@ -41932,7 +42457,7 @@ const Ym = () => {
|
|
|
41932
42457
|
disabled: !M,
|
|
41933
42458
|
onClick: () => {
|
|
41934
42459
|
var G;
|
|
41935
|
-
if (
|
|
42460
|
+
if (S) {
|
|
41936
42461
|
I({
|
|
41937
42462
|
errorType: Pe.CosmosLedgerWarning,
|
|
41938
42463
|
onClickBack: () => {
|
|
@@ -41981,7 +42506,7 @@ const Ym = () => {
|
|
|
41981
42506
|
w,
|
|
41982
42507
|
M,
|
|
41983
42508
|
T == null ? void 0 : T.message,
|
|
41984
|
-
|
|
42509
|
+
S,
|
|
41985
42510
|
y,
|
|
41986
42511
|
b,
|
|
41987
42512
|
E,
|
|
@@ -42029,7 +42554,7 @@ const Ym = () => {
|
|
|
42029
42554
|
ps,
|
|
42030
42555
|
{
|
|
42031
42556
|
selectedAsset: p,
|
|
42032
|
-
handleChangeAsset:
|
|
42557
|
+
handleChangeAsset: z,
|
|
42033
42558
|
handleChangeChain: j,
|
|
42034
42559
|
isWaitingToUpdateInputValue: d === "swap-in" && l,
|
|
42035
42560
|
usdValue: M == null ? void 0 : M.usdAmountOut,
|
|
@@ -42298,12 +42823,12 @@ function tc(e) {
|
|
|
42298
42823
|
return i;
|
|
42299
42824
|
};
|
|
42300
42825
|
}
|
|
42301
|
-
var
|
|
42826
|
+
var zg = {
|
|
42302
42827
|
full: "EEEE, MMMM do, y",
|
|
42303
42828
|
long: "MMMM do, y",
|
|
42304
42829
|
medium: "MMM d, y",
|
|
42305
42830
|
short: "MM/dd/yyyy"
|
|
42306
|
-
},
|
|
42831
|
+
}, Sg = {
|
|
42307
42832
|
full: "h:mm:ss a zzzz",
|
|
42308
42833
|
long: "h:mm:ss a z",
|
|
42309
42834
|
medium: "h:mm:ss a",
|
|
@@ -42315,11 +42840,11 @@ var Sg = {
|
|
|
42315
42840
|
short: "{{date}}, {{time}}"
|
|
42316
42841
|
}, jg = {
|
|
42317
42842
|
date: tc({
|
|
42318
|
-
formats:
|
|
42843
|
+
formats: zg,
|
|
42319
42844
|
defaultWidth: "full"
|
|
42320
42845
|
}),
|
|
42321
42846
|
time: tc({
|
|
42322
|
-
formats:
|
|
42847
|
+
formats: Sg,
|
|
42323
42848
|
defaultWidth: "full"
|
|
42324
42849
|
}),
|
|
42325
42850
|
dateTime: tc({
|
|
@@ -42648,8 +43173,8 @@ function l3(e, n, o) {
|
|
|
42648
43173
|
var T = x(w);
|
|
42649
43174
|
return r.formatDistance("xMinutes", T, l);
|
|
42650
43175
|
} else if (M === "hour") {
|
|
42651
|
-
var
|
|
42652
|
-
return r.formatDistance("xHours",
|
|
43176
|
+
var S = x(w / 60);
|
|
43177
|
+
return r.formatDistance("xHours", S, l);
|
|
42653
43178
|
} else if (M === "day") {
|
|
42654
43179
|
var y = x(I / dt);
|
|
42655
43180
|
return r.formatDistance("xDays", y, l);
|
|
@@ -42722,7 +43247,7 @@ const m3 = (e) => {
|
|
|
42722
43247
|
case "unconfirmed":
|
|
42723
43248
|
case "pending":
|
|
42724
43249
|
return /* @__PURE__ */ m(
|
|
42725
|
-
|
|
43250
|
+
St,
|
|
42726
43251
|
{
|
|
42727
43252
|
width: 10,
|
|
42728
43253
|
height: 10,
|
|
@@ -42736,7 +43261,7 @@ const m3 = (e) => {
|
|
|
42736
43261
|
case "failed":
|
|
42737
43262
|
return /* @__PURE__ */ m(Rm, { color: t.error.text });
|
|
42738
43263
|
}
|
|
42739
|
-
}, [a, t.error.text, t.primary.text.normal]), T = W(() => c ? m3(new Date(b)) : new Date(b).toLocaleString(), [c, b]),
|
|
43264
|
+
}, [a, t.error.text, t.primary.text.normal]), T = W(() => c ? m3(new Date(b)) : new Date(b).toLocaleString(), [c, b]), S = W(() => a === "pending" ? "In Progress" : l3(new Date(b), /* @__PURE__ */ new Date(), {
|
|
42740
43265
|
addSuffix: !0
|
|
42741
43266
|
}).replace("minutes", "mins").replace("minute", "min").replace("hours", "hrs").replace("hour", "hr").replace("seconds", "secs").replace("second", "sec").replace("months", "mos").replace("month", "mo").replace("years", "yrs").replace("year", "yr"), [a, b]);
|
|
42742
43267
|
return /* @__PURE__ */ q(u3, { showDetails: o, children: [
|
|
@@ -42760,7 +43285,7 @@ const m3 = (e) => {
|
|
|
42760
43285
|
)
|
|
42761
43286
|
] }),
|
|
42762
43287
|
/* @__PURE__ */ q(V, { align: "center", gap: 10, children: [
|
|
42763
|
-
/* @__PURE__ */ m(K, { children:
|
|
43288
|
+
/* @__PURE__ */ m(K, { children: S }),
|
|
42764
43289
|
H
|
|
42765
43290
|
] })
|
|
42766
43291
|
] }),
|
|
@@ -42784,7 +43309,7 @@ const m3 = (e) => {
|
|
|
42784
43309
|
const i = on();
|
|
42785
43310
|
return /* @__PURE__ */ q(Ce, { children: [
|
|
42786
43311
|
/* @__PURE__ */ m("img", { height: 20, width: 20, src: o }),
|
|
42787
|
-
/* @__PURE__ */ m(K, { normalTextColor: !0, title: e, children:
|
|
43312
|
+
/* @__PURE__ */ m(K, { normalTextColor: !0, title: e, children: zo(e) }),
|
|
42788
43313
|
!i && /* @__PURE__ */ m(K, { normalTextColor: !0, children: (n == null ? void 0 : n.recommendedSymbol) ?? (n == null ? void 0 : n.symbol) })
|
|
42789
43314
|
] });
|
|
42790
43315
|
}, u3 = N(he)`
|
|
@@ -42932,7 +43457,7 @@ const m3 = (e) => {
|
|
|
42932
43457
|
},
|
|
42933
43458
|
"skip-widget-wagmi-provider"
|
|
42934
43459
|
), ep = ({ children: e }) => /* @__PURE__ */ m(b3, { children: /* @__PURE__ */ m(A3, { children: e }) }), C3 = (e) => {
|
|
42935
|
-
const n = X(Ee), o = X(pn), i = X(Fi), t = X(
|
|
43460
|
+
const n = X(Ee), o = X(pn), i = X(Fi), t = X(zt), [{ data: c }] = de(bn), a = ze(
|
|
42936
43461
|
(r, s) => {
|
|
42937
43462
|
if (!(!r || !s) && c)
|
|
42938
43463
|
return c.find(
|