@upcoming/multichain-widget 0.10.4 → 0.10.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-DcGUESQc.mjs → add-B4FyJE6s.mjs} +1 -1
- package/dist/{all-wallets-B_ikQrf8.mjs → all-wallets-BBW8ZjOt.mjs} +1 -1
- package/dist/{app-store-DaFVjKoi.mjs → app-store-DpuZYuSt.mjs} +1 -1
- package/dist/{apple-C0nu0quc.mjs → apple-ZdGEdG5T.mjs} +1 -1
- package/dist/{arrow-bottom-circle-vj5iEeXv.mjs → arrow-bottom-circle-Cs1FPuJA.mjs} +1 -1
- package/dist/{arrow-bottom-BWkd-oQk.mjs → arrow-bottom-ly91BTkG.mjs} +1 -1
- package/dist/{arrow-left-Cf-ylcrZ.mjs → arrow-left-BN9gBoU8.mjs} +1 -1
- package/dist/{arrow-right-BE61iCp-.mjs → arrow-right-D2ObBvmF.mjs} +1 -1
- package/dist/{arrow-top-DMg3ZJoy.mjs → arrow-top-DcLWnsHH.mjs} +1 -1
- package/dist/{bank-D7mjAWv8.mjs → bank-DQ1uFHP7.mjs} +1 -1
- package/dist/{basic-B8Sg-3EH.mjs → basic-BqlGRq4u.mjs} +3 -3
- package/dist/{browser-CgVdtPSI.mjs → browser-CNFWEaaG.mjs} +1 -1
- package/dist/{card-gsBxqvCk.mjs → card-CU46xJnW.mjs} +1 -1
- package/dist/{ccip-B6rg4D3E.mjs → ccip-Dn_SDEIz.mjs} +1 -1
- package/dist/{checkmark-DIJ-8Gib.mjs → checkmark-CXQrjQan.mjs} +1 -1
- package/dist/{checkmark-bold-YaoBz_dx.mjs → checkmark-bold-DMij1SQF.mjs} +1 -1
- package/dist/{chevron-bottom-D6cCQ3qy.mjs → chevron-bottom-CIPjQJmu.mjs} +1 -1
- package/dist/{chevron-left-Bv_oG93Z.mjs → chevron-left-Bv44XK1p.mjs} +1 -1
- package/dist/{chevron-right-nUxlyJdN.mjs → chevron-right-UKtu6LMx.mjs} +1 -1
- package/dist/{chevron-top-BKTQHlE9.mjs → chevron-top-S0NJwVx8.mjs} +1 -1
- package/dist/{chrome-store-BLEFt2uw.mjs → chrome-store-DVv9dTgx.mjs} +1 -1
- package/dist/{clock-Bzen9I7M.mjs → clock-hoiR2mlH.mjs} +1 -1
- package/dist/{close-DOVOn8tM.mjs → close-Bf3os9Bs.mjs} +1 -1
- package/dist/{coinPlaceholder-B4YhtrDR.mjs → coinPlaceholder-BoY21dnj.mjs} +1 -1
- package/dist/{compass-rU_pzzak.mjs → compass-Dxbca02z.mjs} +1 -1
- package/dist/components/FundingControls.d.ts +2 -1
- package/dist/{copy-CHguIQQH.mjs → copy-iNdnR-xC.mjs} +1 -1
- package/dist/{core-b8wqN02M.mjs → core-cSILXbXi.mjs} +3 -3
- package/dist/{cursor-OH511fJk.mjs → cursor-D4gq4W9o.mjs} +1 -1
- package/dist/{cursor-transparent-DAIswSeC.mjs → cursor-transparent-CpXtx2Fh.mjs} +1 -1
- package/dist/{desktop-CDtndaF_.mjs → desktop-RlCHGSWw.mjs} +1 -1
- package/dist/{disconnect-CbJ-JalG.mjs → disconnect-BZG_khkj.mjs} +1 -1
- package/dist/{discord-B2I6f7ym.mjs → discord-BWVHBgCx.mjs} +1 -1
- package/dist/en_US-Y4ZOVFV4-C_aw2UsP.mjs +4 -0
- package/dist/{etherscan-Cibb7WDO.mjs → etherscan-_EkZp2NO.mjs} +1 -1
- package/dist/{exclamation-triangle-CekI1jkG.mjs → exclamation-triangle-VhcQKU7V.mjs} +1 -1
- package/dist/{extension-D_HZWKc8.mjs → extension-BeDFXRD6.mjs} +1 -1
- package/dist/{external-link-BnWHeuqh.mjs → external-link-CLrxL3EJ.mjs} +1 -1
- package/dist/{facebook-CVHU9sGt.mjs → facebook-C9qI5uLC.mjs} +1 -1
- package/dist/{farcaster-OUEhUAvI.mjs → farcaster-BApS6e2G.mjs} +1 -1
- package/dist/{filters-COeJ5Bel.mjs → filters-CFv6gw01.mjs} +1 -1
- package/dist/{github-DFeuTQlY.mjs → github-qk73py-3.mjs} +1 -1
- package/dist/{google-BNDZwxZU.mjs → google-PuYrzBHB.mjs} +1 -1
- package/dist/{help-circle-DfEX9V09.mjs → help-circle-wbTC4v3W.mjs} +1 -1
- package/dist/{id-C9q7bX3w.mjs → id-BBA7AEFO.mjs} +1 -1
- package/dist/{image-D5D0A3_9.mjs → image-TEr-JMjB.mjs} +1 -1
- package/dist/{index-Di1LRSCh.mjs → index-BBgt37t7.mjs} +1 -1
- package/dist/{index-C01Yf0Dh.mjs → index-BSZc8TqZ.mjs} +1 -1
- package/dist/{index-gsMImj-0.mjs → index-CFbOLhyu.mjs} +78 -78
- package/dist/{index-wY-pgTTF.mjs → index-CVIxXNBC.mjs} +561 -551
- package/dist/{index-CS4Osqy5.mjs → index-DJ-lTExJ.mjs} +1 -1
- package/dist/{index.es-kQZfFMb2.mjs → index.es-VkT2U1ce.mjs} +3 -3
- package/dist/{info-BWUefPfs.mjs → info-De1Q43JQ.mjs} +1 -1
- package/dist/{info-circle-B52d7iyf.mjs → info-circle-CAlmIxn5.mjs} +1 -1
- package/dist/{lightbulb-DOhVnkK1.mjs → lightbulb-DxEC55GR.mjs} +1 -1
- package/dist/{mail-CSMQev0a.mjs → mail-C716uKCF.mjs} +1 -1
- package/dist/{metamask-sdk-B_pjQIUU.mjs → metamask-sdk-iNdjvxkx.mjs} +1 -1
- package/dist/{mobile-vnsmMRHf.mjs → mobile-BA-NqJs-.mjs} +1 -1
- package/dist/{more-CVM_fiGU.mjs → more-CWEBZMRL.mjs} +1 -1
- package/dist/multichain-widget.es.js +1 -1
- package/dist/multichain-widget.umd.js +101 -101
- package/dist/{network-placeholder-BSqcA4u4.mjs → network-placeholder-i5WfKsBY.mjs} +1 -1
- package/dist/{nftPlaceholder-DfvzGR5l.mjs → nftPlaceholder-C-IJnJK3.mjs} +1 -1
- package/dist/{off-Cz18QsPJ.mjs → off-C0kd21BL.mjs} +1 -1
- package/dist/{play-store-ZJgn_bMd.mjs → play-store-C_1iR00R.mjs} +1 -1
- package/dist/{plus-MeA9sXQN.mjs → plus-BUP05ZJL.mjs} +1 -1
- package/dist/primitives/NumberInput.d.ts +2 -1
- package/dist/{qr-code-BvgQ6m0c.mjs → qr-code-k4Z4pOtb.mjs} +1 -1
- package/dist/{recycle-horizontal-Leau7Bn9.mjs → recycle-horizontal-B2Figyfs.mjs} +1 -1
- package/dist/{refresh-D2Wqkmoc.mjs → refresh-Bw-wau7x.mjs} +1 -1
- package/dist/{reown-logo-DSWOy6GM.mjs → reown-logo-BQ1kbDUH.mjs} +1 -1
- package/dist/{search-DisuHNZ-.mjs → search-46vBD82b.mjs} +1 -1
- package/dist/{secp256k1-Cw8fINh_.mjs → secp256k1-B9OK2CLu.mjs} +1 -1
- package/dist/{send-DJf33Fen.mjs → send-BubySQy4.mjs} +1 -1
- package/dist/{swapHorizontal-CEpz62zL.mjs → swapHorizontal-4cAzrQah.mjs} +1 -1
- package/dist/{swapHorizontalBold-CiTB5LGx.mjs → swapHorizontalBold-CP6XNWRR.mjs} +1 -1
- package/dist/{swapHorizontalMedium-DcTOQAh_.mjs → swapHorizontalMedium-C5sDTp-Z.mjs} +1 -1
- package/dist/{swapHorizontalRoundedBold-JuL3kNS-.mjs → swapHorizontalRoundedBold-9vGfSrPO.mjs} +1 -1
- package/dist/{swapVertical-BlgEaFkf.mjs → swapVertical-BEs2lLCK.mjs} +1 -1
- package/dist/{telegram-G7bB6xhD.mjs → telegram-D4_iVuc9.mjs} +1 -1
- package/dist/{three-dots-um1fjd79.mjs → three-dots-Ca-mr9VG.mjs} +1 -1
- package/dist/{twitch-z5rtNNsC.mjs → twitch-ChQL1jga.mjs} +1 -1
- package/dist/{twitterIcon-B0bIIDIP.mjs → twitterIcon-Dr5WDMhj.mjs} +1 -1
- package/dist/{verify-CvrYw6-a.mjs → verify-C-kB4bho.mjs} +1 -1
- package/dist/{verify-filled-BxIZo17y.mjs → verify-filled-fGYYkC_Y.mjs} +1 -1
- package/dist/{w3m-modal-B82q8YG8.mjs → w3m-modal-C9bSmRC7.mjs} +2 -2
- package/dist/{wallet-CRxT_rkK.mjs → wallet-DW96oz3t.mjs} +1 -1
- package/dist/{wallet-placeholder-LbDSNadf.mjs → wallet-placeholder-CMbpUo_L.mjs} +1 -1
- package/dist/{walletconnect-Dldk_x5T.mjs → walletconnect-rzAzVPsC.mjs} +1 -1
- package/dist/{warning-circle-jr2W2dG4.mjs → warning-circle-kFO-iBaZ.mjs} +1 -1
- package/dist/{x-7DZVmbvy.mjs → x-DO8btfh5.mjs} +1 -1
- package/package.json +1 -1
- package/dist/en_US-Y4ZOVFV4-HpXn5Chp.mjs +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Ae from "react";
|
|
2
|
-
import G, { useRef as gi, useEffect as ct, createElement as Yq, createContext as dn, useContext as Le, useMemo as Xn, useSyncExternalStore as iA, useState as
|
|
2
|
+
import G, { useRef as gi, useEffect as ct, createElement as Yq, createContext as dn, useContext as Le, useMemo as Xn, useSyncExternalStore as iA, useState as We, useCallback as ln, Fragment as fue, useReducer as pue } from "react";
|
|
3
3
|
import { createPortal as hge } from "react-dom";
|
|
4
4
|
const bge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5
5
|
__proto__: null,
|
|
@@ -2572,11 +2572,11 @@ function sA(e, { includeName: t = !1 } = {}) {
|
|
|
2572
2572
|
function Oge(e, { includeName: t }) {
|
|
2573
2573
|
return e.type.startsWith("tuple") ? `(${sA(e.components, { includeName: t })})${e.type.slice(5)}` : e.type + (t && e.name ? ` ${e.name}` : "");
|
|
2574
2574
|
}
|
|
2575
|
-
function
|
|
2575
|
+
function Ta(e, { strict: t = !0 } = {}) {
|
|
2576
2576
|
return !e || typeof e != "string" ? !1 : t ? /^0x[0-9a-fA-F]*$/.test(e) : e.startsWith("0x");
|
|
2577
2577
|
}
|
|
2578
2578
|
function St(e) {
|
|
2579
|
-
return
|
|
2579
|
+
return Ta(e, { strict: !1 }) ? Math.ceil((e.length - 2) / 2) : e.length;
|
|
2580
2580
|
}
|
|
2581
2581
|
const xue = "2.43.5";
|
|
2582
2582
|
let _B = {
|
|
@@ -3092,13 +3092,13 @@ function vu(e, t = {}) {
|
|
|
3092
3092
|
}
|
|
3093
3093
|
const eve = /* @__PURE__ */ new TextEncoder();
|
|
3094
3094
|
function bo(e, t = {}) {
|
|
3095
|
-
return typeof e == "number" || typeof e == "bigint" ? rve(e, t) : typeof e == "boolean" ? tve(e, t) :
|
|
3095
|
+
return typeof e == "number" || typeof e == "bigint" ? rve(e, t) : typeof e == "boolean" ? tve(e, t) : Ta(e) ? Fr(e, t) : Os(e, t);
|
|
3096
3096
|
}
|
|
3097
3097
|
function tve(e, t = {}) {
|
|
3098
3098
|
const r = new Uint8Array(1);
|
|
3099
3099
|
return r[0] = Number(e), typeof t.size == "number" ? (On(r, { size: t.size }), Qs(r, { size: t.size })) : r;
|
|
3100
3100
|
}
|
|
3101
|
-
const
|
|
3101
|
+
const Ga = {
|
|
3102
3102
|
zero: 48,
|
|
3103
3103
|
nine: 57,
|
|
3104
3104
|
A: 65,
|
|
@@ -3107,12 +3107,12 @@ const Ha = {
|
|
|
3107
3107
|
f: 102
|
|
3108
3108
|
};
|
|
3109
3109
|
function mz(e) {
|
|
3110
|
-
if (e >=
|
|
3111
|
-
return e -
|
|
3112
|
-
if (e >=
|
|
3113
|
-
return e - (
|
|
3114
|
-
if (e >=
|
|
3115
|
-
return e - (
|
|
3110
|
+
if (e >= Ga.zero && e <= Ga.nine)
|
|
3111
|
+
return e - Ga.zero;
|
|
3112
|
+
if (e >= Ga.A && e <= Ga.F)
|
|
3113
|
+
return e - (Ga.A - 10);
|
|
3114
|
+
if (e >= Ga.a && e <= Ga.f)
|
|
3115
|
+
return e - (Ga.a - 10);
|
|
3116
3116
|
}
|
|
3117
3117
|
function Fr(e, t = {}) {
|
|
3118
3118
|
let r = e;
|
|
@@ -3150,7 +3150,7 @@ function Mue(e, t = !1) {
|
|
|
3150
3150
|
return [n, a];
|
|
3151
3151
|
}
|
|
3152
3152
|
const bz = (e, t, r) => e >>> r, yz = (e, t, r) => e << 32 - r | t >>> r, Ic = (e, t, r) => e >>> r | t << 32 - r, Rc = (e, t, r) => e << 32 - r | t >>> r, Bk = (e, t, r) => e << 64 - r | t >>> r - 32, Ok = (e, t, r) => e >>> r - 32 | t << 64 - r, ave = (e, t, r) => e << r | t >>> 32 - r, ove = (e, t, r) => t << r | e >>> 32 - r, ive = (e, t, r) => t << r - 32 | e >>> 64 - r, sve = (e, t, r) => e << r - 32 | t >>> 64 - r;
|
|
3153
|
-
function
|
|
3153
|
+
function Va(e, t, r, n) {
|
|
3154
3154
|
const a = (t >>> 0) + (n >>> 0);
|
|
3155
3155
|
return { h: e + r + (a / 2 ** 32 | 0) | 0, l: a | 0 };
|
|
3156
3156
|
}
|
|
@@ -3216,14 +3216,14 @@ function Sot(e) {
|
|
|
3216
3216
|
t += wve[e[r]];
|
|
3217
3217
|
return t;
|
|
3218
3218
|
}
|
|
3219
|
-
const
|
|
3219
|
+
const Wa = { _0: 48, _9: 57, A: 65, F: 70, a: 97, f: 102 };
|
|
3220
3220
|
function vz(e) {
|
|
3221
|
-
if (e >=
|
|
3222
|
-
return e -
|
|
3223
|
-
if (e >=
|
|
3224
|
-
return e - (
|
|
3225
|
-
if (e >=
|
|
3226
|
-
return e - (
|
|
3221
|
+
if (e >= Wa._0 && e <= Wa._9)
|
|
3222
|
+
return e - Wa._0;
|
|
3223
|
+
if (e >= Wa.A && e <= Wa.F)
|
|
3224
|
+
return e - (Wa.A - 10);
|
|
3225
|
+
if (e >= Wa.a && e <= Wa.f)
|
|
3226
|
+
return e - (Wa.a - 10);
|
|
3227
3227
|
}
|
|
3228
3228
|
function Bot(e) {
|
|
3229
3229
|
if (typeof e != "string")
|
|
@@ -3379,7 +3379,7 @@ class LR extends DR {
|
|
|
3379
3379
|
}
|
|
3380
3380
|
const Ove = (e, t, r) => uA(() => new LR(t, e, r)), Lue = Ove(1, 136, 256 / 8);
|
|
3381
3381
|
function fr(e, t) {
|
|
3382
|
-
const r = t || "hex", n = Lue(
|
|
3382
|
+
const r = t || "hex", n = Lue(Ta(e, { strict: !1 }) ? bo(e) : e);
|
|
3383
3383
|
return r === "bytes" ? n : rt(n);
|
|
3384
3384
|
}
|
|
3385
3385
|
let Bu = class extends Map {
|
|
@@ -3568,7 +3568,7 @@ function HR(e, { recursiveReadLimit: t = 8192 } = {}) {
|
|
|
3568
3568
|
return r.bytes = e, r.dataView = new DataView(e.buffer ?? e, e.byteOffset, e.byteLength), r.positionReadCount = /* @__PURE__ */ new Map(), r.recursiveReadLimit = t, r;
|
|
3569
3569
|
}
|
|
3570
3570
|
function Us(e, t, r, { strict: n } = {}) {
|
|
3571
|
-
return
|
|
3571
|
+
return Ta(e, { strict: !1 }) ? PI(e, t, r, {
|
|
3572
3572
|
strict: n
|
|
3573
3573
|
}) : Wue(e, t, r, {
|
|
3574
3574
|
strict: n
|
|
@@ -4662,7 +4662,7 @@ function ile(e) {
|
|
|
4662
4662
|
}
|
|
4663
4663
|
const dA = ile, y_ = (e) => Us(ile(e), 0, 4);
|
|
4664
4664
|
function Js(e) {
|
|
4665
|
-
const { abi: t, args: r = [], name: n } = e, a =
|
|
4665
|
+
const { abi: t, args: r = [], name: n } = e, a = Ta(n, { strict: !1 }), o = t.filter((s) => a ? s.type === "function" ? y_(s) === n : s.type === "event" ? dA(s) === n : !1 : "name" in s && s.name === n);
|
|
4666
4666
|
if (o.length === 0)
|
|
4667
4667
|
return;
|
|
4668
4668
|
if (o.length === 1)
|
|
@@ -5346,7 +5346,7 @@ function hle(e) {
|
|
|
5346
5346
|
if (e.length !== 66 || e.indexOf("[") !== 0 || e.indexOf("]") !== 65)
|
|
5347
5347
|
return null;
|
|
5348
5348
|
const t = `0x${e.slice(1, 65)}`;
|
|
5349
|
-
return
|
|
5349
|
+
return Ta(t) ? t : null;
|
|
5350
5350
|
}
|
|
5351
5351
|
function zI(e) {
|
|
5352
5352
|
let t = new Uint8Array(32).fill(0);
|
|
@@ -5603,16 +5603,16 @@ Object.defineProperty(DC, "code", {
|
|
|
5603
5603
|
writable: !0,
|
|
5604
5604
|
value: -32001
|
|
5605
5605
|
});
|
|
5606
|
-
class
|
|
5606
|
+
class ka extends Kr {
|
|
5607
5607
|
constructor(t) {
|
|
5608
5608
|
super(t, {
|
|
5609
|
-
code:
|
|
5609
|
+
code: ka.code,
|
|
5610
5610
|
name: "ResourceUnavailableRpcError",
|
|
5611
5611
|
shortMessage: "Requested resource not available."
|
|
5612
5612
|
});
|
|
5613
5613
|
}
|
|
5614
5614
|
}
|
|
5615
|
-
Object.defineProperty(
|
|
5615
|
+
Object.defineProperty(ka, "code", {
|
|
5616
5616
|
enumerable: !0,
|
|
5617
5617
|
configurable: !0,
|
|
5618
5618
|
writable: !0,
|
|
@@ -5931,14 +5931,14 @@ function $C(e) {
|
|
|
5931
5931
|
t += C2e[e[r]];
|
|
5932
5932
|
return t;
|
|
5933
5933
|
}
|
|
5934
|
-
const
|
|
5934
|
+
const Ka = { _0: 48, _9: 57, A: 65, F: 70, a: 97, f: 102 };
|
|
5935
5935
|
function Oz(e) {
|
|
5936
|
-
if (e >=
|
|
5937
|
-
return e -
|
|
5938
|
-
if (e >=
|
|
5939
|
-
return e - (
|
|
5940
|
-
if (e >=
|
|
5941
|
-
return e - (
|
|
5936
|
+
if (e >= Ka._0 && e <= Ka._9)
|
|
5937
|
+
return e - Ka._0;
|
|
5938
|
+
if (e >= Ka.A && e <= Ka.F)
|
|
5939
|
+
return e - (Ka.A - 10);
|
|
5940
|
+
if (e >= Ka.a && e <= Ka.f)
|
|
5941
|
+
return e - (Ka.a - 10);
|
|
5942
5942
|
}
|
|
5943
5943
|
function R7(e) {
|
|
5944
5944
|
if (typeof e != "string")
|
|
@@ -6088,20 +6088,20 @@ const T2e = "0.1.1";
|
|
|
6088
6088
|
function j2e() {
|
|
6089
6089
|
return T2e;
|
|
6090
6090
|
}
|
|
6091
|
-
let Ie = class
|
|
6091
|
+
let Ie = class po extends Error {
|
|
6092
6092
|
static setStaticOptions(t) {
|
|
6093
|
-
|
|
6093
|
+
po.prototype.docsOrigin = t.docsOrigin, po.prototype.showVersion = t.showVersion, po.prototype.version = t.version;
|
|
6094
6094
|
}
|
|
6095
6095
|
constructor(t, r = {}) {
|
|
6096
6096
|
const n = (() => {
|
|
6097
|
-
if (r.cause instanceof
|
|
6097
|
+
if (r.cause instanceof po) {
|
|
6098
6098
|
if (r.cause.details)
|
|
6099
6099
|
return r.cause.details;
|
|
6100
6100
|
if (r.cause.shortMessage)
|
|
6101
6101
|
return r.cause.shortMessage;
|
|
6102
6102
|
}
|
|
6103
6103
|
return r.cause && "details" in r.cause && typeof r.cause.details == "string" ? r.cause.details : r.cause?.message ? r.cause.message : r.details;
|
|
6104
|
-
})(), a = r.cause instanceof
|
|
6104
|
+
})(), a = r.cause instanceof po && r.cause.docsPath || r.docsPath, o = r.docsOrigin ?? po.prototype.docsOrigin, i = `${o}${a ?? ""}`, s = !!(r.version ?? po.prototype.showVersion), c = r.version ?? po.prototype.version, u = [
|
|
6105
6105
|
t || "An error occurred.",
|
|
6106
6106
|
...r.metaMessages ? ["", ...r.metaMessages] : [],
|
|
6107
6107
|
...n || a || s ? [
|
|
@@ -6184,7 +6184,7 @@ function Mu(e, t) {
|
|
|
6184
6184
|
maxSize: t
|
|
6185
6185
|
});
|
|
6186
6186
|
}
|
|
6187
|
-
const
|
|
6187
|
+
const Za = {
|
|
6188
6188
|
zero: 48,
|
|
6189
6189
|
nine: 57,
|
|
6190
6190
|
A: 65,
|
|
@@ -6193,12 +6193,12 @@ const Ka = {
|
|
|
6193
6193
|
f: 102
|
|
6194
6194
|
};
|
|
6195
6195
|
function Mz(e) {
|
|
6196
|
-
if (e >=
|
|
6197
|
-
return e -
|
|
6198
|
-
if (e >=
|
|
6199
|
-
return e - (
|
|
6200
|
-
if (e >=
|
|
6201
|
-
return e - (
|
|
6196
|
+
if (e >= Za.zero && e <= Za.nine)
|
|
6197
|
+
return e - Za.zero;
|
|
6198
|
+
if (e >= Za.A && e <= Za.F)
|
|
6199
|
+
return e - (Za.A - 10);
|
|
6200
|
+
if (e >= Za.a && e <= Za.f)
|
|
6201
|
+
return e - (Za.a - 10);
|
|
6202
6202
|
}
|
|
6203
6203
|
function A2e(e, t = {}) {
|
|
6204
6204
|
const { dir: r, size: n = 32 } = t;
|
|
@@ -6337,7 +6337,7 @@ function D2e(e, t = {}) {
|
|
|
6337
6337
|
const { size: r } = t;
|
|
6338
6338
|
typeof r < "u" && Mu(e, r);
|
|
6339
6339
|
const n = ir(e, t);
|
|
6340
|
-
return
|
|
6340
|
+
return Lt(n, t);
|
|
6341
6341
|
}
|
|
6342
6342
|
function L2e(e, t = {}) {
|
|
6343
6343
|
const { size: r } = t;
|
|
@@ -6427,7 +6427,7 @@ function X2e(e, t = {}) {
|
|
|
6427
6427
|
if (!e.startsWith("0x"))
|
|
6428
6428
|
throw new qz(e);
|
|
6429
6429
|
}
|
|
6430
|
-
function
|
|
6430
|
+
function qt(...e) {
|
|
6431
6431
|
return `0x${e.reduce((t, r) => t + r.replace("0x", ""), "")}`;
|
|
6432
6432
|
}
|
|
6433
6433
|
function gA(e) {
|
|
@@ -6486,7 +6486,7 @@ function Ht(e) {
|
|
|
6486
6486
|
function NI(e) {
|
|
6487
6487
|
return B2e(e, { dir: "left" });
|
|
6488
6488
|
}
|
|
6489
|
-
function
|
|
6489
|
+
function Lt(e, t = {}) {
|
|
6490
6490
|
const { signed: r } = t;
|
|
6491
6491
|
t.size && yA(e, t.size);
|
|
6492
6492
|
const n = BigInt(e);
|
|
@@ -6497,7 +6497,7 @@ function Dt(e, t = {}) {
|
|
|
6497
6497
|
}
|
|
6498
6498
|
function e_(e, t = {}) {
|
|
6499
6499
|
const { signed: r, size: n } = t;
|
|
6500
|
-
return Number(!r && !n ? e :
|
|
6500
|
+
return Number(!r && !n ? e : Lt(e, t));
|
|
6501
6501
|
}
|
|
6502
6502
|
function Ale(e, t = {}) {
|
|
6503
6503
|
const { size: r } = t;
|
|
@@ -6980,7 +6980,7 @@ function cM(e) {
|
|
|
6980
6980
|
return t;
|
|
6981
6981
|
}
|
|
6982
6982
|
const swe = 2n ** 16n - 1n, k_ = 2n ** 256n - 1n;
|
|
6983
|
-
function
|
|
6983
|
+
function Ba(e) {
|
|
6984
6984
|
const { account: t, maxFeePerGas: r, maxPriorityFeePerGas: n, to: a } = e, o = t ? ht(t) : void 0;
|
|
6985
6985
|
if (o && !kt(o.address))
|
|
6986
6986
|
throw new $t({ address: o.address });
|
|
@@ -7007,7 +7007,7 @@ async function CA(e, t) {
|
|
|
7007
7007
|
to: y
|
|
7008
7008
|
}) : d;
|
|
7009
7009
|
try {
|
|
7010
|
-
|
|
7010
|
+
Ba(t);
|
|
7011
7011
|
const z = (typeof o == "bigint" ? ye(o) : void 0) || i, L = u ? Ble(u) : void 0, F = cM(x), q = e.chain?.formatters?.transactionRequest?.format, N = (q || $n)({
|
|
7012
7012
|
// Pick out extra data that might exist on the chain's transaction request type.
|
|
7013
7013
|
...$s(k, { format: q }),
|
|
@@ -7048,7 +7048,7 @@ async function CA(e, t) {
|
|
|
7048
7048
|
});
|
|
7049
7049
|
return U === "0x" ? { data: void 0 } : { data: U };
|
|
7050
7050
|
} catch (S) {
|
|
7051
|
-
const z = dwe(S), { offchainLookup: L, offchainLookupSignature: F } = await import("./ccip-
|
|
7051
|
+
const z = dwe(S), { offchainLookup: L, offchainLookupSignature: F } = await import("./ccip-Dn_SDEIz.mjs");
|
|
7052
7052
|
if (e.ccipRead !== !1 && z?.slice(0, 10) === F && y)
|
|
7053
7053
|
return { data: await L(e, { data: z, to: y }) };
|
|
7054
7054
|
throw I && z?.slice(0, 10) === "0x101bb98d" ? new f2e({ factory: f }) : oM(S, {
|
|
@@ -7529,7 +7529,7 @@ async function xwe(e, t) {
|
|
|
7529
7529
|
async function Nle(e, t) {
|
|
7530
7530
|
const { account: r = e.account, blockNumber: n, blockTag: a = "latest", blobs: o, data: i, gas: s, gasPrice: c, maxFeePerBlobGas: u, maxFeePerGas: l, maxPriorityFeePerGas: d, to: f, value: h, ...b } = t, m = r ? ht(r) : void 0;
|
|
7531
7531
|
try {
|
|
7532
|
-
|
|
7532
|
+
Ba(t);
|
|
7533
7533
|
const C = (typeof n == "bigint" ? ye(n) : void 0) || a, _ = e.chain?.formatters?.transactionRequest?.format, y = (_ || $n)({
|
|
7534
7534
|
// Pick out extra data that might exist on the chain's transaction request type.
|
|
7535
7535
|
...$s(b, { format: _ }),
|
|
@@ -7681,13 +7681,13 @@ function Awe(e) {
|
|
|
7681
7681
|
return h_(`0x${t}`);
|
|
7682
7682
|
}
|
|
7683
7683
|
async function Pwe({ hash: e, signature: t }) {
|
|
7684
|
-
const r =
|
|
7684
|
+
const r = Ta(e) ? e : rt(e), { secp256k1: n } = await Promise.resolve().then(() => o_e);
|
|
7685
7685
|
return `0x${(() => {
|
|
7686
7686
|
if (typeof t == "object" && "r" in t && "s" in t) {
|
|
7687
7687
|
const { r: u, s: l, v: d, yParity: f } = t, h = Number(f ?? d), b = Lz(h);
|
|
7688
7688
|
return new n.Signature(Ve(u), Ve(l)).addRecoveryBit(b);
|
|
7689
7689
|
}
|
|
7690
|
-
const i =
|
|
7690
|
+
const i = Ta(t) ? t : rt(t);
|
|
7691
7691
|
if (St(i) !== 65)
|
|
7692
7692
|
throw new Error("invalid signature length");
|
|
7693
7693
|
const s = Hr(`0x${i.slice(130)}`), c = Lz(s);
|
|
@@ -7706,7 +7706,7 @@ function Lz(e) {
|
|
|
7706
7706
|
async function Gle({ hash: e, signature: t }) {
|
|
7707
7707
|
return Awe(await Pwe({ hash: e, signature: t }));
|
|
7708
7708
|
}
|
|
7709
|
-
function
|
|
7709
|
+
function ja(e, t = "hex") {
|
|
7710
7710
|
const r = Vle(e), n = HR(new Uint8Array(r.length));
|
|
7711
7711
|
return r.encode(n), t === "hex" ? Wt(n.bytes) : n.bytes;
|
|
7712
7712
|
}
|
|
@@ -7747,7 +7747,7 @@ function Wle(e) {
|
|
|
7747
7747
|
function Owe(e) {
|
|
7748
7748
|
const { chainId: t, nonce: r, to: n } = e, a = e.contractAddress ?? e.address, o = fr(fn([
|
|
7749
7749
|
"0x05",
|
|
7750
|
-
|
|
7750
|
+
ja([
|
|
7751
7751
|
t ? ye(t) : "0x",
|
|
7752
7752
|
a,
|
|
7753
7753
|
r ? ye(r) : "0x"
|
|
@@ -8327,11 +8327,11 @@ class $le extends Jle {
|
|
|
8327
8327
|
let { Ah: n, Al: a, Bh: o, Bl: i, Ch: s, Cl: c, Dh: u, Dl: l, Eh: d, El: f, Fh: h, Fl: b, Gh: m, Gl: g, Hh: C, Hl: _ } = this;
|
|
8328
8328
|
for (let w = 0; w < 80; w++) {
|
|
8329
8329
|
const y = Ic(d, f, 14) ^ Ic(d, f, 18) ^ Bk(d, f, 41), E = Rc(d, f, 14) ^ Rc(d, f, 18) ^ Ok(d, f, 41), x = d & h ^ ~d & m, k = f & b ^ ~f & g, P = fve(_, E, k, Vwe[w], Yo[w]), j = pve(P, C, y, x, Gwe[w], Jo[w]), A = P | 0, I = Ic(n, a, 28) ^ Bk(n, a, 34) ^ Bk(n, a, 39), O = Rc(n, a, 28) ^ Ok(n, a, 34) ^ Ok(n, a, 39), S = n & o ^ n & s ^ o & s, z = a & i ^ a & c ^ i & c;
|
|
8330
|
-
C = m | 0, _ = g | 0, m = h | 0, g = b | 0, h = d | 0, b = f | 0, { h: d, l: f } =
|
|
8330
|
+
C = m | 0, _ = g | 0, m = h | 0, g = b | 0, h = d | 0, b = f | 0, { h: d, l: f } = Va(u | 0, l | 0, j | 0, A | 0), u = s | 0, l = c | 0, s = o | 0, c = i | 0, o = n | 0, i = a | 0;
|
|
8331
8331
|
const L = cve(A, O, z);
|
|
8332
8332
|
n = uve(L, j, I, S), a = L | 0;
|
|
8333
8333
|
}
|
|
8334
|
-
({ h: n, l: a } =
|
|
8334
|
+
({ h: n, l: a } = Va(this.Ah | 0, this.Al | 0, n | 0, a | 0)), { h: o, l: i } = Va(this.Bh | 0, this.Bl | 0, o | 0, i | 0), { h: s, l: c } = Va(this.Ch | 0, this.Cl | 0, s | 0, c | 0), { h: u, l } = Va(this.Dh | 0, this.Dl | 0, u | 0, l | 0), { h: d, l: f } = Va(this.Eh | 0, this.El | 0, d | 0, f | 0), { h, l: b } = Va(this.Fh | 0, this.Fl | 0, h | 0, b | 0), { h: m, l: g } = Va(this.Gh | 0, this.Gl | 0, m | 0, g | 0), { h: C, l: _ } = Va(this.Hh | 0, this.Hl | 0, C | 0, _ | 0), this.set(n, a, o, i, s, c, u, l, d, f, h, b, m, g, C, _);
|
|
8335
8335
|
}
|
|
8336
8336
|
roundClean() {
|
|
8337
8337
|
mi(Jo, Yo);
|
|
@@ -8347,7 +8347,7 @@ class Wwe extends $le {
|
|
|
8347
8347
|
}
|
|
8348
8348
|
const gM = /* @__PURE__ */ uA(() => new Hwe()), Kwe = /* @__PURE__ */ uA(() => new $le()), Zwe = /* @__PURE__ */ uA(() => new Wwe()), ede = gM;
|
|
8349
8349
|
function tde(e, t) {
|
|
8350
|
-
const r = t || "hex", n = ede(
|
|
8350
|
+
const r = t || "hex", n = ede(Ta(e, { strict: !1 }) ? bo(e) : e);
|
|
8351
8351
|
return r === "bytes" ? n : rt(n);
|
|
8352
8352
|
}
|
|
8353
8353
|
function Qwe(e) {
|
|
@@ -8475,7 +8475,7 @@ async function EM(e, t) {
|
|
|
8475
8475
|
client: e
|
|
8476
8476
|
});
|
|
8477
8477
|
})();
|
|
8478
|
-
|
|
8478
|
+
Ba(t);
|
|
8479
8479
|
const E = o?.formatters?.transactionRequest?.format, k = (E || $n)({
|
|
8480
8480
|
// Pick out extra data that might exist on the chain's transaction request type.
|
|
8481
8481
|
...$s(w, { format: E }),
|
|
@@ -8666,7 +8666,7 @@ async function T_(e, t) {
|
|
|
8666
8666
|
prepare: l?.type === "local" ? [] : ["blobVersionedHashes"]
|
|
8667
8667
|
})), s?.fn && s.runAt?.includes("afterFillParameters") && (r = await s.fn({ ...r, chain: a }, {
|
|
8668
8668
|
phase: "afterFillParameters"
|
|
8669
|
-
})),
|
|
8669
|
+
})), Ba(r), delete r.parameters, r;
|
|
8670
8670
|
}
|
|
8671
8671
|
async function _M(e, t) {
|
|
8672
8672
|
const { account: r = e.account, prepare: n = !0 } = t, a = r ? ht(r) : void 0, o = (() => {
|
|
@@ -8693,7 +8693,7 @@ async function _M(e, t) {
|
|
|
8693
8693
|
if (b && t.gas !== b)
|
|
8694
8694
|
return b;
|
|
8695
8695
|
const P = (typeof d == "bigint" ? ye(d) : void 0) || f, j = cM(E);
|
|
8696
|
-
|
|
8696
|
+
Ba(t);
|
|
8697
8697
|
const A = e.chain?.formatters?.transactionRequest?.format, O = (A || $n)({
|
|
8698
8698
|
// Pick out extra data that might exist on the chain's transaction request type.
|
|
8699
8699
|
...$s(x, { format: A }),
|
|
@@ -8952,7 +8952,7 @@ function uEe(e) {
|
|
|
8952
8952
|
return s ? (Array.isArray(i) ? i : [i]).some((u) => a(s, u, t[o])) : !1;
|
|
8953
8953
|
}) : !1;
|
|
8954
8954
|
}
|
|
8955
|
-
function
|
|
8955
|
+
function Aa(e, { args: t, eventName: r } = {}) {
|
|
8956
8956
|
return {
|
|
8957
8957
|
...e,
|
|
8958
8958
|
blockHash: e.blockHash ? e.blockHash : null,
|
|
@@ -8987,7 +8987,7 @@ async function xM(e, { address: t, blockHash: r, fromBlock: n, toBlock: a, event
|
|
|
8987
8987
|
}
|
|
8988
8988
|
]
|
|
8989
8989
|
});
|
|
8990
|
-
const h = f.map((b) =>
|
|
8990
|
+
const h = f.map((b) => Aa(b));
|
|
8991
8991
|
return l ? kM({
|
|
8992
8992
|
abi: l,
|
|
8993
8993
|
args: s,
|
|
@@ -9090,7 +9090,7 @@ async function jA(e, { filter: t }) {
|
|
|
9090
9090
|
});
|
|
9091
9091
|
if (typeof n[0] == "string")
|
|
9092
9092
|
return n;
|
|
9093
|
-
const a = n.map((o) =>
|
|
9093
|
+
const a = n.map((o) => Aa(o));
|
|
9094
9094
|
return !("abi" in t) || !t.abi ? a : kM({
|
|
9095
9095
|
abi: t.abi,
|
|
9096
9096
|
logs: a,
|
|
@@ -9101,7 +9101,7 @@ async function hEe(e, { filter: t }) {
|
|
|
9101
9101
|
const r = t.strict ?? !1, a = (await t.request({
|
|
9102
9102
|
method: "eth_getFilterLogs",
|
|
9103
9103
|
params: [t.id]
|
|
9104
|
-
})).map((o) =>
|
|
9104
|
+
})).map((o) => Aa(o));
|
|
9105
9105
|
return t.abi ? kM({
|
|
9106
9106
|
abi: t.abi,
|
|
9107
9107
|
logs: a,
|
|
@@ -9196,7 +9196,7 @@ function wEe(e, t) {
|
|
|
9196
9196
|
const f = P_(l), h = xEe(r);
|
|
9197
9197
|
return fn([
|
|
9198
9198
|
"0x04",
|
|
9199
|
-
|
|
9199
|
+
ja([
|
|
9200
9200
|
ye(n),
|
|
9201
9201
|
o ? ye(o) : "0x",
|
|
9202
9202
|
u ? ye(u) : "0x",
|
|
@@ -9249,7 +9249,7 @@ function EEe(e, t) {
|
|
|
9249
9249
|
return fn([
|
|
9250
9250
|
"0x03",
|
|
9251
9251
|
// If sidecars are enabled, envelope turns into a "wrapper":
|
|
9252
|
-
|
|
9252
|
+
ja(h ? [m, g, C, _] : m)
|
|
9253
9253
|
]);
|
|
9254
9254
|
}
|
|
9255
9255
|
function CEe(e, t) {
|
|
@@ -9269,7 +9269,7 @@ function CEe(e, t) {
|
|
|
9269
9269
|
];
|
|
9270
9270
|
return fn([
|
|
9271
9271
|
"0x02",
|
|
9272
|
-
|
|
9272
|
+
ja(f)
|
|
9273
9273
|
]);
|
|
9274
9274
|
}
|
|
9275
9275
|
function _Ee(e, t) {
|
|
@@ -9288,7 +9288,7 @@ function _Ee(e, t) {
|
|
|
9288
9288
|
];
|
|
9289
9289
|
return fn([
|
|
9290
9290
|
"0x01",
|
|
9291
|
-
|
|
9291
|
+
ja(d)
|
|
9292
9292
|
]);
|
|
9293
9293
|
}
|
|
9294
9294
|
function kEe(e, t) {
|
|
@@ -9325,7 +9325,7 @@ function kEe(e, t) {
|
|
|
9325
9325
|
"0x",
|
|
9326
9326
|
"0x"
|
|
9327
9327
|
]);
|
|
9328
|
-
return
|
|
9328
|
+
return ja(u);
|
|
9329
9329
|
}
|
|
9330
9330
|
function Uu(e, t) {
|
|
9331
9331
|
const r = t ?? e, { v: n, yParity: a } = r;
|
|
@@ -9433,8 +9433,8 @@ function AEe(e, t = {}) {
|
|
|
9433
9433
|
case DC.code:
|
|
9434
9434
|
throw new DC(f);
|
|
9435
9435
|
// -32002
|
|
9436
|
-
case
|
|
9437
|
-
throw new
|
|
9436
|
+
case ka.code:
|
|
9437
|
+
throw new ka(f);
|
|
9438
9438
|
// -32003
|
|
9439
9439
|
case Eu.code:
|
|
9440
9440
|
throw new Eu(f);
|
|
@@ -9551,7 +9551,7 @@ function AA(e, t) {
|
|
|
9551
9551
|
cumulativeGasUsed: e.cumulativeGasUsed ? BigInt(e.cumulativeGasUsed) : null,
|
|
9552
9552
|
effectiveGasPrice: e.effectiveGasPrice ? BigInt(e.effectiveGasPrice) : null,
|
|
9553
9553
|
gasUsed: e.gasUsed ? BigInt(e.gasUsed) : null,
|
|
9554
|
-
logs: e.logs ? e.logs.map((n) =>
|
|
9554
|
+
logs: e.logs ? e.logs.map((n) => Aa(n)) : null,
|
|
9555
9555
|
to: e.to ? e.to : null,
|
|
9556
9556
|
transactionIndex: e.transactionIndex ? Hr(e.transactionIndex) : null,
|
|
9557
9557
|
status: e.status ? lde[e.status] : null,
|
|
@@ -9952,7 +9952,7 @@ function XEe(e, t = {}) {
|
|
|
9952
9952
|
function PM(e, t = {}) {
|
|
9953
9953
|
gde(e);
|
|
9954
9954
|
const { prefix: r, x: n, y: a } = e, { includePrefix: o = !0 } = t;
|
|
9955
|
-
return
|
|
9955
|
+
return qt(
|
|
9956
9956
|
o ? Ce(r, { size: 1 }) : "0x",
|
|
9957
9957
|
Ce(n, { size: 32 }),
|
|
9958
9958
|
// If the public key is not compressed, add the y coordinate.
|
|
@@ -10287,7 +10287,7 @@ function OM(e) {
|
|
|
10287
10287
|
const { dynamic: i, encoded: s } = e[o];
|
|
10288
10288
|
i ? (r.push(Ce(t + a, { size: 32 })), n.push(s), a += Ht(s)) : r.push(s);
|
|
10289
10289
|
}
|
|
10290
|
-
return
|
|
10290
|
+
return qt(...r, ...n);
|
|
10291
10291
|
}
|
|
10292
10292
|
function hCe(e, t) {
|
|
10293
10293
|
const { checksum: r = !1 } = t;
|
|
@@ -10322,7 +10322,7 @@ function bCe(e, t) {
|
|
|
10322
10322
|
const u = Ce(s.length, { size: 32 });
|
|
10323
10323
|
return {
|
|
10324
10324
|
dynamic: !0,
|
|
10325
|
-
encoded: s.length > 0 ?
|
|
10325
|
+
encoded: s.length > 0 ? qt(u, c) : u
|
|
10326
10326
|
};
|
|
10327
10327
|
}
|
|
10328
10328
|
if (i)
|
|
@@ -10330,7 +10330,7 @@ function bCe(e, t) {
|
|
|
10330
10330
|
}
|
|
10331
10331
|
return {
|
|
10332
10332
|
dynamic: !1,
|
|
10333
|
-
encoded:
|
|
10333
|
+
encoded: qt(...s.map(({ encoded: c }) => c))
|
|
10334
10334
|
};
|
|
10335
10335
|
}
|
|
10336
10336
|
function yCe(e, { type: t }) {
|
|
@@ -10339,7 +10339,7 @@ function yCe(e, { type: t }) {
|
|
|
10339
10339
|
let a = e;
|
|
10340
10340
|
return n % 32 !== 0 && (a = Ns(a, Math.ceil((e.length - 2) / 2 / 32) * 32)), {
|
|
10341
10341
|
dynamic: !0,
|
|
10342
|
-
encoded:
|
|
10342
|
+
encoded: qt(Fs(Ce(n, { size: 32 })), a)
|
|
10343
10343
|
};
|
|
10344
10344
|
}
|
|
10345
10345
|
if (n !== Number.parseInt(r, 10))
|
|
@@ -10380,7 +10380,7 @@ function wCe(e) {
|
|
|
10380
10380
|
n.push(Ns(Xe(t, a * 32, (a + 1) * 32)));
|
|
10381
10381
|
return {
|
|
10382
10382
|
dynamic: !0,
|
|
10383
|
-
encoded:
|
|
10383
|
+
encoded: qt(Ns(Ce(Ht(t), { size: 32 })), ...n)
|
|
10384
10384
|
};
|
|
10385
10385
|
}
|
|
10386
10386
|
function ECe(e, t) {
|
|
@@ -10397,7 +10397,7 @@ function ECe(e, t) {
|
|
|
10397
10397
|
}
|
|
10398
10398
|
return {
|
|
10399
10399
|
dynamic: a,
|
|
10400
|
-
encoded: a ? OM(o) :
|
|
10400
|
+
encoded: a ? OM(o) : qt(...o.map(({ encoded: i }) => i))
|
|
10401
10401
|
};
|
|
10402
10402
|
}
|
|
10403
10403
|
function IM(e) {
|
|
@@ -10623,7 +10623,7 @@ function YI(e, t) {
|
|
|
10623
10623
|
const a = e[n], o = t[n];
|
|
10624
10624
|
r.push(YI.encode(a, o));
|
|
10625
10625
|
}
|
|
10626
|
-
return
|
|
10626
|
+
return qt(...r);
|
|
10627
10627
|
}
|
|
10628
10628
|
(function(e) {
|
|
10629
10629
|
function t(r, n, a = !1) {
|
|
@@ -10660,7 +10660,7 @@ function YI(e, t) {
|
|
|
10660
10660
|
const [c, u] = s, l = [];
|
|
10661
10661
|
for (let d = 0; d < n.length; d++)
|
|
10662
10662
|
l.push(t(u, n[d], !0));
|
|
10663
|
-
return l.length === 0 ? "0x" :
|
|
10663
|
+
return l.length === 0 ? "0x" : qt(...l);
|
|
10664
10664
|
}
|
|
10665
10665
|
throw new UM(r);
|
|
10666
10666
|
}
|
|
@@ -11280,13 +11280,13 @@ class XCe extends Error {
|
|
|
11280
11280
|
super(t);
|
|
11281
11281
|
}
|
|
11282
11282
|
}
|
|
11283
|
-
const
|
|
11283
|
+
const mo = {
|
|
11284
11284
|
// asn.1 DER encoding utils
|
|
11285
11285
|
Err: XCe,
|
|
11286
11286
|
// Basic building block is TLV (Tag-Length-Value)
|
|
11287
11287
|
_tlv: {
|
|
11288
11288
|
encode: (e, t) => {
|
|
11289
|
-
const { Err: r } =
|
|
11289
|
+
const { Err: r } = mo;
|
|
11290
11290
|
if (e < 0 || e > 256)
|
|
11291
11291
|
throw new r("tlv.encode: wrong tag");
|
|
11292
11292
|
if (t.length & 1)
|
|
@@ -11299,7 +11299,7 @@ const po = {
|
|
|
11299
11299
|
},
|
|
11300
11300
|
// v - value, l - left bytes (unparsed)
|
|
11301
11301
|
decode(e, t) {
|
|
11302
|
-
const { Err: r } =
|
|
11302
|
+
const { Err: r } = mo;
|
|
11303
11303
|
let n = 0;
|
|
11304
11304
|
if (e < 0 || e > 256)
|
|
11305
11305
|
throw new r("tlv.encode: wrong tag");
|
|
@@ -11337,8 +11337,8 @@ const po = {
|
|
|
11337
11337
|
// - if next byte doesn't have a flag, leading zero is not allowed (minimal encoding)
|
|
11338
11338
|
_int: {
|
|
11339
11339
|
encode(e) {
|
|
11340
|
-
const { Err: t } =
|
|
11341
|
-
if (e <
|
|
11340
|
+
const { Err: t } = mo;
|
|
11341
|
+
if (e < ho)
|
|
11342
11342
|
throw new t("integer: negative integers are not allowed");
|
|
11343
11343
|
let r = Ik(e);
|
|
11344
11344
|
if (Number.parseInt(r[0], 16) & 8 && (r = "00" + r), r.length & 1)
|
|
@@ -11346,7 +11346,7 @@ const po = {
|
|
|
11346
11346
|
return r;
|
|
11347
11347
|
},
|
|
11348
11348
|
decode(e) {
|
|
11349
|
-
const { Err: t } =
|
|
11349
|
+
const { Err: t } = mo;
|
|
11350
11350
|
if (e[0] & 128)
|
|
11351
11351
|
throw new t("invalid signature integer: negative");
|
|
11352
11352
|
if (e[0] === 0 && !(e[1] & 128))
|
|
@@ -11355,7 +11355,7 @@ const po = {
|
|
|
11355
11355
|
}
|
|
11356
11356
|
},
|
|
11357
11357
|
toSig(e) {
|
|
11358
|
-
const { Err: t, _int: r, _tlv: n } =
|
|
11358
|
+
const { Err: t, _int: r, _tlv: n } = mo, a = xn("signature", e), { v: o, l: i } = n.decode(48, a);
|
|
11359
11359
|
if (i.length)
|
|
11360
11360
|
throw new t("invalid signature: left bytes after parsing");
|
|
11361
11361
|
const { v: s, l: c } = n.decode(2, o), { v: u, l } = n.decode(2, c);
|
|
@@ -11364,14 +11364,14 @@ const po = {
|
|
|
11364
11364
|
return { r: r.decode(s), s: r.decode(u) };
|
|
11365
11365
|
},
|
|
11366
11366
|
hexFromSig(e) {
|
|
11367
|
-
const { _tlv: t, _int: r } =
|
|
11367
|
+
const { _tlv: t, _int: r } = mo, n = t.encode(2, r.encode(e.r)), a = t.encode(2, r.encode(e.s)), o = n + a;
|
|
11368
11368
|
return t.encode(48, o);
|
|
11369
11369
|
}
|
|
11370
11370
|
};
|
|
11371
11371
|
function DB(e, t) {
|
|
11372
11372
|
return $C(w_(e, t));
|
|
11373
11373
|
}
|
|
11374
|
-
const
|
|
11374
|
+
const ho = BigInt(0), nr = BigInt(1);
|
|
11375
11375
|
BigInt(2);
|
|
11376
11376
|
const LB = BigInt(3), JCe = BigInt(4);
|
|
11377
11377
|
function YCe(e) {
|
|
@@ -11564,16 +11564,16 @@ function YCe(e) {
|
|
|
11564
11564
|
*/
|
|
11565
11565
|
multiplyUnsafe(y) {
|
|
11566
11566
|
const { endo: E, n: x } = t;
|
|
11567
|
-
mu("scalar", y,
|
|
11567
|
+
mu("scalar", y, ho, x);
|
|
11568
11568
|
const k = m.ZERO;
|
|
11569
|
-
if (y ===
|
|
11569
|
+
if (y === ho)
|
|
11570
11570
|
return k;
|
|
11571
11571
|
if (this.is0() || y === nr)
|
|
11572
11572
|
return this;
|
|
11573
11573
|
if (!E || _.hasPrecomputes(this))
|
|
11574
11574
|
return _.wNAFCachedUnsafe(this, y, m.normalizeZ);
|
|
11575
11575
|
let { k1neg: P, k1: j, k2neg: A, k2: I } = E.splitScalar(y), O = k, S = k, z = this;
|
|
11576
|
-
for (; j >
|
|
11576
|
+
for (; j > ho || I > ho; )
|
|
11577
11577
|
j & nr && (O = O.add(z)), I & nr && (S = S.add(z)), z = z.double(), j >>= nr, I >>= nr;
|
|
11578
11578
|
return P && (O = O.negate()), A && (S = S.negate()), S = new m(r.mul(S.px, E.beta), S.py, S.pz), O.add(S);
|
|
11579
11579
|
}
|
|
@@ -11607,7 +11607,7 @@ function YCe(e) {
|
|
|
11607
11607
|
* @returns non-zero affine point
|
|
11608
11608
|
*/
|
|
11609
11609
|
multiplyAndAddUnsafe(y, E, x) {
|
|
11610
|
-
const k = m.BASE, P = (A, I) => I ===
|
|
11610
|
+
const k = m.BASE, P = (A, I) => I === ho || I === nr || !A.equals(k) ? A.multiplyUnsafe(I) : A.multiply(I), j = P(this, E).add(P(y, x));
|
|
11611
11611
|
return j.is0() ? void 0 : j;
|
|
11612
11612
|
}
|
|
11613
11613
|
// Converts Projective point to affine (x, y) coordinates.
|
|
@@ -11716,7 +11716,7 @@ function e_e(e) {
|
|
|
11716
11716
|
// DER encoded ECDSA signature
|
|
11717
11717
|
// https://bitcoin.stackexchange.com/questions/57644/what-are-the-parts-of-a-bitcoin-transaction-input-script
|
|
11718
11718
|
static fromDER(F) {
|
|
11719
|
-
const { r: q, s: H } =
|
|
11719
|
+
const { r: q, s: H } = mo.toSig(xn("DER", F));
|
|
11720
11720
|
return new C(q, H);
|
|
11721
11721
|
}
|
|
11722
11722
|
/**
|
|
@@ -11752,7 +11752,7 @@ function e_e(e) {
|
|
|
11752
11752
|
return R7(this.toDERHex());
|
|
11753
11753
|
}
|
|
11754
11754
|
toDERHex() {
|
|
11755
|
-
return
|
|
11755
|
+
return mo.hexFromSig(this);
|
|
11756
11756
|
}
|
|
11757
11757
|
// padded bytes of r, then padded bytes of s
|
|
11758
11758
|
toCompactRawBytes() {
|
|
@@ -11820,7 +11820,7 @@ function e_e(e) {
|
|
|
11820
11820
|
return c(x(L));
|
|
11821
11821
|
}, P = hA(o);
|
|
11822
11822
|
function j(L) {
|
|
11823
|
-
return mu("num < 2^" + o, L,
|
|
11823
|
+
return mu("num < 2^" + o, L, ho, P), w_(L, a);
|
|
11824
11824
|
}
|
|
11825
11825
|
function A(L, F, q = I) {
|
|
11826
11826
|
if (["recovered", "canonical"].some((te) => te in q))
|
|
@@ -11839,10 +11839,10 @@ function e_e(e) {
|
|
|
11839
11839
|
if (!h(oe))
|
|
11840
11840
|
return;
|
|
11841
11841
|
const ae = u(oe), we = l.BASE.multiply(oe).toAffine(), le = c(we.x);
|
|
11842
|
-
if (le ===
|
|
11842
|
+
if (le === ho)
|
|
11843
11843
|
return;
|
|
11844
11844
|
const de = c(ae * c(Y + le * K));
|
|
11845
|
-
if (de ===
|
|
11845
|
+
if (de === ho)
|
|
11846
11846
|
return;
|
|
11847
11847
|
let he = (we.x === le ? 0 : 2) | Number(we.y & nr), ge = de;
|
|
11848
11848
|
return D && b(de) && (ge = m(de), he ^= 1), new C(le, ge, he);
|
|
@@ -11872,7 +11872,7 @@ function e_e(e) {
|
|
|
11872
11872
|
try {
|
|
11873
11873
|
V !== "compact" && (Z = C.fromDER(N));
|
|
11874
11874
|
} catch (he) {
|
|
11875
|
-
if (!(he instanceof
|
|
11875
|
+
if (!(he instanceof mo.Err))
|
|
11876
11876
|
throw he;
|
|
11877
11877
|
}
|
|
11878
11878
|
!Z && V !== "der" && (Z = C.fromCompact(N));
|
|
@@ -12025,7 +12025,7 @@ function c_e(e) {
|
|
|
12025
12025
|
function u_e(e) {
|
|
12026
12026
|
BA(e);
|
|
12027
12027
|
const t = e.r, r = e.s;
|
|
12028
|
-
return
|
|
12028
|
+
return qt(
|
|
12029
12029
|
Ce(t, { size: 32 }),
|
|
12030
12030
|
Ce(r, { size: 32 }),
|
|
12031
12031
|
// If the signature is recovered, add the recovery byte to the signature.
|
|
@@ -12398,7 +12398,7 @@ async function nR(e, t) {
|
|
|
12398
12398
|
data: C.dataSuffix ? Sn([w || "0x", C.dataSuffix]) : w,
|
|
12399
12399
|
from: C.from ?? _?.address
|
|
12400
12400
|
};
|
|
12401
|
-
return
|
|
12401
|
+
return Ba(y), $n(y);
|
|
12402
12402
|
}), m = f.stateOverrides ? cM(f.stateOverrides) : void 0;
|
|
12403
12403
|
c.push({
|
|
12404
12404
|
blockOverrides: h,
|
|
@@ -12416,7 +12416,7 @@ async function nR(e, t) {
|
|
|
12416
12416
|
})).map((f, h) => ({
|
|
12417
12417
|
...fM(f),
|
|
12418
12418
|
calls: f.calls.map((b, m) => {
|
|
12419
|
-
const { abi: g, args: C, functionName: _, to: w } = a[h].calls[m], y = b.error?.data ?? b.returnData, E = BigInt(b.gasUsed), x = b.logs?.map((A) =>
|
|
12419
|
+
const { abi: g, args: C, functionName: _, to: w } = a[h].calls[m], y = b.error?.data ?? b.returnData, E = BigInt(b.gasUsed), x = b.logs?.map((A) => Aa(A)), k = b.status === "0x1" ? "success" : "failure", P = g && k === "success" && y !== "0x" ? Ys({
|
|
12420
12420
|
abi: g,
|
|
12421
12421
|
data: y,
|
|
12422
12422
|
functionName: _
|
|
@@ -12637,7 +12637,7 @@ function I_e(...e) {
|
|
|
12637
12637
|
}
|
|
12638
12638
|
return e;
|
|
12639
12639
|
})(), { bytecode: n, args: a } = r;
|
|
12640
|
-
return
|
|
12640
|
+
return qt(n, t.inputs?.length && a?.length ? MM(t.inputs, a) : "0x");
|
|
12641
12641
|
}
|
|
12642
12642
|
function R_e(e) {
|
|
12643
12643
|
return Zde(e);
|
|
@@ -12659,7 +12659,7 @@ function U_e(...e) {
|
|
|
12659
12659
|
})(), { overloads: n } = t, a = n ? iF([t, ...n], t.name, {
|
|
12660
12660
|
args: r
|
|
12661
12661
|
}) : t, o = q_e(a), i = r.length > 0 ? MM(a.inputs, r) : void 0;
|
|
12662
|
-
return i ?
|
|
12662
|
+
return i ? qt(o, i) : o;
|
|
12663
12663
|
}
|
|
12664
12664
|
function Uc(e, t = {}) {
|
|
12665
12665
|
return Zde(e, t);
|
|
@@ -12891,7 +12891,7 @@ function L_e(e) {
|
|
|
12891
12891
|
}
|
|
12892
12892
|
function H_e(e) {
|
|
12893
12893
|
const { data: t, signature: r, to: n } = e;
|
|
12894
|
-
return
|
|
12894
|
+
return qt(MM(Ede("address, bytes, bytes"), [
|
|
12895
12895
|
n,
|
|
12896
12896
|
t,
|
|
12897
12897
|
r
|
|
@@ -12930,7 +12930,7 @@ async function O_(e, t) {
|
|
|
12930
12930
|
return await n.verifyHash(e, t);
|
|
12931
12931
|
const s = (() => {
|
|
12932
12932
|
const c = t.signature;
|
|
12933
|
-
return
|
|
12933
|
+
return Ta(c) ? c : typeof c == "object" && "r" in c && "s" in c ? W_e(c) : Wt(c);
|
|
12934
12934
|
})();
|
|
12935
12935
|
try {
|
|
12936
12936
|
return k_e(s) ? await K_e(e, {
|
|
@@ -13466,7 +13466,7 @@ function e5e(e, t) {
|
|
|
13466
13466
|
data: j.data,
|
|
13467
13467
|
topics: j.topics,
|
|
13468
13468
|
strict: f
|
|
13469
|
-
}), O =
|
|
13469
|
+
}), O = Aa(j, {
|
|
13470
13470
|
args: I,
|
|
13471
13471
|
eventName: A
|
|
13472
13472
|
});
|
|
@@ -13478,7 +13478,7 @@ function e5e(e, t) {
|
|
|
13478
13478
|
return;
|
|
13479
13479
|
I = A.abiItem.name, O = A.abiItem.inputs?.some((z) => !("name" in z && z.name));
|
|
13480
13480
|
}
|
|
13481
|
-
const S =
|
|
13481
|
+
const S = Aa(j, {
|
|
13482
13482
|
args: O ? [] : {},
|
|
13483
13483
|
eventName: I
|
|
13484
13484
|
});
|
|
@@ -13591,7 +13591,7 @@ function t5e(e, { address: t, args: r, batch: n = !0, event: a, events: o, fromB
|
|
|
13591
13591
|
data: k.data,
|
|
13592
13592
|
topics: k.topics,
|
|
13593
13593
|
strict: h
|
|
13594
|
-
}), A =
|
|
13594
|
+
}), A = Aa(k, { args: j, eventName: P });
|
|
13595
13595
|
c([A]);
|
|
13596
13596
|
} catch (P) {
|
|
13597
13597
|
let j, A;
|
|
@@ -13600,7 +13600,7 @@ function t5e(e, { address: t, args: r, batch: n = !0, event: a, events: o, fromB
|
|
|
13600
13600
|
return;
|
|
13601
13601
|
j = P.abiItem.name, A = P.abiItem.inputs?.some((O) => !("name" in O && O.name));
|
|
13602
13602
|
}
|
|
13603
|
-
const I =
|
|
13603
|
+
const I = Aa(k, {
|
|
13604
13604
|
args: A ? [] : {},
|
|
13605
13605
|
eventName: j
|
|
13606
13606
|
});
|
|
@@ -13731,7 +13731,7 @@ async function I_(e, t) {
|
|
|
13731
13731
|
});
|
|
13732
13732
|
const C = r ? ht(r) : null;
|
|
13733
13733
|
try {
|
|
13734
|
-
|
|
13734
|
+
Ba(t);
|
|
13735
13735
|
const _ = await (async () => {
|
|
13736
13736
|
if (t.to)
|
|
13737
13737
|
return t.to;
|
|
@@ -14091,7 +14091,7 @@ async function ofe(e, t) {
|
|
|
14091
14091
|
});
|
|
14092
14092
|
const y = r ? ht(r) : null;
|
|
14093
14093
|
try {
|
|
14094
|
-
|
|
14094
|
+
Ba(t);
|
|
14095
14095
|
const E = await (async () => {
|
|
14096
14096
|
if (t.to)
|
|
14097
14097
|
return t.to;
|
|
@@ -14248,7 +14248,7 @@ async function h5e(e, t) {
|
|
|
14248
14248
|
docsPath: "/docs/actions/wallet/signTransaction"
|
|
14249
14249
|
});
|
|
14250
14250
|
const o = ht(r);
|
|
14251
|
-
|
|
14251
|
+
Ba({
|
|
14252
14252
|
account: o,
|
|
14253
14253
|
...t
|
|
14254
14254
|
});
|
|
@@ -15457,7 +15457,7 @@ function qA(e = {}) {
|
|
|
15457
15457
|
const m = b;
|
|
15458
15458
|
if (m.code === st.code)
|
|
15459
15459
|
throw new st(m);
|
|
15460
|
-
if (m.code ===
|
|
15460
|
+
if (m.code === ka.code)
|
|
15461
15461
|
throw m;
|
|
15462
15462
|
}
|
|
15463
15463
|
try {
|
|
@@ -15475,7 +15475,7 @@ function qA(e = {}) {
|
|
|
15475
15475
|
};
|
|
15476
15476
|
} catch (b) {
|
|
15477
15477
|
const m = b;
|
|
15478
|
-
throw m.code === st.code ? new st(m) : m.code ===
|
|
15478
|
+
throw m.code === st.code ? new st(m) : m.code === ka.code ? new ka(m) : m;
|
|
15479
15479
|
}
|
|
15480
15480
|
},
|
|
15481
15481
|
async disconnect() {
|
|
@@ -19929,7 +19929,7 @@ const V8e = /* @__PURE__ */ M({
|
|
|
19929
19929
|
l1BatchNumber: e.l1BatchNumber ? Ve(e.l1BatchNumber) : null,
|
|
19930
19930
|
l1BatchTxIndex: e.l1BatchTxIndex ? Ve(e.l1BatchTxIndex) : null,
|
|
19931
19931
|
logs: e.logs.map((t) => ({
|
|
19932
|
-
...
|
|
19932
|
+
...Aa(t),
|
|
19933
19933
|
l1BatchNumber: t.l1BatchNumber ? Ve(t.l1BatchNumber) : null,
|
|
19934
19934
|
transactionLogIndex: Hr(t.transactionLogIndex),
|
|
19935
19935
|
logType: t.logType
|
|
@@ -20042,7 +20042,7 @@ function exe(e) {
|
|
|
20042
20042
|
];
|
|
20043
20043
|
return fn([
|
|
20044
20044
|
"0x71",
|
|
20045
|
-
|
|
20045
|
+
ja(m)
|
|
20046
20046
|
]);
|
|
20047
20047
|
}
|
|
20048
20048
|
class txe extends pe {
|
|
@@ -20440,7 +20440,7 @@ function vxe(e) {
|
|
|
20440
20440
|
];
|
|
20441
20441
|
return fn([
|
|
20442
20442
|
"0x7e",
|
|
20443
|
-
|
|
20443
|
+
ja(u)
|
|
20444
20444
|
]);
|
|
20445
20445
|
}
|
|
20446
20446
|
function wxe(e) {
|
|
@@ -22482,7 +22482,7 @@ function rje(e, t) {
|
|
|
22482
22482
|
];
|
|
22483
22483
|
return fn([
|
|
22484
22484
|
"0x7b",
|
|
22485
|
-
|
|
22485
|
+
ja(f)
|
|
22486
22486
|
]);
|
|
22487
22487
|
}
|
|
22488
22488
|
const nje = k_;
|
|
@@ -27623,7 +27623,7 @@ async function TSe(e, t) {
|
|
|
27623
27623
|
const n = ht(r);
|
|
27624
27624
|
try {
|
|
27625
27625
|
const { accessList: a, blockNumber: o, blockTag: i, data: s, gas: c, gasPrice: u, maxFeePerGas: l, maxPriorityFeePerGas: d, nonce: f, to: h, value: b, ...m } = t, C = (typeof o == "bigint" ? ye(o) : void 0) || i;
|
|
27626
|
-
|
|
27626
|
+
Ba(t);
|
|
27627
27627
|
const _ = e.chain?.formatters?.transactionRequest?.format, y = (_ || $n)({
|
|
27628
27628
|
// Pick out extra data that might exist on the chain's transaction request type.
|
|
27629
27629
|
...$s(m, { format: _ }),
|
|
@@ -28126,7 +28126,7 @@ const jSe = /* @__PURE__ */ M({
|
|
|
28126
28126
|
blockCreated: 1935198
|
|
28127
28127
|
}
|
|
28128
28128
|
}
|
|
28129
|
-
}),
|
|
28129
|
+
}), Pa = /* @__PURE__ */ M({
|
|
28130
28130
|
id: 1,
|
|
28131
28131
|
name: "Ethereum",
|
|
28132
28132
|
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
|
|
@@ -33644,13 +33644,13 @@ function Nu(e) {
|
|
|
33644
33644
|
return {
|
|
33645
33645
|
publicKey: {
|
|
33646
33646
|
prefix: 4,
|
|
33647
|
-
x:
|
|
33648
|
-
y:
|
|
33647
|
+
x: Lt(Xe(a, 64, 96)),
|
|
33648
|
+
y: Lt(Xe(a, 96, 128))
|
|
33649
33649
|
},
|
|
33650
33650
|
prehash: e_(Xe(a, 128, 129)) !== 0,
|
|
33651
33651
|
signature: {
|
|
33652
|
-
r:
|
|
33653
|
-
s:
|
|
33652
|
+
r: Lt(Xe(a, 0, 32)),
|
|
33653
|
+
s: Lt(Xe(a, 32, 64))
|
|
33654
33654
|
},
|
|
33655
33655
|
type: "p256"
|
|
33656
33656
|
};
|
|
@@ -33680,16 +33680,16 @@ function Nu(e) {
|
|
|
33680
33680
|
return {
|
|
33681
33681
|
publicKey: {
|
|
33682
33682
|
prefix: 4,
|
|
33683
|
-
x:
|
|
33684
|
-
y:
|
|
33683
|
+
x: Lt(Xe(a, i + 64, i + 96)),
|
|
33684
|
+
y: Lt(Xe(a, i + 96, i + 128))
|
|
33685
33685
|
},
|
|
33686
33686
|
metadata: {
|
|
33687
33687
|
authenticatorData: c,
|
|
33688
33688
|
clientDataJSON: u
|
|
33689
33689
|
},
|
|
33690
33690
|
signature: {
|
|
33691
|
-
r:
|
|
33692
|
-
s:
|
|
33691
|
+
r: Lt(Xe(a, i, i + 32)),
|
|
33692
|
+
s: Lt(Xe(a, i + 32, i + 64))
|
|
33693
33693
|
},
|
|
33694
33694
|
type: "webAuthn"
|
|
33695
33695
|
};
|
|
@@ -33730,12 +33730,12 @@ function LA(e) {
|
|
|
33730
33730
|
prehash: e.preHash,
|
|
33731
33731
|
publicKey: {
|
|
33732
33732
|
prefix: 4,
|
|
33733
|
-
x:
|
|
33734
|
-
y:
|
|
33733
|
+
x: Lt(e.pubKeyX),
|
|
33734
|
+
y: Lt(e.pubKeyY)
|
|
33735
33735
|
},
|
|
33736
33736
|
signature: {
|
|
33737
|
-
r:
|
|
33738
|
-
s:
|
|
33737
|
+
r: Lt(e.r),
|
|
33738
|
+
s: Lt(e.s)
|
|
33739
33739
|
},
|
|
33740
33740
|
type: "p256"
|
|
33741
33741
|
};
|
|
@@ -33763,12 +33763,12 @@ function LA(e) {
|
|
|
33763
33763
|
},
|
|
33764
33764
|
publicKey: {
|
|
33765
33765
|
prefix: 4,
|
|
33766
|
-
x:
|
|
33767
|
-
y:
|
|
33766
|
+
x: Lt(e.pubKeyX),
|
|
33767
|
+
y: Lt(e.pubKeyY)
|
|
33768
33768
|
},
|
|
33769
33769
|
signature: {
|
|
33770
|
-
r:
|
|
33771
|
-
s:
|
|
33770
|
+
r: Lt(e.r),
|
|
33771
|
+
s: Lt(e.s)
|
|
33772
33772
|
},
|
|
33773
33773
|
type: "webAuthn"
|
|
33774
33774
|
};
|
|
@@ -33801,18 +33801,18 @@ function aU(e) {
|
|
|
33801
33801
|
function HA(e, t = {}) {
|
|
33802
33802
|
const r = aU(e);
|
|
33803
33803
|
if (r === "secp256k1")
|
|
33804
|
-
return
|
|
33804
|
+
return qt(u_e(e.signature), t.magic ? Ss : "0x");
|
|
33805
33805
|
if (r === "p256") {
|
|
33806
33806
|
const n = e;
|
|
33807
|
-
return
|
|
33807
|
+
return qt(xR, Ce(n.signature.r, { size: 32 }), Ce(n.signature.s, { size: 32 }), Ce(n.publicKey.x, { size: 32 }), Ce(n.publicKey.y, { size: 32 }), Ce(n.prehash ? 1 : 0, { size: 1 }), t.magic ? Ss : "0x");
|
|
33808
33808
|
}
|
|
33809
33809
|
if (r === "webAuthn") {
|
|
33810
|
-
const n = e, a =
|
|
33811
|
-
return
|
|
33810
|
+
const n = e, a = qt(n.metadata.authenticatorData, C_(n.metadata.clientDataJSON));
|
|
33811
|
+
return qt(TR, a, Ce(n.signature.r, { size: 32 }), Ce(n.signature.s, { size: 32 }), Ce(n.publicKey.x, { size: 32 }), Ce(n.publicKey.y, { size: 32 }), t.magic ? Ss : "0x");
|
|
33812
33812
|
}
|
|
33813
33813
|
if (r === "keychain") {
|
|
33814
33814
|
const n = e;
|
|
33815
|
-
return
|
|
33815
|
+
return qt(vpe, n.userAddress, HA(n.inner), t.magic ? Ss : "0x");
|
|
33816
33816
|
}
|
|
33817
33817
|
throw new d_({ envelope: e });
|
|
33818
33818
|
}
|
|
@@ -33835,7 +33835,7 @@ function oU(e) {
|
|
|
33835
33835
|
};
|
|
33836
33836
|
}
|
|
33837
33837
|
if (t === "webAuthn") {
|
|
33838
|
-
const r = e, n =
|
|
33838
|
+
const r = e, n = qt(r.metadata.authenticatorData, C_(r.metadata.clientDataJSON));
|
|
33839
33839
|
return {
|
|
33840
33840
|
pubKeyX: Ce(r.publicKey.x, { size: 32 }),
|
|
33841
33841
|
pubKeyY: Ce(r.publicKey.y, { size: 32 }),
|
|
@@ -33991,7 +33991,7 @@ function Epe(e) {
|
|
|
33991
33991
|
const { chainId: t = "0x0", keyId: r, expiry: n = 0, limits: a, keyType: o } = e, i = LA(e.signature);
|
|
33992
33992
|
return {
|
|
33993
33993
|
address: r,
|
|
33994
|
-
chainId: t === "0x" ? 0n :
|
|
33994
|
+
chainId: t === "0x" ? 0n : Lt(t),
|
|
33995
33995
|
expiry: Number(n),
|
|
33996
33996
|
limits: a?.map((s) => ({
|
|
33997
33997
|
token: s.token,
|
|
@@ -34018,7 +34018,7 @@ function EIe(e) {
|
|
|
34018
34018
|
address: o,
|
|
34019
34019
|
expiry: typeof i < "u" ? e_(i) : void 0,
|
|
34020
34020
|
type: c,
|
|
34021
|
-
...n !== "0x" ? { chainId:
|
|
34021
|
+
...n !== "0x" ? { chainId: Lt(n) } : {},
|
|
34022
34022
|
...typeof i < "u" ? { expiry: e_(i) } : {},
|
|
34023
34023
|
...typeof s < "u" ? {
|
|
34024
34024
|
limits: s.map(([l, d]) => ({
|
|
@@ -34069,7 +34069,7 @@ function Cpe(e) {
|
|
|
34069
34069
|
if (typeof e == "string")
|
|
34070
34070
|
return Yn(e), e;
|
|
34071
34071
|
const t = Ce(e, { size: 18 });
|
|
34072
|
-
return
|
|
34072
|
+
return qt(kIe, t);
|
|
34073
34073
|
}
|
|
34074
34074
|
const _pe = {
|
|
34075
34075
|
...tpe,
|
|
@@ -34214,7 +34214,7 @@ function IC(e, t = {}) {
|
|
|
34214
34214
|
...c ? [_Ie(c)] : [],
|
|
34215
34215
|
...g ? [HA(U_(g))] : []
|
|
34216
34216
|
];
|
|
34217
|
-
return
|
|
34217
|
+
return qt(t.format === "feePayer" ? AIe : PIe, RCe(y));
|
|
34218
34218
|
}
|
|
34219
34219
|
function OIe(e) {
|
|
34220
34220
|
return IIe(e, { presign: !0 });
|
|
@@ -34340,7 +34340,7 @@ async function zIe(e, t) {
|
|
|
34340
34340
|
feePayerSignature: null,
|
|
34341
34341
|
signature: r
|
|
34342
34342
|
});
|
|
34343
|
-
return e.from && r ?
|
|
34343
|
+
return e.from && r ? qt(u, e.from, "0xfeefeefeefee") : u;
|
|
34344
34344
|
}
|
|
34345
34345
|
return IC(
|
|
34346
34346
|
// If we have specified a fee payer, the user will not be signing over the fee token.
|
|
@@ -34423,7 +34423,7 @@ function WIe(e, t) {
|
|
|
34423
34423
|
const r = xpe(e, t);
|
|
34424
34424
|
r.resetScheduled || (r.resetScheduled = !0, queueMicrotask(() => VIe(e, t)));
|
|
34425
34425
|
const n = r.counter;
|
|
34426
|
-
return r.counter++, n === 0 ? 0n :
|
|
34426
|
+
return r.counter++, n === 0 ? 0n : Lt(jle(6));
|
|
34427
34427
|
}
|
|
34428
34428
|
const cU = {
|
|
34429
34429
|
blockTime: 1e3,
|
|
@@ -36897,7 +36897,7 @@ const cU = {
|
|
|
36897
36897
|
lumozTestnet: DSe,
|
|
36898
36898
|
lycan: LSe,
|
|
36899
36899
|
lyra: HSe,
|
|
36900
|
-
mainnet:
|
|
36900
|
+
mainnet: Pa,
|
|
36901
36901
|
mandala: GSe,
|
|
36902
36902
|
manta: VSe,
|
|
36903
36903
|
mantaSepoliaTestnet: WSe,
|
|
@@ -37261,7 +37261,7 @@ function lO(e, t) {
|
|
|
37261
37261
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
37262
37262
|
}
|
|
37263
37263
|
function PMe(e, t) {
|
|
37264
|
-
var r =
|
|
37264
|
+
var r = We(function() {
|
|
37265
37265
|
return {
|
|
37266
37266
|
// value
|
|
37267
37267
|
value: e,
|
|
@@ -37770,12 +37770,12 @@ function lUe() {
|
|
|
37770
37770
|
if (typeof ze === l)
|
|
37771
37771
|
return ze = ze.replace(/^\s\s*/, o), typeof Ne === c ? ze : ze.substring(0, P);
|
|
37772
37772
|
}, nt = function(ze, Ne) {
|
|
37773
|
-
for (var Be = 0, Ze, Jt,
|
|
37773
|
+
for (var Be = 0, Ze, Jt, zt, He, Ue, Ft; Be < Ne.length && !Ue; ) {
|
|
37774
37774
|
var gn = Ne[Be], vn = Ne[Be + 1];
|
|
37775
37775
|
for (Ze = Jt = 0; Ze < gn.length && !Ue && gn[Ze]; )
|
|
37776
37776
|
if (Ue = gn[Ze++].exec(ze), Ue)
|
|
37777
|
-
for (
|
|
37778
|
-
|
|
37777
|
+
for (zt = 0; zt < vn.length; zt++)
|
|
37778
|
+
Ft = Ue[++Jt], He = vn[zt], typeof He === u && He.length > 0 ? He.length === 2 ? typeof He[1] == s ? this[He[0]] = He[1].call(this, Ft) : this[He[0]] = He[1] : He.length === 3 ? typeof He[1] === s && !(He[1].exec && He[1].test) ? this[He[0]] = Ft ? He[1].call(this, Ft, He[2]) : n : this[He[0]] = Ft ? Ft.replace(He[1], He[2]) : n : He.length === 4 && (this[He[0]] = Ft ? He[3].call(this, Ft.replace(He[1], He[2])) : n) : this[He] = Ft || n;
|
|
37779
37779
|
Be += 2;
|
|
37780
37780
|
}
|
|
37781
37781
|
}, jt = function(ze, Ne) {
|
|
@@ -39026,22 +39026,22 @@ function lUe() {
|
|
|
39026
39026
|
}, Ye = function(ze, Ne) {
|
|
39027
39027
|
if (typeof ze === u && (Ne = ze, ze = n), !(this instanceof Ye))
|
|
39028
39028
|
return new Ye(ze, Ne).getResult();
|
|
39029
|
-
var Be = typeof r !== c && r.navigator ? r.navigator : n, Ze = ze || (Be && Be.userAgent ? Be.userAgent : o), Jt = Be && Be.userAgentData ? Be.userAgentData : n,
|
|
39029
|
+
var Be = typeof r !== c && r.navigator ? r.navigator : n, Ze = ze || (Be && Be.userAgent ? Be.userAgent : o), Jt = Be && Be.userAgentData ? Be.userAgentData : n, zt = Ne ? Ee(ft, Ne) : ft, He = Be && Be.userAgent == Ze;
|
|
39030
39030
|
return this.getBrowser = function() {
|
|
39031
39031
|
var Ue = {};
|
|
39032
|
-
return Ue[h] = n, Ue[g] = n, nt.call(Ue, Ze,
|
|
39032
|
+
return Ue[h] = n, Ue[g] = n, nt.call(Ue, Ze, zt.browser), Ue[d] = ue(Ue[g]), He && Be && Be.brave && typeof Be.brave.isBrave == s && (Ue[h] = "Brave"), Ue;
|
|
39033
39033
|
}, this.getCPU = function() {
|
|
39034
39034
|
var Ue = {};
|
|
39035
|
-
return Ue[C] = n, nt.call(Ue, Ze,
|
|
39035
|
+
return Ue[C] = n, nt.call(Ue, Ze, zt.cpu), Ue;
|
|
39036
39036
|
}, this.getDevice = function() {
|
|
39037
39037
|
var Ue = {};
|
|
39038
|
-
return Ue[m] = n, Ue[f] = n, Ue[b] = n, nt.call(Ue, Ze,
|
|
39038
|
+
return Ue[m] = n, Ue[f] = n, Ue[b] = n, nt.call(Ue, Ze, zt.device), He && !Ue[b] && Jt && Jt.mobile && (Ue[b] = w), He && Ue[f] == "Macintosh" && Be && typeof Be.standalone !== c && Be.maxTouchPoints && Be.maxTouchPoints > 2 && (Ue[f] = "iPad", Ue[b] = y), Ue;
|
|
39039
39039
|
}, this.getEngine = function() {
|
|
39040
39040
|
var Ue = {};
|
|
39041
|
-
return Ue[h] = n, Ue[g] = n, nt.call(Ue, Ze,
|
|
39041
|
+
return Ue[h] = n, Ue[g] = n, nt.call(Ue, Ze, zt.engine), Ue;
|
|
39042
39042
|
}, this.getOS = function() {
|
|
39043
39043
|
var Ue = {};
|
|
39044
|
-
return Ue[h] = n, Ue[g] = n, nt.call(Ue, Ze,
|
|
39044
|
+
return Ue[h] = n, Ue[g] = n, nt.call(Ue, Ze, zt.os), He && !Ue[h] && Jt && Jt.platform && Jt.platform != "Unknown" && (Ue[h] = Jt.platform.replace(/chrome os/i, de).replace(/macos/i, he)), Ue;
|
|
39045
39045
|
}, this.getResult = function() {
|
|
39046
39046
|
return {
|
|
39047
39047
|
ua: this.getUA(),
|
|
@@ -39927,9 +39927,9 @@ function qUe(e, t = {}) {
|
|
|
39927
39927
|
value: e
|
|
39928
39928
|
};
|
|
39929
39929
|
}
|
|
39930
|
-
function
|
|
39930
|
+
function _a(e) {
|
|
39931
39931
|
const { arena: t, ...r } = e;
|
|
39932
|
-
return se.jsxs(
|
|
39932
|
+
return se.jsxs(_a.Root, { ...r, children: [se.jsx(_a.Finder, {}), se.jsx(_a.Cells, {}), t && se.jsx(_a.Arena, { children: typeof t == "string" ? se.jsx("img", { alt: "Arena", src: t, style: {
|
|
39933
39933
|
borderRadius: 1,
|
|
39934
39934
|
height: "100%",
|
|
39935
39935
|
objectFit: "cover",
|
|
@@ -40030,7 +40030,7 @@ function Ca(e) {
|
|
|
40030
40030
|
e.Arena = a, (function(o) {
|
|
40031
40031
|
o.displayName = "Arena";
|
|
40032
40032
|
})(a = e.Arena || (e.Arena = {}));
|
|
40033
|
-
})(
|
|
40033
|
+
})(_a || (_a = {}));
|
|
40034
40034
|
function zUe(e = {}) {
|
|
40035
40035
|
let t, r, n, a;
|
|
40036
40036
|
return (o) => ({
|
|
@@ -40092,7 +40092,7 @@ function zUe(e = {}) {
|
|
|
40092
40092
|
const i = typeof e.preference == "string" ? { options: e.preference } : {
|
|
40093
40093
|
...e.preference,
|
|
40094
40094
|
options: e.preference?.options ?? "all"
|
|
40095
|
-
}, { createBaseAccountSDK: s } = await import("./index-
|
|
40095
|
+
}, { createBaseAccountSDK: s } = await import("./index-BBgt37t7.mjs");
|
|
40096
40096
|
t = s({
|
|
40097
40097
|
...e,
|
|
40098
40098
|
appChainIds: o.chains.map((u) => u.id),
|
|
@@ -40204,7 +40204,7 @@ function lU(e = {}) {
|
|
|
40204
40204
|
};
|
|
40205
40205
|
} catch (m) {
|
|
40206
40206
|
const g = m;
|
|
40207
|
-
throw g.code === st.code ? new st(g) : g.code ===
|
|
40207
|
+
throw g.code === st.code ? new st(g) : g.code === ka.code ? new ka(g) : g;
|
|
40208
40208
|
}
|
|
40209
40209
|
},
|
|
40210
40210
|
async disconnect() {
|
|
@@ -40223,7 +40223,7 @@ function lU(e = {}) {
|
|
|
40223
40223
|
async getProvider() {
|
|
40224
40224
|
async function l() {
|
|
40225
40225
|
const d = await (async () => {
|
|
40226
|
-
const { default: m } = await import("./metamask-sdk-
|
|
40226
|
+
const { default: m } = await import("./metamask-sdk-iNdjvxkx.mjs");
|
|
40227
40227
|
return typeof m != "function" && typeof m.default == "function" ? m.default : m;
|
|
40228
40228
|
})(), f = {};
|
|
40229
40229
|
for (const m of u.chains)
|
|
@@ -40403,13 +40403,13 @@ function dU(e = {}) {
|
|
|
40403
40403
|
async getProvider() {
|
|
40404
40404
|
if (typeof window < "u" && window?.parent !== window) {
|
|
40405
40405
|
if (!r) {
|
|
40406
|
-
const { default: i } = await import("./index-
|
|
40406
|
+
const { default: i } = await import("./index-DJ-lTExJ.mjs"), s = new i(e), c = await PA(() => s.safe.getInfo(), {
|
|
40407
40407
|
timeout: e.unstable_getInfoTimeout ?? 10
|
|
40408
40408
|
});
|
|
40409
40409
|
if (!c)
|
|
40410
40410
|
throw new Error("Could not load Safe information");
|
|
40411
40411
|
const u = await (async () => {
|
|
40412
|
-
const l = await import("./index-
|
|
40412
|
+
const l = await import("./index-BSZc8TqZ.mjs").then((d) => d.i);
|
|
40413
40413
|
return typeof l.SafeAppProvider != "function" && typeof l.default.SafeAppProvider == "function" ? l.default.SafeAppProvider : l.SafeAppProvider;
|
|
40414
40414
|
})();
|
|
40415
40415
|
r = new u(c, s);
|
|
@@ -40508,7 +40508,7 @@ function fU(e) {
|
|
|
40508
40508
|
const b = d.chains.map((g) => g.id);
|
|
40509
40509
|
if (!b.length)
|
|
40510
40510
|
return;
|
|
40511
|
-
const { EthereumProvider: m } = await import("./index.es-
|
|
40511
|
+
const { EthereumProvider: m } = await import("./index.es-VkT2U1ce.mjs").then((g) => g.Y);
|
|
40512
40512
|
return await m.init({
|
|
40513
40513
|
...e,
|
|
40514
40514
|
disableProviderPing: !0,
|
|
@@ -40716,7 +40716,7 @@ async function Dpe(e) {
|
|
|
40716
40716
|
}));
|
|
40717
40717
|
return pO.set(e, n), n;
|
|
40718
40718
|
}
|
|
40719
|
-
async function
|
|
40719
|
+
async function Sa(...e) {
|
|
40720
40720
|
return await Promise.all(
|
|
40721
40721
|
e.map((t) => typeof t == "function" ? Dpe(t) : t)
|
|
40722
40722
|
);
|
|
@@ -40914,7 +40914,7 @@ function eqe(e) {
|
|
|
40914
40914
|
return hN[r ?? 0];
|
|
40915
40915
|
}
|
|
40916
40916
|
var tqe = ({ address: e, ensImage: t, size: r }) => {
|
|
40917
|
-
const [n, a] =
|
|
40917
|
+
const [n, a] = We(!1);
|
|
40918
40918
|
ct(() => {
|
|
40919
40919
|
if (t) {
|
|
40920
40920
|
const s = new Image();
|
|
@@ -41118,7 +41118,7 @@ var nqe = async (e) => {
|
|
|
41118
41118
|
return (await import("./de_DE-PYAO5YD6-DRiWndek.mjs")).default;
|
|
41119
41119
|
case "en":
|
|
41120
41120
|
case "en-US":
|
|
41121
|
-
return (await import("./en_US-Y4ZOVFV4-
|
|
41121
|
+
return (await import("./en_US-Y4ZOVFV4-C_aw2UsP.mjs")).default;
|
|
41122
41122
|
case "es":
|
|
41123
41123
|
case "es-419":
|
|
41124
41124
|
return (await import("./es_419-HRGOJ6VT-Bb7kiWEN.mjs")).default;
|
|
@@ -41168,7 +41168,7 @@ var nqe = async (e) => {
|
|
|
41168
41168
|
case "zh-TW":
|
|
41169
41169
|
return (await import("./zh_TW-VNNRNXY7-CyIPkoVZ.mjs")).default;
|
|
41170
41170
|
default:
|
|
41171
|
-
return (await import("./en_US-Y4ZOVFV4-
|
|
41171
|
+
return (await import("./en_US-Y4ZOVFV4-C_aw2UsP.mjs")).default;
|
|
41172
41172
|
}
|
|
41173
41173
|
};
|
|
41174
41174
|
async function gN(e) {
|
|
@@ -41187,7 +41187,7 @@ var aqe = () => {
|
|
|
41187
41187
|
return navigator.language;
|
|
41188
41188
|
}
|
|
41189
41189
|
}, Qt = dn({ i18n: jn }), oqe = ({ children: e, locale: t }) => {
|
|
41190
|
-
const [r, n] =
|
|
41190
|
+
const [r, n] = We(0), a = Xn(
|
|
41191
41191
|
() => aqe(),
|
|
41192
41192
|
[]
|
|
41193
41193
|
);
|
|
@@ -41434,18 +41434,18 @@ var rc = () => Le(mU).chains, gqe = () => Le(mU).initialChainId, vqe = () => {
|
|
|
41434
41434
|
}
|
|
41435
41435
|
});
|
|
41436
41436
|
function wqe({ children: e }) {
|
|
41437
|
-
const [t, r] =
|
|
41437
|
+
const [t, r] = We();
|
|
41438
41438
|
return /* @__PURE__ */ G.createElement(Wpe.Provider, { value: { showBalance: t, setShowBalance: r } }, e);
|
|
41439
41439
|
}
|
|
41440
41440
|
var Kpe = () => Le(Wpe);
|
|
41441
41441
|
function Eqe() {
|
|
41442
|
-
const [e, t] =
|
|
41442
|
+
const [e, t] = We(!1);
|
|
41443
41443
|
return ct(() => (t(!0), () => {
|
|
41444
41444
|
t(!1);
|
|
41445
41445
|
}), []), ln(() => e, [e]);
|
|
41446
41446
|
}
|
|
41447
41447
|
function Zpe() {
|
|
41448
|
-
const e = rc(), t =
|
|
41448
|
+
const e = rc(), t = Pa.id;
|
|
41449
41449
|
return e.some(
|
|
41450
41450
|
(n) => n.id === t
|
|
41451
41451
|
);
|
|
@@ -41457,7 +41457,7 @@ function Cqe(e) {
|
|
|
41457
41457
|
} catch {
|
|
41458
41458
|
}
|
|
41459
41459
|
}, { data: n } = R3e({
|
|
41460
|
-
chainId:
|
|
41460
|
+
chainId: Pa.id,
|
|
41461
41461
|
name: e ? r(e) : void 0,
|
|
41462
41462
|
query: {
|
|
41463
41463
|
enabled: t
|
|
@@ -41644,7 +41644,7 @@ async function Rqe({ address: e }) {
|
|
|
41644
41644
|
}
|
|
41645
41645
|
function Mqe(e) {
|
|
41646
41646
|
const t = Zpe(), { data: r } = M3e({
|
|
41647
|
-
chainId:
|
|
41647
|
+
chainId: Pa.id,
|
|
41648
41648
|
address: e,
|
|
41649
41649
|
query: {
|
|
41650
41650
|
enabled: t
|
|
@@ -41816,7 +41816,7 @@ function Ype() {
|
|
|
41816
41816
|
return e;
|
|
41817
41817
|
}
|
|
41818
41818
|
function $pe() {
|
|
41819
|
-
const e = Ype(), { address: t } = wr(), r = hU(), [n, a] =
|
|
41819
|
+
const e = Ype(), { address: t } = wr(), r = hU(), [n, a] = We(
|
|
41820
41820
|
() => e && t && r ? e.getTransactions(t, r) : []
|
|
41821
41821
|
);
|
|
41822
41822
|
return ct(() => {
|
|
@@ -41864,7 +41864,7 @@ function Lqe(e, t) {
|
|
|
41864
41864
|
};
|
|
41865
41865
|
}
|
|
41866
41866
|
var rme = () => {
|
|
41867
|
-
const [e, t] =
|
|
41867
|
+
const [e, t] = We({
|
|
41868
41868
|
height: void 0,
|
|
41869
41869
|
width: void 0
|
|
41870
41870
|
});
|
|
@@ -41883,7 +41883,7 @@ var rme = () => {
|
|
|
41883
41883
|
}
|
|
41884
41884
|
});
|
|
41885
41885
|
function Hqe({ children: e }) {
|
|
41886
|
-
const [t, r] =
|
|
41886
|
+
const [t, r] = We(null);
|
|
41887
41887
|
return /* @__PURE__ */ G.createElement(
|
|
41888
41888
|
F_.Provider,
|
|
41889
41889
|
{
|
|
@@ -42102,7 +42102,7 @@ function p_(e = !1) {
|
|
|
42102
42102
|
}
|
|
42103
42103
|
return _;
|
|
42104
42104
|
}
|
|
42105
|
-
var ime = async () => (await import("./assets-Q6ZU7ZJ5-DrI2eCWt.mjs")).default, uze = () =>
|
|
42105
|
+
var ime = async () => (await import("./assets-Q6ZU7ZJ5-DrI2eCWt.mjs")).default, uze = () => Sa(ime), lze = () => /* @__PURE__ */ G.createElement(
|
|
42106
42106
|
or,
|
|
42107
42107
|
{
|
|
42108
42108
|
background: "#d0d5de",
|
|
@@ -42111,7 +42111,7 @@ var ime = async () => (await import("./assets-Q6ZU7ZJ5-DrI2eCWt.mjs")).default,
|
|
|
42111
42111
|
src: ime,
|
|
42112
42112
|
width: "48"
|
|
42113
42113
|
}
|
|
42114
|
-
), sme = async () => (await import("./login-UP3DZBGS-BT9d537y.mjs")).default, dze = () =>
|
|
42114
|
+
), sme = async () => (await import("./login-UP3DZBGS-BT9d537y.mjs")).default, dze = () => Sa(sme), fze = () => /* @__PURE__ */ G.createElement(
|
|
42115
42115
|
or,
|
|
42116
42116
|
{
|
|
42117
42117
|
background: "#d0d5de",
|
|
@@ -42487,10 +42487,10 @@ function hze({
|
|
|
42487
42487
|
}
|
|
42488
42488
|
function bze() {
|
|
42489
42489
|
const e = rc(), t = p_(), r = VA() === "unauthenticated", n = ln(() => {
|
|
42490
|
-
|
|
42490
|
+
Sa(
|
|
42491
42491
|
...t.map((a) => a.iconUrl),
|
|
42492
42492
|
...e.map((a) => a.iconUrl).filter(Vpe)
|
|
42493
|
-
), Kt() || (uze(), dze()), r &&
|
|
42493
|
+
), Kt() || (uze(), dze()), r && Sa(cme);
|
|
42494
42494
|
}, [t, e, r]);
|
|
42495
42495
|
ct(() => {
|
|
42496
42496
|
n();
|
|
@@ -42619,7 +42619,7 @@ function tA({ children: e, onClose: t, open: r, titleId: n }) {
|
|
|
42619
42619
|
const u = (l) => r && l.key === "Escape" && t();
|
|
42620
42620
|
return document.addEventListener("keydown", u), () => document.removeEventListener("keydown", u);
|
|
42621
42621
|
}, [r, t]);
|
|
42622
|
-
const [a, o] =
|
|
42622
|
+
const [a, o] = We(!0);
|
|
42623
42623
|
ct(() => {
|
|
42624
42624
|
o(
|
|
42625
42625
|
getComputedStyle(window.document.body).overflow !== "hidden"
|
|
@@ -43057,7 +43057,7 @@ function Hze({
|
|
|
43057
43057
|
onClose: a,
|
|
43058
43058
|
onDisconnect: o
|
|
43059
43059
|
}) {
|
|
43060
|
-
const i = Le(bU), [s, c] =
|
|
43060
|
+
const i = Le(bU), [s, c] = We(!1), u = ln(() => {
|
|
43061
43061
|
e && (navigator.clipboard.writeText(e), c(!0));
|
|
43062
43062
|
}, [e]);
|
|
43063
43063
|
if (ct(() => {
|
|
@@ -43346,7 +43346,7 @@ var Kze = ({
|
|
|
43346
43346
|
), u && c < d.length - 1 && /* @__PURE__ */ G.createElement($, { background: "generalBorderDim", height: "1", marginX: "8" }));
|
|
43347
43347
|
}, Zze = Kze, Qze = "_18dqw9x0", Xze = "_18dqw9x1";
|
|
43348
43348
|
function Jze({ onClose: e, open: t }) {
|
|
43349
|
-
const { chainId: r } = wr(), { chains: n } = Zt(), [a, o] =
|
|
43349
|
+
const { chainId: r } = wr(), { chains: n } = Zt(), [a, o] = We(null), { switchChain: i } = Ife({
|
|
43350
43350
|
mutation: {
|
|
43351
43351
|
onMutate: ({ chainId: b }) => {
|
|
43352
43352
|
o(b);
|
|
@@ -43798,7 +43798,7 @@ var EO = (e, t = 1) => {
|
|
|
43798
43798
|
EO(e, 0.2),
|
|
43799
43799
|
EO(e, 0.14),
|
|
43800
43800
|
EO(e, 0.1)
|
|
43801
|
-
] : null, sFe = (e) => /^#([0-9a-f]{3}){1,2}$/i.test(e), wme = async () => (await import("./connect-UA7M4XW6-of1DMMin.mjs")).default, cFe = () =>
|
|
43801
|
+
] : null, sFe = (e) => /^#([0-9a-f]{3}){1,2}$/i.test(e), wme = async () => (await import("./connect-UA7M4XW6-of1DMMin.mjs")).default, cFe = () => Sa(wme), uFe = () => /* @__PURE__ */ G.createElement(
|
|
43802
43802
|
or,
|
|
43803
43803
|
{
|
|
43804
43804
|
background: "#515a70",
|
|
@@ -43808,7 +43808,7 @@ var EO = (e, t = 1) => {
|
|
|
43808
43808
|
src: wme,
|
|
43809
43809
|
width: "48"
|
|
43810
43810
|
}
|
|
43811
|
-
), Eme = async () => (await import("./create-FASO7PVG-BFLB5t7x.mjs")).default, Cme = () =>
|
|
43811
|
+
), Eme = async () => (await import("./create-FASO7PVG-BFLB5t7x.mjs")).default, Cme = () => Sa(Eme), lFe = () => /* @__PURE__ */ G.createElement(
|
|
43812
43812
|
or,
|
|
43813
43813
|
{
|
|
43814
43814
|
background: "#e3a5e8",
|
|
@@ -43818,7 +43818,7 @@ var EO = (e, t = 1) => {
|
|
|
43818
43818
|
src: Eme,
|
|
43819
43819
|
width: "48"
|
|
43820
43820
|
}
|
|
43821
|
-
), _me = async () => (await import("./refresh-S4T5V5GX-CoT4SMY4.mjs")).default, dFe = () =>
|
|
43821
|
+
), _me = async () => (await import("./refresh-S4T5V5GX-CoT4SMY4.mjs")).default, dFe = () => Sa(_me), fFe = () => /* @__PURE__ */ G.createElement(
|
|
43822
43822
|
or,
|
|
43823
43823
|
{
|
|
43824
43824
|
background: "#515a70",
|
|
@@ -43828,7 +43828,7 @@ var EO = (e, t = 1) => {
|
|
|
43828
43828
|
src: _me,
|
|
43829
43829
|
width: "48"
|
|
43830
43830
|
}
|
|
43831
|
-
), kme = async () => (await import("./scan-4UYSQ56Q-Bt1XXdi3.mjs")).default, xme = () =>
|
|
43831
|
+
), kme = async () => (await import("./scan-4UYSQ56Q-Bt1XXdi3.mjs")).default, xme = () => Sa(kme), pFe = () => /* @__PURE__ */ G.createElement(
|
|
43832
43832
|
or,
|
|
43833
43833
|
{
|
|
43834
43834
|
background: "#515a70",
|
|
@@ -43870,7 +43870,7 @@ function Tme({
|
|
|
43870
43870
|
},
|
|
43871
43871
|
userSelect: "none"
|
|
43872
43872
|
},
|
|
43873
|
-
/* @__PURE__ */ G.createElement(
|
|
43873
|
+
/* @__PURE__ */ G.createElement(_a.Root, { errorCorrection: e, size: s, value: o }, /* @__PURE__ */ G.createElement(_a.Cells, { radius: 1 }), /* @__PURE__ */ G.createElement(_a.Finder, { radius: 0.25 }), c && /* @__PURE__ */ G.createElement(_a.Arena, null, /* @__PURE__ */ G.createElement(
|
|
43874
43874
|
"img",
|
|
43875
43875
|
{
|
|
43876
43876
|
alt: "Wallet Logo",
|
|
@@ -43906,7 +43906,7 @@ var jme = async () => {
|
|
|
43906
43906
|
default:
|
|
43907
43907
|
return (await import("./Browser-76IHF3Y2-D5mI5yDv.mjs")).default;
|
|
43908
43908
|
}
|
|
43909
|
-
}, gFe = () =>
|
|
43909
|
+
}, gFe = () => Sa(jme), Ame = async () => {
|
|
43910
43910
|
switch (wU()) {
|
|
43911
43911
|
case "Windows":
|
|
43912
43912
|
return (await import("./Windows-PPTHQER6-8DxONxME.mjs")).default;
|
|
@@ -43917,7 +43917,7 @@ var jme = async () => {
|
|
|
43917
43917
|
default:
|
|
43918
43918
|
return (await import("./Linux-OO4TNCLJ-DjZl5oHj.mjs")).default;
|
|
43919
43919
|
}
|
|
43920
|
-
}, vFe = () =>
|
|
43920
|
+
}, vFe = () => Sa(Ame);
|
|
43921
43921
|
function wFe({
|
|
43922
43922
|
getWalletDownload: e,
|
|
43923
43923
|
compactModeEnabled: t
|
|
@@ -44814,7 +44814,7 @@ function TFe({
|
|
|
44814
44814
|
);
|
|
44815
44815
|
}
|
|
44816
44816
|
function jFe({ onClose: e }) {
|
|
44817
|
-
const t = "rk_connect_title", [r, n] =
|
|
44817
|
+
const t = "rk_connect_title", [r, n] = We(), [a, o] = We(), [i, s] = We(), c = !!a?.qrCode && i, [u, l] = We(!1), f = Le(KA) === N_.COMPACT, { disclaimer: h } = Le(z_), { i18n: b } = Le(Qt), m = yU(), g = gi(!1), { connector: C } = Le(F_), w = p_(!C).filter((K) => K.ready || !!K.extensionDownloadUrl).sort((K, Z) => K.groupIndex - Z.groupIndex), y = p_(), E = Yze(w, (K) => K.groupName), x = [
|
|
44818
44818
|
"Recommended",
|
|
44819
44819
|
"Other",
|
|
44820
44820
|
"Popular",
|
|
@@ -44870,10 +44870,10 @@ function jFe({ onClose: e }) {
|
|
|
44870
44870
|
"CONNECT"
|
|
44871
44871
|
/* Connect */
|
|
44872
44872
|
), q(K);
|
|
44873
|
-
}, [z, L] =
|
|
44873
|
+
}, [z, L] = We(
|
|
44874
44874
|
"NONE"
|
|
44875
44875
|
/* None */
|
|
44876
|
-
), [F, q] =
|
|
44876
|
+
), [F, q] = We(
|
|
44877
44877
|
"NONE"
|
|
44878
44878
|
/* None */
|
|
44879
44879
|
);
|
|
@@ -45288,7 +45288,7 @@ function OFe({ onClose: e }) {
|
|
|
45288
45288
|
(h) => h.isRainbowKitConnector
|
|
45289
45289
|
), { disclaimer: n, learnMoreUrl: a } = Le(z_);
|
|
45290
45290
|
let o = null, i = null, s = !1, c = null;
|
|
45291
|
-
const [u, l] =
|
|
45291
|
+
const [u, l] = We(
|
|
45292
45292
|
"CONNECT"
|
|
45293
45293
|
/* Connect */
|
|
45294
45294
|
), { i18n: d } = Le(Qt), f = q_();
|
|
@@ -45580,7 +45580,7 @@ function MFe({ onClose: e, open: t }) {
|
|
|
45580
45580
|
return n === "disconnected" ? /* @__PURE__ */ G.createElement(tA, { onClose: s, open: t, titleId: r }, /* @__PURE__ */ G.createElement(rA, { bottomSheetOnMobile: !0, padding: "0", wide: !0 }, /* @__PURE__ */ G.createElement(RFe, { onClose: s }))) : n === "unauthenticated" ? /* @__PURE__ */ G.createElement(tA, { onClose: i, open: t, titleId: r }, /* @__PURE__ */ G.createElement(rA, { bottomSheetOnMobile: !0, padding: "0" }, /* @__PURE__ */ G.createElement(hze, { onClose: i, onCloseModal: e }))) : null;
|
|
45581
45581
|
}
|
|
45582
45582
|
function kO() {
|
|
45583
|
-
const [e, t] =
|
|
45583
|
+
const [e, t] = We(!1);
|
|
45584
45584
|
return {
|
|
45585
45585
|
closeModal: ln(() => t(!1), []),
|
|
45586
45586
|
isModalOpen: e,
|
|
@@ -45608,7 +45608,7 @@ function UFe({ children: e }) {
|
|
|
45608
45608
|
closeModal: s,
|
|
45609
45609
|
isModalOpen: c,
|
|
45610
45610
|
openModal: u
|
|
45611
|
-
} = kO(), [l, d] =
|
|
45611
|
+
} = kO(), [l, d] = We(!1), f = pU(), { chainId: h } = wr(), { chains: b } = Zt(), m = b.some((_) => _.id === h), g = ln(
|
|
45612
45612
|
({ keepConnectModalOpen: _ = !1 } = {}) => {
|
|
45613
45613
|
_ || t(), a(), s();
|
|
45614
45614
|
},
|
|
@@ -45733,7 +45733,7 @@ function TU({
|
|
|
45733
45733
|
label: r = PC.label,
|
|
45734
45734
|
showBalance: n = PC.showBalance
|
|
45735
45735
|
}) {
|
|
45736
|
-
const a = rc(), o = pU(), { setShowBalance: i } = Kpe(), [s, c] =
|
|
45736
|
+
const a = rc(), o = pU(), { setShowBalance: i } = Kpe(), [s, c] = We(!1), { i18n: u } = Le(Qt);
|
|
45737
45737
|
return ct(() => {
|
|
45738
45738
|
i(n), s || c(!0);
|
|
45739
45739
|
}, [n, i]), s ? /* @__PURE__ */ G.createElement(xU, null, ({
|
|
@@ -48975,11 +48975,11 @@ function JDe(e, t, r, n, a) {
|
|
|
48975
48975
|
txHash: i,
|
|
48976
48976
|
chainId: e.originChainId ?? e.destinationChainId
|
|
48977
48977
|
}));
|
|
48978
|
-
|
|
48978
|
+
xa(t, (i) => {
|
|
48979
48979
|
i.internalTxHashes = o;
|
|
48980
48980
|
});
|
|
48981
48981
|
}
|
|
48982
|
-
|
|
48982
|
+
xa(t, (o) => {
|
|
48983
48983
|
o.checkStatus = "pending", o.progressState = void 0, o.isValidatingSignature = !1;
|
|
48984
48984
|
}), r({
|
|
48985
48985
|
steps: [...n.steps],
|
|
@@ -48994,7 +48994,7 @@ function YDe(e, t, r, n, a) {
|
|
|
48994
48994
|
txHash: i,
|
|
48995
48995
|
chainId: e.destinationChainId ?? e.originChainId
|
|
48996
48996
|
}));
|
|
48997
|
-
|
|
48997
|
+
xa(t, (i) => {
|
|
48998
48998
|
i.txHashes = o;
|
|
48999
48999
|
});
|
|
49000
49000
|
}
|
|
@@ -49003,11 +49003,11 @@ function YDe(e, t, r, n, a) {
|
|
|
49003
49003
|
txHash: i,
|
|
49004
49004
|
chainId: e.originChainId ?? e.destinationChainId
|
|
49005
49005
|
}));
|
|
49006
|
-
|
|
49006
|
+
xa(t, (i) => {
|
|
49007
49007
|
i.internalTxHashes = o;
|
|
49008
49008
|
});
|
|
49009
49009
|
}
|
|
49010
|
-
|
|
49010
|
+
xa(t, (o) => {
|
|
49011
49011
|
o.checkStatus = "submitted", o.progressState = void 0, o.isValidatingSignature = !1;
|
|
49012
49012
|
}), r({
|
|
49013
49013
|
steps: [...n.steps],
|
|
@@ -49022,7 +49022,7 @@ function $De(e, t, r, n, a, o) {
|
|
|
49022
49022
|
txHash: s,
|
|
49023
49023
|
chainId: e.destinationChainId ?? r
|
|
49024
49024
|
}));
|
|
49025
|
-
|
|
49025
|
+
xa(t, (s) => {
|
|
49026
49026
|
s.txHashes = i;
|
|
49027
49027
|
});
|
|
49028
49028
|
}
|
|
@@ -49031,11 +49031,11 @@ function $De(e, t, r, n, a, o) {
|
|
|
49031
49031
|
txHash: s,
|
|
49032
49032
|
chainId: e.originChainId ?? r
|
|
49033
49033
|
}));
|
|
49034
|
-
|
|
49034
|
+
xa(t, (s) => {
|
|
49035
49035
|
s.internalTxHashes = i;
|
|
49036
49036
|
});
|
|
49037
49037
|
}
|
|
49038
|
-
|
|
49038
|
+
xa(t, (i) => {
|
|
49039
49039
|
i.status = "complete", i.progressState = "complete", i.checkStatus = "success";
|
|
49040
49040
|
}), n({
|
|
49041
49041
|
steps: [...a.steps],
|
|
@@ -49045,14 +49045,14 @@ function $De(e, t, r, n, a, o) {
|
|
|
49045
49045
|
}), o.log(["WebSocket: Step completed successfully", e], Pe.Verbose);
|
|
49046
49046
|
}
|
|
49047
49047
|
function eLe(e, t, r) {
|
|
49048
|
-
e.log(["WebSocket: transaction failed"], Pe.Error),
|
|
49048
|
+
e.log(["WebSocket: transaction failed"], Pe.Error), xa(t, (a) => {
|
|
49049
49049
|
a.checkStatus = "failure";
|
|
49050
49050
|
});
|
|
49051
49051
|
const n = new Error("Transaction failed");
|
|
49052
49052
|
r?.(n);
|
|
49053
49053
|
}
|
|
49054
49054
|
function tLe(e, t, r) {
|
|
49055
|
-
e.log(["WebSocket: transaction refunded"], Pe.Verbose),
|
|
49055
|
+
e.log(["WebSocket: transaction refunded"], Pe.Verbose), xa(t, (a) => {
|
|
49056
49056
|
a.checkStatus = "refund";
|
|
49057
49057
|
});
|
|
49058
49058
|
const n = new Error("Transaction failed: Refunded");
|
|
@@ -49065,7 +49065,7 @@ function rLe(e, t, r, n) {
|
|
|
49065
49065
|
r.websocketFailureTimeoutId && r.lastKnownStatus === "failure" ? (t.log(["WebSocket: 2-second timeout expired, treating failure as terminal"], Pe.Error), r.websocketFailureTimeoutId = null, eLe(t, e, n)) : t.log(["WebSocket: Failure timeout cancelled due to status change"], Pe.Verbose);
|
|
49066
49066
|
}, 2e3);
|
|
49067
49067
|
}
|
|
49068
|
-
function
|
|
49068
|
+
function xa(e, t) {
|
|
49069
49069
|
e.forEach((r) => {
|
|
49070
49070
|
r.status === "incomplete" && t(r);
|
|
49071
49071
|
});
|
|
@@ -49589,7 +49589,7 @@ const oLe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
49589
49589
|
}, Symbol.toStringTag, { value: "Module" })), iLe = "3.2.0";
|
|
49590
49590
|
let SC;
|
|
49591
49591
|
const sLe = [
|
|
49592
|
-
|
|
49592
|
+
Pa,
|
|
49593
49593
|
Au,
|
|
49594
49594
|
Tpe,
|
|
49595
49595
|
l_,
|
|
@@ -50157,18 +50157,18 @@ function tr() {
|
|
|
50157
50157
|
function Be(p) {
|
|
50158
50158
|
return ot(p) && p.match(/^(0x)?[0-9a-f]+$/i) !== null;
|
|
50159
50159
|
}
|
|
50160
|
-
const Ze = "!@#$%^&*()_+-=[]{}|;:<>?,./", Jt = "!@#$%^&*()_+-=[]{}|;:<>?,./".split(""),
|
|
50160
|
+
const Ze = "!@#$%^&*()_+-=[]{}|;:<>?,./", Jt = "!@#$%^&*()_+-=[]{}|;:<>?,./".split(""), zt = "abcdefghijklmnopqrstuvwxyz", He = "ABCDEFGHIJKLMNOPQRSTUVWXYZ", Ue = "1234567890", Ft = zt + He + Ue, gn = Ft + Ze, vn = ["—", "\\", "東", "京", "都", "𝖆", "𝖇", "𝖈", "👾", "🙇", "💁", "🙅", "ᚠ", "ᛇ", "ᚻ", "ᛦ"], sa = "0123456789abcdef";
|
|
50161
50161
|
function Bi(p, v = Math.random) {
|
|
50162
50162
|
let T = "";
|
|
50163
|
-
for (let B = 0; B < p; B++) T +=
|
|
50163
|
+
for (let B = 0; B < p; B++) T += zt[Math.floor(v() * zt.length)];
|
|
50164
50164
|
return T;
|
|
50165
50165
|
}
|
|
50166
50166
|
function Oi(p, v = Math.random) {
|
|
50167
50167
|
let T = "";
|
|
50168
|
-
for (let B = 0; B < p; B++) T +=
|
|
50168
|
+
for (let B = 0; B < p; B++) T += Ft[Math.floor(v() * Ft.length)];
|
|
50169
50169
|
return T;
|
|
50170
50170
|
}
|
|
50171
|
-
function
|
|
50171
|
+
function Ua(p, v = Math.random) {
|
|
50172
50172
|
let T = "";
|
|
50173
50173
|
for (let B = 0; B < p; B++) T += gn[Math.floor(v() * gn.length)];
|
|
50174
50174
|
return T;
|
|
@@ -50178,7 +50178,7 @@ function tr() {
|
|
|
50178
50178
|
for (let B = 0; B < p; B++) T += vn[Math.floor(v() * vn.length)];
|
|
50179
50179
|
return T;
|
|
50180
50180
|
}
|
|
50181
|
-
function
|
|
50181
|
+
function qa(p, v) {
|
|
50182
50182
|
const T = new RegExp(`[0-9a-f]{${v}}`, "i"), B = p.match(T);
|
|
50183
50183
|
return B ? B[0] : null;
|
|
50184
50184
|
}
|
|
@@ -50245,7 +50245,7 @@ function tr() {
|
|
|
50245
50245
|
function qi(p) {
|
|
50246
50246
|
return Rt(p) ? null : p;
|
|
50247
50247
|
}
|
|
50248
|
-
function
|
|
50248
|
+
function za(p, v) {
|
|
50249
50249
|
if (!ot(p)) throw new TypeError(`Expected string${v?.name ? ` for ${v.name}` : ""}, got: ` + p);
|
|
50250
50250
|
return p;
|
|
50251
50251
|
}
|
|
@@ -50284,11 +50284,11 @@ function tr() {
|
|
|
50284
50284
|
if (!B.every(ot) || !W.every(ft)) throw new TypeError(`Expected numeric dictionary${v?.name ? ` for ${v.name}` : ""}, got: ` + p);
|
|
50285
50285
|
return T;
|
|
50286
50286
|
}
|
|
50287
|
-
function
|
|
50287
|
+
function Fa(p) {
|
|
50288
50288
|
return ot(p) && p.match(/^https?:\/\/.+/) !== null;
|
|
50289
50289
|
}
|
|
50290
50290
|
function hc(p, v) {
|
|
50291
|
-
if (!
|
|
50291
|
+
if (!Fa(p)) throw new TypeError(`Expected url${v?.name ? ` for ${v.name}` : ""}, got: ` + p);
|
|
50292
50292
|
return p;
|
|
50293
50293
|
}
|
|
50294
50294
|
function bc(p) {
|
|
@@ -50319,7 +50319,7 @@ function tr() {
|
|
|
50319
50319
|
function ol(p, v) {
|
|
50320
50320
|
return p.every((T) => vc(T, v));
|
|
50321
50321
|
}
|
|
50322
|
-
function
|
|
50322
|
+
function Na(p, v = "json", T = 0) {
|
|
50323
50323
|
if (p && gt(p.represent)) {
|
|
50324
50324
|
const B = p.represent();
|
|
50325
50325
|
if (ot(B)) return v === "json" && T === 0 ? JSON.stringify(B) : B;
|
|
@@ -50328,16 +50328,16 @@ function tr() {
|
|
|
50328
50328
|
if (T > 1) return "[object Object]";
|
|
50329
50329
|
if (v === "json") {
|
|
50330
50330
|
if (Array.isArray(p)) {
|
|
50331
|
-
const W = p.map((X) =>
|
|
50331
|
+
const W = p.map((X) => Na(X, "json", T + 1));
|
|
50332
50332
|
return T === 0 ? JSON.stringify(W) : W;
|
|
50333
50333
|
}
|
|
50334
50334
|
const B = {};
|
|
50335
|
-
p.message && (B.message =
|
|
50336
|
-
for (const [W, X] of Object.entries(p)) B[W] =
|
|
50335
|
+
p.message && (B.message = Na(p.message, "json", T + 1));
|
|
50336
|
+
for (const [W, X] of Object.entries(p)) B[W] = Na(X, "json", T + 1);
|
|
50337
50337
|
return T === 0 ? JSON.stringify(B) : B;
|
|
50338
50338
|
} else if (v === "key-value") {
|
|
50339
50339
|
const B = Object.keys(p);
|
|
50340
|
-
return p.message && !B.includes("message") && B.unshift("message"), B.map((W) => `${W}=${JSON.stringify(
|
|
50340
|
+
return p.message && !B.includes("message") && B.unshift("message"), B.map((W) => `${W}=${JSON.stringify(Na(p[W], "json", T + 1))}`).join(" ");
|
|
50341
50341
|
}
|
|
50342
50342
|
}
|
|
50343
50343
|
return jt(p) && (p = "undefined"), T === 0 ? JSON.stringify(p) : p;
|
|
@@ -50895,8 +50895,8 @@ function tr() {
|
|
|
50895
50895
|
for (let ie = 0; ie < p.length; ie++) {
|
|
50896
50896
|
const me = p[ie], fe = T[me] || 1;
|
|
50897
50897
|
if (W += me, X += fe, X > v) {
|
|
50898
|
-
const { line: je, rest:
|
|
50899
|
-
B.push(je), W =
|
|
50898
|
+
const { line: je, rest: Nt } = q5(W);
|
|
50899
|
+
B.push(je), W = Nt, X = Nt.split("").map((cr) => T[cr] || 1).reduce((cr, Zo) => cr + Zo, 0);
|
|
50900
50900
|
}
|
|
50901
50901
|
}
|
|
50902
50902
|
return W && B.push(W), B;
|
|
@@ -51106,16 +51106,16 @@ function tr() {
|
|
|
51106
51106
|
const B = Math.floor(p / 1e3);
|
|
51107
51107
|
return v ? `${En(v)}:${En(T)}:${En(B)}` : `${En(T)}:${En(B)}`;
|
|
51108
51108
|
}
|
|
51109
|
-
function
|
|
51109
|
+
function Da(p) {
|
|
51110
51110
|
return Math.floor((Tt(p) ? p.getTime() : p) / 864e5);
|
|
51111
51111
|
}
|
|
51112
51112
|
const GS = { today: (p, v) => En(p) + ":" + En(v), yesterday: () => "Yesterday", monday: () => "Mon", tuesday: () => "Tue", wednesday: () => "Wed", thursday: () => "Thu", friday: () => "Fri", saturday: () => "Sat", sunday: () => "Sun", weeks: (p) => `${p}w` };
|
|
51113
51113
|
function VS(p, v) {
|
|
51114
51114
|
const T = new Date(v?.now || Date.now()), B = v?.labels || GS, W = Tt(p) ? p : new Date(p);
|
|
51115
|
-
if (
|
|
51116
|
-
if (
|
|
51115
|
+
if (Da(T) === Da(W)) return B.today(W.getUTCHours(), W.getUTCMinutes(), W.getUTCHours() > 12);
|
|
51116
|
+
if (Da(T) - Da(W) === 1) return B.yesterday();
|
|
51117
51117
|
const X = Nl(W);
|
|
51118
|
-
return
|
|
51118
|
+
return Da(T) - Da(W) < 7 ? B[X.day]() : B.weeks(Math.round((T.getTime() - W.getTime()) / 6048e5));
|
|
51119
51119
|
}
|
|
51120
51120
|
const L5 = { now: () => "A few seconds", seconds: (p) => `${p} seconds`, minutes: (p) => `${p} minutes`, hours: (p) => `${p} hours`, days: (p) => `${p} days`, weeks: (p) => `${p} weeks` };
|
|
51121
51121
|
function H5(p, v) {
|
|
@@ -51233,18 +51233,18 @@ function tr() {
|
|
|
51233
51233
|
}
|
|
51234
51234
|
function K5(p) {
|
|
51235
51235
|
const v = Object.keys(p).sort((B, W) => B.localeCompare(W)), T = {};
|
|
51236
|
-
for (const B of v) T[B] =
|
|
51236
|
+
for (const B of v) T[B] = La(p[B]);
|
|
51237
51237
|
return T;
|
|
51238
51238
|
}
|
|
51239
51239
|
function Z5(p) {
|
|
51240
51240
|
const v = [];
|
|
51241
|
-
return p.sort((T, B) => JSON.stringify(
|
|
51241
|
+
return p.sort((T, B) => JSON.stringify(La(T)).localeCompare(JSON.stringify(La(B)))).forEach((T) => v.push(La(T))), v;
|
|
51242
51242
|
}
|
|
51243
|
-
function
|
|
51243
|
+
function La(p) {
|
|
51244
51244
|
return Array.isArray(p) ? Z5(p) : be(p) ? K5(p) : p;
|
|
51245
51245
|
}
|
|
51246
51246
|
function Q5(p, v) {
|
|
51247
|
-
return JSON.stringify(
|
|
51247
|
+
return JSON.stringify(La(p)) === JSON.stringify(La(v));
|
|
51248
51248
|
}
|
|
51249
51249
|
function b9(...p) {
|
|
51250
51250
|
for (let v = 1; v < p.length; v++) if (!Q5(p[v - 1], p[v])) return !1;
|
|
@@ -51401,8 +51401,8 @@ function tr() {
|
|
|
51401
51401
|
for (let me = 0; me < B; me++) {
|
|
51402
51402
|
const fe = {};
|
|
51403
51403
|
for (let je = 0; je < v.length; je++) {
|
|
51404
|
-
const
|
|
51405
|
-
fe[v[je]] =
|
|
51404
|
+
const Nt = p[v[je]], cr = Math.floor(me / X[je]) % Nt.length;
|
|
51405
|
+
fe[v[je]] = Nt[cr];
|
|
51406
51406
|
}
|
|
51407
51407
|
ie.push(fe);
|
|
51408
51408
|
}
|
|
@@ -51633,15 +51633,15 @@ function tr() {
|
|
|
51633
51633
|
}), p.forEach((fe) => {
|
|
51634
51634
|
const je = X.get(fe[v]);
|
|
51635
51635
|
if (!je) return;
|
|
51636
|
-
const
|
|
51637
|
-
if (
|
|
51638
|
-
const cr = X.get(
|
|
51636
|
+
const Nt = fe[T];
|
|
51637
|
+
if (Nt) {
|
|
51638
|
+
const cr = X.get(Nt);
|
|
51639
51639
|
cr && cr.children.push(je);
|
|
51640
51640
|
} else ie.push(je);
|
|
51641
51641
|
});
|
|
51642
51642
|
const me = (fe) => {
|
|
51643
|
-
fe.children.sort((je,
|
|
51644
|
-
const cr = je.value[B], Zo =
|
|
51643
|
+
fe.children.sort((je, Nt) => {
|
|
51644
|
+
const cr = je.value[B], Zo = Nt.value[B];
|
|
51645
51645
|
return W ? Zo - cr : cr - Zo;
|
|
51646
51646
|
}), fe.children.forEach(me);
|
|
51647
51647
|
};
|
|
@@ -51739,7 +51739,7 @@ function tr() {
|
|
|
51739
51739
|
const ck = [0, 1, 0, 32898, 2147483648, 32906, 2147483648, 2147516416, 0, 32907, 0, 2147483649, 2147483648, 2147516545, 2147483648, 32777, 0, 138, 0, 136, 0, 2147516425, 0, 2147483658, 0, 2147516555, 2147483648, 139, 2147483648, 32905, 2147483648, 32771, 2147483648, 32770, 2147483648, 128, 0, 32778, 2147483648, 2147483658, 2147483648, 2147516545, 2147483648, 32896, 0, 2147483649, 2147483648, 2147516424];
|
|
51740
51740
|
function j4(p) {
|
|
51741
51741
|
for (let v = 0; v < 24; v++) {
|
|
51742
|
-
const T = p[0] ^ p[10] ^ p[20] ^ p[30] ^ p[40], B = p[1] ^ p[11] ^ p[21] ^ p[31] ^ p[41], W = p[2] ^ p[12] ^ p[22] ^ p[32] ^ p[42], X = p[3] ^ p[13] ^ p[23] ^ p[33] ^ p[43], ie = p[4] ^ p[14] ^ p[24] ^ p[34] ^ p[44], me = p[5] ^ p[15] ^ p[25] ^ p[35] ^ p[45], fe = p[6] ^ p[16] ^ p[26] ^ p[36] ^ p[46], je = p[7] ^ p[17] ^ p[27] ^ p[37] ^ p[47],
|
|
51742
|
+
const T = p[0] ^ p[10] ^ p[20] ^ p[30] ^ p[40], B = p[1] ^ p[11] ^ p[21] ^ p[31] ^ p[41], W = p[2] ^ p[12] ^ p[22] ^ p[32] ^ p[42], X = p[3] ^ p[13] ^ p[23] ^ p[33] ^ p[43], ie = p[4] ^ p[14] ^ p[24] ^ p[34] ^ p[44], me = p[5] ^ p[15] ^ p[25] ^ p[35] ^ p[45], fe = p[6] ^ p[16] ^ p[26] ^ p[36] ^ p[46], je = p[7] ^ p[17] ^ p[27] ^ p[37] ^ p[47], Nt = p[8] ^ p[18] ^ p[28] ^ p[38] ^ p[48], cr = p[9] ^ p[19] ^ p[29] ^ p[39] ^ p[49], Zo = W << 1 | X >>> 31, pB = X << 1 | W >>> 31, Qi = Nt ^ Zo, Xi = cr ^ pB, mB = ie << 1 | me >>> 31, hB = me << 1 | ie >>> 31, Ji = T ^ mB, Yi = B ^ hB, bB = fe << 1 | je >>> 31, yB = je << 1 | fe >>> 31, $i = W ^ bB, es = X ^ yB, gB = Nt << 1 | cr >>> 31, vB = cr << 1 | Nt >>> 31, ts = ie ^ gB, rs = me ^ vB, wB = T << 1 | B >>> 31, EB = B << 1 | T >>> 31, ns = fe ^ wB, as = je ^ EB;
|
|
51743
51743
|
p[0] ^= Qi, p[1] ^= Xi, p[2] ^= Ji, p[3] ^= Yi, p[4] ^= $i, p[5] ^= es, p[6] ^= ts, p[7] ^= rs, p[8] ^= ns, p[9] ^= as, p[10] ^= Qi, p[11] ^= Xi, p[12] ^= Ji, p[13] ^= Yi, p[14] ^= $i, p[15] ^= es, p[16] ^= ts, p[17] ^= rs, p[18] ^= ns, p[19] ^= as, p[20] ^= Qi, p[21] ^= Xi, p[22] ^= Ji, p[23] ^= Yi, p[24] ^= $i, p[25] ^= es, p[26] ^= ts, p[27] ^= rs, p[28] ^= ns, p[29] ^= as, p[30] ^= Qi, p[31] ^= Xi, p[32] ^= Ji, p[33] ^= Yi, p[34] ^= $i, p[35] ^= es, p[36] ^= ts, p[37] ^= rs, p[38] ^= ns, p[39] ^= as, p[40] ^= Qi, p[41] ^= Xi, p[42] ^= Ji, p[43] ^= Yi, p[44] ^= $i, p[45] ^= es, p[46] ^= ts, p[47] ^= rs, p[48] ^= ns, p[49] ^= as;
|
|
51744
51744
|
const Yl = p[0], $l = p[1], ed = p[2] << 1 | p[3] >>> 31, td = p[3] << 1 | p[2] >>> 31, rd = p[5] << 30 | p[4] >>> 2, nd = p[4] << 30 | p[5] >>> 2, ad = p[6] << 28 | p[7] >>> 4, od = p[7] << 28 | p[6] >>> 4, id = p[8] << 27 | p[9] >>> 5, sd = p[9] << 27 | p[8] >>> 5, cd = p[11] << 4 | p[10] >>> 28, ud = p[10] << 4 | p[11] >>> 28, ld = p[13] << 12 | p[12] >>> 20, dd = p[12] << 12 | p[13] >>> 20, fd = p[14] << 6 | p[15] >>> 26, pd = p[15] << 6 | p[14] >>> 26, md = p[17] << 23 | p[16] >>> 9, hd = p[16] << 23 | p[17] >>> 9, bd = p[18] << 20 | p[19] >>> 12, yd = p[19] << 20 | p[18] >>> 12, gd = p[20] << 3 | p[21] >>> 29, vd = p[21] << 3 | p[20] >>> 29, wd = p[22] << 10 | p[23] >>> 22, Ed = p[23] << 10 | p[22] >>> 22, Cd = p[25] << 11 | p[24] >>> 21, _d = p[24] << 11 | p[25] >>> 21, kd = p[26] << 25 | p[27] >>> 7, xd = p[27] << 25 | p[26] >>> 7, Td = p[29] << 7 | p[28] >>> 25, jd = p[28] << 7 | p[29] >>> 25, Ad = p[31] << 9 | p[30] >>> 23, Pd = p[30] << 9 | p[31] >>> 23, Sd = p[33] << 13 | p[32] >>> 19, Bd = p[32] << 13 | p[33] >>> 19, Od = p[34] << 15 | p[35] >>> 17, Id = p[35] << 15 | p[34] >>> 17, Rd = p[36] << 21 | p[37] >>> 11, Md = p[37] << 21 | p[36] >>> 11, Ud = p[38] << 8 | p[39] >>> 24, qd = p[39] << 8 | p[38] >>> 24, zd = p[40] << 18 | p[41] >>> 14, Fd = p[41] << 18 | p[40] >>> 14, Nd = p[42] << 2 | p[43] >>> 30, Dd = p[43] << 2 | p[42] >>> 30, Ld = p[45] << 29 | p[44] >>> 3, Hd = p[44] << 29 | p[45] >>> 3, Gd = p[47] << 24 | p[46] >>> 8, Vd = p[46] << 24 | p[47] >>> 8, Wd = p[48] << 14 | p[49] >>> 18, Kd = p[49] << 14 | p[48] >>> 18;
|
|
51745
51745
|
p[0] = Yl ^ ~ld & Cd, p[1] = $l ^ ~dd & _d, p[2] = ld ^ ~Cd & Rd, p[3] = dd ^ ~_d & Md, p[4] = Cd ^ ~Rd & Wd, p[5] = _d ^ ~Md & Kd, p[6] = Rd ^ ~Wd & Yl, p[7] = Md ^ ~Kd & $l, p[8] = Wd ^ ~Yl & ld, p[9] = Kd ^ ~$l & dd, p[10] = ad ^ ~bd & gd, p[11] = od ^ ~yd & vd, p[12] = bd ^ ~gd & Sd, p[13] = yd ^ ~vd & Bd, p[14] = gd ^ ~Sd & Ld, p[15] = vd ^ ~Bd & Hd, p[16] = Sd ^ ~Ld & ad, p[17] = Bd ^ ~Hd & od, p[18] = Ld ^ ~ad & bd, p[19] = Hd ^ ~od & yd, p[20] = ed ^ ~fd & kd, p[21] = td ^ ~pd & xd, p[22] = fd ^ ~kd & Ud, p[23] = pd ^ ~xd & qd, p[24] = kd ^ ~Ud & zd, p[25] = xd ^ ~qd & Fd, p[26] = Ud ^ ~zd & ed, p[27] = qd ^ ~Fd & td, p[28] = zd ^ ~ed & fd, p[29] = Fd ^ ~td & pd, p[30] = id ^ ~cd & wd, p[31] = sd ^ ~ud & Ed, p[32] = cd ^ ~wd & Od, p[33] = ud ^ ~Ed & Id, p[34] = wd ^ ~Od & Gd, p[35] = Ed ^ ~Id & Vd, p[36] = Od ^ ~Gd & id, p[37] = Id ^ ~Vd & sd, p[38] = Gd ^ ~id & cd, p[39] = Vd ^ ~sd & ud, p[40] = rd ^ ~md & Td, p[41] = nd ^ ~hd & jd, p[42] = md ^ ~Td & Ad, p[43] = hd ^ ~jd & Pd, p[44] = Td ^ ~Ad & Nd, p[45] = jd ^ ~Pd & Dd, p[46] = Ad ^ ~Nd & rd, p[47] = Pd ^ ~Dd & nd, p[48] = Nd ^ ~rd & md, p[49] = Dd ^ ~nd & hd, p[0] ^= ck[v * 2], p[1] ^= ck[v * 2 + 1];
|
|
@@ -51889,7 +51889,7 @@ function tr() {
|
|
|
51889
51889
|
}
|
|
51890
51890
|
function N4(p) {
|
|
51891
51891
|
if (p <= 0n || p >= Gt) throw new Error("Invalid private key");
|
|
51892
|
-
return
|
|
51892
|
+
return Ha(Pc, Sc, p, rr);
|
|
51893
51893
|
}
|
|
51894
51894
|
function D4(p) {
|
|
51895
51895
|
const v = p[1] % 2n === 0n ? 2 : 3;
|
|
@@ -51912,7 +51912,7 @@ function tr() {
|
|
|
51912
51912
|
for (let W = 0; W < v.length; W++) parseInt(T[W], 16) > 7 ? B += v[W].toUpperCase() : B += v[W];
|
|
51913
51913
|
return B;
|
|
51914
51914
|
}
|
|
51915
|
-
function
|
|
51915
|
+
function Ha(p, v, T, B) {
|
|
51916
51916
|
let W = [0n, 0n], X = [p, v];
|
|
51917
51917
|
const ie = T.toString(2);
|
|
51918
51918
|
for (const me of ie) me === "0" ? (X = Bc(W[0], W[1], X[0], X[1], B), W = Wl(W[0], W[1], B)) : (W = Bc(W[0], W[1], X[0], X[1], B), X = Wl(X[0], X[1], B));
|
|
@@ -51924,7 +51924,7 @@ function tr() {
|
|
|
51924
51924
|
function bk(p, v, T) {
|
|
51925
51925
|
if (v <= 0n || v >= Gt) throw new Error("Invalid private key");
|
|
51926
51926
|
if (T || (T = pt(Ko(pa(Vo(pa(Wo(v, "BE")), Wo(p, "BE"))), "BE"), Gt)), T <= 0n || T >= Gt) throw new Error("Invalid nonce");
|
|
51927
|
-
const B = pt(p, Gt), W =
|
|
51927
|
+
const B = pt(p, Gt), W = Ha(Pc, Sc, T, rr), X = pt(W[0], Gt);
|
|
51928
51928
|
let ie = pt((B + pt(X, Gt) * v) * Ki(T, Gt), Gt);
|
|
51929
51929
|
if (X === 0n || ie === 0n) throw new Error("Invalid r or s value");
|
|
51930
51930
|
let me = W[1] % 2n === 0n ? 27n : 28n;
|
|
@@ -51933,12 +51933,12 @@ function tr() {
|
|
|
51933
51933
|
function W4(p, v, T, B) {
|
|
51934
51934
|
const W = hk(pt(v ** 3n + 7n, rr), rr);
|
|
51935
51935
|
if (!W) throw new Error("Invalid r: does not correspond to a valid curve point");
|
|
51936
|
-
const X = B === 27n ? 0n : 1n, ie = W % 2n === X ? W : rr - W, me = pt(Ko(pa(p), "BE"), Gt), fe =
|
|
51937
|
-
return
|
|
51936
|
+
const X = B === 27n ? 0n : 1n, ie = W % 2n === X ? W : rr - W, me = pt(Ko(pa(p), "BE"), Gt), fe = Ha(v, ie, T, rr), je = Ha(Pc, Sc, me, rr), Nt = Bc(fe[0], fe[1], je[0], pt(-je[1], rr), rr);
|
|
51937
|
+
return Ha(Nt[0], Nt[1], Ki(v, Gt), rr);
|
|
51938
51938
|
}
|
|
51939
51939
|
function K4(p, v, T, B) {
|
|
51940
|
-
const W = pt(Ko(pa(p), "BE"), Gt), X = Ki(B, Gt), ie = pt(W * X, Gt), me = pt(T * X, Gt), fe =
|
|
51941
|
-
return T === pt(
|
|
51940
|
+
const W = pt(Ko(pa(p), "BE"), Gt), X = Ki(B, Gt), ie = pt(W * X, Gt), me = pt(T * X, Gt), fe = Ha(Pc, Sc, ie, rr), je = Ha(v[0], v[1], me, rr), Nt = Bc(fe[0], fe[1], je[0], je[1], rr);
|
|
51941
|
+
return T === pt(Nt[0], Gt);
|
|
51942
51942
|
}
|
|
51943
51943
|
class yk {
|
|
51944
51944
|
constructor(v) {
|
|
@@ -52374,7 +52374,7 @@ function tr() {
|
|
|
52374
52374
|
await this.unlockFunction();
|
|
52375
52375
|
}
|
|
52376
52376
|
}
|
|
52377
|
-
e.Lock = fB, e.Binary = { hexToUint8Array: sS, uint8ArrayToHex: cS, binaryToUint8Array: lS, uint8ArrayToBinary: uS, base64ToUint8Array: nS, uint8ArrayToBase64: aS, base32ToUint8Array: oS, uint8ArrayToBase32: iS, log2Reduce: ak, partition: Vl, concatBytes: Vo, numberToUint8: v4, uint8ToNumber: w4, numberToUint16: E4, uint16ToNumber: C4, numberToUint32: _4, uint32ToNumber: k4, numberToUint64: Gl, uint64ToNumber: x4, numberToUint256: Wo, uint256ToNumber: Ko, sliceBytes: T4, keccak256: pa, sha3_256: A4, proximity: P4, commonPrefix: S4, setBit: B4, getBit: O4, indexOf: I4, equals: z4, padStart: pk, padStartToMultiple: R4, padEnd: mk, padEndToMultiple: M4, xorCypher: U4, isUtf8: q4 }, e.Elliptic = { privateKeyToPublicKey: N4, compressPublicKey: D4, publicKeyFromCompressed: L4, publicKeyToAddress: H4, signMessage: V4, signHash: bk, verifySignature: K4, recoverPublicKey: W4, checksumEncode: G4 }, e.Random = { intBetween: _, floatBetween: w, chance: P, signed: y, makeSeededRng: C, point: x, procs: k }, e.Arrays = { countUnique: $9, makeUnique: Y9, splitBySize: X9, splitByCount: ek, index: $5, indexCollection: Q9, onlyOrThrow: s, onlyOrNull: c, firstOrThrow: l, firstOrNull: u, shuffle: i, initialize: d, initialize2D: h, rotate2D: f, containsShape: b, glue: fl, pluck: g, pick: j, pickMany: A, pickManyUnique: I, pickWeighted: F, pickRandomIndices: m, pickGuaranteed: O, last: S, pipe: z, makePipe: L, sortWeighted: q, pushAll: zo, unshiftAll: ll, filterAndRemove: US, merge: O9, empty: I9, pushToBucket: cl, unshiftAndLimit: ul, atRolling: Cc, group: Hl, createOscillator: v9, organiseWithLimits: E9, tickPlaybook: Z4, getArgument: Oc, getBooleanArgument: X4, getNumberArgument: Q4, requireStringArgument: vk, requireNumberArgument: J4, bringToFront: Y4, bringToFrontInPlace: wk, findInstance: f4, filterInstances: p4, interleave: m4, toggle: h4, createHierarchy: y4, multicall: l4, maxBy: d4 }, e.System = { sleepMillis: o, forever: Z, scheduleMany: yl, waitFor: MS, expandError: il, runAndSetInterval: J, whereAmI: Y, withRetries: ne }, e.Numbers = { make: Dl, sum: vl, average: wl, median: El, getDistanceFromMidpoint: Cl, clamp: Ll, range: Fo, interpolate: gl, createSequence: g9, increment: A9, decrement: P9, format: j9, fromDecimals: T9, makeStorage: i9, asMegabytes: te, convertBytes: oe, hexToRgb: ae, rgbToHex: we, haversineDistanceToMeters: le, roundToNearest: de, formatDistance: he, triangularNumber: ge, searchFloat: Ee, binomialSample: ke, toSignificantDigits: qe }, e.Promises = { raceFulfilled: n, invert: r, runInParallelBatches: a }, e.Dates = { getTimestamp: VS, getTimeDelta: H5, secondsToHumanTime: WS, countCycles: KS, isoDate: FS, throttle: ZS, timeSince: XS, dateTimeSlug: NS, unixTimestamp: zS, fromUtcString: DS, fromMillis: LS, getProgress: JS, humanizeTime: jc, humanizeProgress: RS, createTimeDigits: En, mapDayNumber: G5, getDayInfoFromDate: Nl, getDayInfoFromDateTimeString: $S, seconds: e9, minutes: t9, hours: r9, days: V5, make: a9, normalizeTime: HS, absoluteDays:
|
|
52377
|
+
e.Lock = fB, e.Binary = { hexToUint8Array: sS, uint8ArrayToHex: cS, binaryToUint8Array: lS, uint8ArrayToBinary: uS, base64ToUint8Array: nS, uint8ArrayToBase64: aS, base32ToUint8Array: oS, uint8ArrayToBase32: iS, log2Reduce: ak, partition: Vl, concatBytes: Vo, numberToUint8: v4, uint8ToNumber: w4, numberToUint16: E4, uint16ToNumber: C4, numberToUint32: _4, uint32ToNumber: k4, numberToUint64: Gl, uint64ToNumber: x4, numberToUint256: Wo, uint256ToNumber: Ko, sliceBytes: T4, keccak256: pa, sha3_256: A4, proximity: P4, commonPrefix: S4, setBit: B4, getBit: O4, indexOf: I4, equals: z4, padStart: pk, padStartToMultiple: R4, padEnd: mk, padEndToMultiple: M4, xorCypher: U4, isUtf8: q4 }, e.Elliptic = { privateKeyToPublicKey: N4, compressPublicKey: D4, publicKeyFromCompressed: L4, publicKeyToAddress: H4, signMessage: V4, signHash: bk, verifySignature: K4, recoverPublicKey: W4, checksumEncode: G4 }, e.Random = { intBetween: _, floatBetween: w, chance: P, signed: y, makeSeededRng: C, point: x, procs: k }, e.Arrays = { countUnique: $9, makeUnique: Y9, splitBySize: X9, splitByCount: ek, index: $5, indexCollection: Q9, onlyOrThrow: s, onlyOrNull: c, firstOrThrow: l, firstOrNull: u, shuffle: i, initialize: d, initialize2D: h, rotate2D: f, containsShape: b, glue: fl, pluck: g, pick: j, pickMany: A, pickManyUnique: I, pickWeighted: F, pickRandomIndices: m, pickGuaranteed: O, last: S, pipe: z, makePipe: L, sortWeighted: q, pushAll: zo, unshiftAll: ll, filterAndRemove: US, merge: O9, empty: I9, pushToBucket: cl, unshiftAndLimit: ul, atRolling: Cc, group: Hl, createOscillator: v9, organiseWithLimits: E9, tickPlaybook: Z4, getArgument: Oc, getBooleanArgument: X4, getNumberArgument: Q4, requireStringArgument: vk, requireNumberArgument: J4, bringToFront: Y4, bringToFrontInPlace: wk, findInstance: f4, filterInstances: p4, interleave: m4, toggle: h4, createHierarchy: y4, multicall: l4, maxBy: d4 }, e.System = { sleepMillis: o, forever: Z, scheduleMany: yl, waitFor: MS, expandError: il, runAndSetInterval: J, whereAmI: Y, withRetries: ne }, e.Numbers = { make: Dl, sum: vl, average: wl, median: El, getDistanceFromMidpoint: Cl, clamp: Ll, range: Fo, interpolate: gl, createSequence: g9, increment: A9, decrement: P9, format: j9, fromDecimals: T9, makeStorage: i9, asMegabytes: te, convertBytes: oe, hexToRgb: ae, rgbToHex: we, haversineDistanceToMeters: le, roundToNearest: de, formatDistance: he, triangularNumber: ge, searchFloat: Ee, binomialSample: ke, toSignificantDigits: qe }, e.Promises = { raceFulfilled: n, invert: r, runInParallelBatches: a }, e.Dates = { getTimestamp: VS, getTimeDelta: H5, secondsToHumanTime: WS, countCycles: KS, isoDate: FS, throttle: ZS, timeSince: XS, dateTimeSlug: NS, unixTimestamp: zS, fromUtcString: DS, fromMillis: LS, getProgress: JS, humanizeTime: jc, humanizeProgress: RS, createTimeDigits: En, mapDayNumber: G5, getDayInfoFromDate: Nl, getDayInfoFromDateTimeString: $S, seconds: e9, minutes: t9, hours: r9, days: V5, make: a9, normalizeTime: HS, absoluteDays: Da }, e.Objects = { safeParse: y9, deleteDeep: V, getDeep: H, setDeep: N, incrementDeep: D, ensureDeep: U, replaceDeep: Q, getFirstDeep: K, deepMergeInPlace: Dn, deepMerge2: Hi, deepMerge3: sl, mapAllAsync: dl, cloneWithJson: qS, sortObject: K5, sortArray: Z5, sortAny: La, deepEquals: Q5, deepEqualsEvery: b9, runOn: S9, ifPresent: B9, zip: wc, zipSum: Ec, removeEmptyArrays: R9, removeEmptyValues: M9, flatten: K9, unflatten: Y5, match: Z9, sort: rk, map: z9, mapIterable: F9, filterKeys: U9, filterValues: q9, rethrow: N9, setSomeOnObject: D9, setSomeDeep: L9, flip: H9, getAllPermutations: G9, countTruthyValues: V9, transformToArray: e4, setMulti: r4, incrementMulti: t4, createBidirectionalMap: n4, createTemporalBidirectionalMap: a4, pushToBidirectionalMap: nk, unshiftToBidirectionalMap: o4, addToTemporalBidirectionalMap: i4, getFromTemporalBidirectionalMap: s4, createStatefulToggle: w9, diffKeys: C9, pickRandomKey: X5, mapRandomKey: _9, fromObjectString: k9, toQueryString: D5, parseQueryString: xS, hasKey: TS, selectMax: jS, reposition: AS, unwrapSingleKey: PS, parseKeyValues: SS, errorMatches: BS }, e.Types = { isFunction: gt, isObject: be, isStrictlyObject: ue, isEmptyArray: Je, isEmptyObject: nt, isUndefined: jt, isString: ot, isNumber: ft, isBoolean: Ye, isDate: Tt, isBlank: Rt, isId: ze, isIntegerString: Ne, isHexString: Be, isUrl: Fa, isBigint: bc, isNullable: yc, asString: Mo, asHexString: zn, asSafeString: Fn, asIntegerString: qn, asNumber: Nn, asFunction: Mi, asInteger: wn, asBoolean: Ui, asDate: Uo, asNullableString: qi, asEmptiableString: za, asId: qo, asTime: ua, asArray: zi, asObject: la, asNullableObject: Fi, asStringMap: Ni, asNumericDictionary: Di, asUrl: hc, asBigint: Li, asEmptiable: al, asNullable: nl, asOptional: gc, enforceObjectShape: vc, enforceArrayShape: ol, isPng: ok, isJpg: ik, isWebp: sk, isImage: g4 }, e.Strings = { tokenizeByCount: J9, tokenizeByLength: tk, searchHex: qa, searchSubstring: Ri, randomHex: Un, randomLetter: Bi, randomAlphanumeric: Oi, randomRichAscii: Ua, randomUnicode: Ii, includesAny: _l, slugify: Gi, normalForm: xl, enumify: Sl, escapeHtml: MP, decodeHtmlEntities: qP, after: xc, afterLast: E5, before: Ol, beforeLast: Il, betweenWide: zP, betweenNarrow: FP, getPreLine: s9, containsWord: zl, containsWords: wS, joinUrl: W5, getFuzzyMatchScore: Do, sortByFuzzyScore: Bl, splitOnce: Rl, splitAll: C5, randomize: HP, expand: _5, shrinkTrim: Vi, capitalize: Tc, decapitalize: k5, csvEscape: QP, parseCsv: IS, surroundInOut: Pl, getExtension: Ml, getBasename: Ul, normalizeEmail: NP, normalizeFilename: DP, parseFilename: LP, camelToTitle: Tl, slugToTitle: No, slugToCamel: jl, joinHumanly: Al, findWeightedPair: B5, extractBlock: O5, extractAllBlocks: YP, replaceBlocks: $P, indexOfEarliest: Lo, lastIndexOfBefore: S5, parseHtmlAttributes: ES, readNextWord: Ho, readWordsAfterAll: CS, resolveVariables: _S, resolveVariableWithDefaultSyntax: F5, resolveRemainingVariablesWithDefaults: N5, isLetter: x5, isDigit: T5, isLetterOrDigit: Wi, isValidObjectPathCharacter: WP, insert: KP, indexOfRegex: j5, allIndexOf: P5, lineMatches: A5, linesMatchInOrder: ZP, represent: Na, resolveMarkdownLinks: kS, buildUrl: OS, isChinese: kl, replaceBetweenStrings: f9, describeMarkdown: p9, isBalanced: m9, textToFormat: h9, splitFormatting: eS, splitHashtags: tS, splitUrls: rS, route: dS, explodeReplace: ql, generateVariants: fS, replaceWord: pS, replacePascalCaseWords: mS, stripHtml: hS, breakLine: q5, measureTextWidth: bS, toLines: yS, levenshteinDistance: gS, findCommonPrefix: z5, findCommonDirectory: vS }, e.Assertions = { asEqual: pl, asTrue: _c, asTruthy: ml, asFalse: hl, asFalsy: kc, asEither: bl }, e.Cache = { get: c9, delete: u9, deleteExpired: l9, size: d9 }, e.Vector = { addPoint: Ek, subtractPoint: $4, multiplyPoint: Zl, normalizePoint: eB, pushPoint: Ck, filterCoordinates: Zi, findCorners: aB, findLines: oB, raycast: Ql, raycastCircle: cB, getLineIntersectionPoint: Ak };
|
|
52378
52378
|
})(SO)), SO;
|
|
52379
52379
|
}
|
|
52380
52380
|
var mf = {}, pD;
|
|
@@ -52585,10 +52585,10 @@ function Wu() {
|
|
|
52585
52585
|
"storage"
|
|
52586
52586
|
]), Mt;
|
|
52587
52587
|
}
|
|
52588
|
-
var I3 = {},
|
|
52588
|
+
var I3 = {}, Qa = {}, _D;
|
|
52589
52589
|
function rP() {
|
|
52590
|
-
if (_D) return
|
|
52591
|
-
_D = 1, Object.defineProperty(
|
|
52590
|
+
if (_D) return Qa;
|
|
52591
|
+
_D = 1, Object.defineProperty(Qa, "__esModule", { value: !0 }), Qa.UnknownSolidityTypeError = Qa.UnknownTypeError = Qa.InvalidAbiItemError = void 0;
|
|
52592
52592
|
const e = Vu();
|
|
52593
52593
|
class t extends e.BaseError {
|
|
52594
52594
|
constructor({ signature: o }) {
|
|
@@ -52603,7 +52603,7 @@ function rP() {
|
|
|
52603
52603
|
});
|
|
52604
52604
|
}
|
|
52605
52605
|
}
|
|
52606
|
-
|
|
52606
|
+
Qa.InvalidAbiItemError = t;
|
|
52607
52607
|
class r extends e.BaseError {
|
|
52608
52608
|
constructor({ type: o }) {
|
|
52609
52609
|
super("Unknown type.", {
|
|
@@ -52618,7 +52618,7 @@ function rP() {
|
|
|
52618
52618
|
});
|
|
52619
52619
|
}
|
|
52620
52620
|
}
|
|
52621
|
-
|
|
52621
|
+
Qa.UnknownTypeError = r;
|
|
52622
52622
|
class n extends e.BaseError {
|
|
52623
52623
|
constructor({ type: o }) {
|
|
52624
52624
|
super("Unknown type.", {
|
|
@@ -52631,7 +52631,7 @@ function rP() {
|
|
|
52631
52631
|
});
|
|
52632
52632
|
}
|
|
52633
52633
|
}
|
|
52634
|
-
return
|
|
52634
|
+
return Qa.UnknownSolidityTypeError = n, Qa;
|
|
52635
52635
|
}
|
|
52636
52636
|
var ur = {}, kD;
|
|
52637
52637
|
function K_() {
|
|
@@ -52743,10 +52743,10 @@ function K_() {
|
|
|
52743
52743
|
}
|
|
52744
52744
|
return ur.InvalidAbiTypeParameterError = s, ur;
|
|
52745
52745
|
}
|
|
52746
|
-
var
|
|
52746
|
+
var Xa = {}, xD;
|
|
52747
52747
|
function qU() {
|
|
52748
|
-
if (xD) return
|
|
52749
|
-
xD = 1, Object.defineProperty(
|
|
52748
|
+
if (xD) return Xa;
|
|
52749
|
+
xD = 1, Object.defineProperty(Xa, "__esModule", { value: !0 }), Xa.InvalidStructSignatureError = Xa.UnknownSignatureError = Xa.InvalidSignatureError = void 0;
|
|
52750
52750
|
const e = Vu();
|
|
52751
52751
|
class t extends e.BaseError {
|
|
52752
52752
|
constructor({ signature: o, type: i }) {
|
|
@@ -52760,7 +52760,7 @@ function qU() {
|
|
|
52760
52760
|
});
|
|
52761
52761
|
}
|
|
52762
52762
|
}
|
|
52763
|
-
|
|
52763
|
+
Xa.InvalidSignatureError = t;
|
|
52764
52764
|
class r extends e.BaseError {
|
|
52765
52765
|
constructor({ signature: o }) {
|
|
52766
52766
|
super("Unknown signature.", {
|
|
@@ -52773,7 +52773,7 @@ function qU() {
|
|
|
52773
52773
|
});
|
|
52774
52774
|
}
|
|
52775
52775
|
}
|
|
52776
|
-
|
|
52776
|
+
Xa.UnknownSignatureError = r;
|
|
52777
52777
|
class n extends e.BaseError {
|
|
52778
52778
|
constructor({ signature: o }) {
|
|
52779
52779
|
super("Invalid struct signature.", {
|
|
@@ -52787,7 +52787,7 @@ function qU() {
|
|
|
52787
52787
|
});
|
|
52788
52788
|
}
|
|
52789
52789
|
}
|
|
52790
|
-
return
|
|
52790
|
+
return Xa.InvalidStructSignatureError = n, Xa;
|
|
52791
52791
|
}
|
|
52792
52792
|
var yf = {}, TD;
|
|
52793
52793
|
function khe() {
|
|
@@ -53806,29 +53806,29 @@ function The() {
|
|
|
53806
53806
|
}
|
|
53807
53807
|
return Ef.FilterTypeNotSupportedError = t, Ef;
|
|
53808
53808
|
}
|
|
53809
|
-
var ei = {}, Vc = {},
|
|
53809
|
+
var ei = {}, Vc = {}, Ja = {}, GD;
|
|
53810
53810
|
function aP() {
|
|
53811
|
-
if (GD) return
|
|
53812
|
-
GD = 1, Object.defineProperty(
|
|
53811
|
+
if (GD) return Ja;
|
|
53812
|
+
GD = 1, Object.defineProperty(Ja, "__esModule", { value: !0 }), Ja.InvalidBytesLengthError = Ja.SizeExceedsPaddingSizeError = Ja.SliceOffsetOutOfBoundsError = void 0;
|
|
53813
53813
|
const e = Fe();
|
|
53814
53814
|
class t extends e.BaseError {
|
|
53815
53815
|
constructor({ offset: o, position: i, size: s }) {
|
|
53816
53816
|
super(`Slice ${i === "start" ? "starting" : "ending"} at offset "${o}" is out-of-bounds (size: ${s}).`, { name: "SliceOffsetOutOfBoundsError" });
|
|
53817
53817
|
}
|
|
53818
53818
|
}
|
|
53819
|
-
|
|
53819
|
+
Ja.SliceOffsetOutOfBoundsError = t;
|
|
53820
53820
|
class r extends e.BaseError {
|
|
53821
53821
|
constructor({ size: o, targetSize: i, type: s }) {
|
|
53822
53822
|
super(`${s.charAt(0).toUpperCase()}${s.slice(1).toLowerCase()} size (${o}) exceeds padding size (${i}).`, { name: "SizeExceedsPaddingSizeError" });
|
|
53823
53823
|
}
|
|
53824
53824
|
}
|
|
53825
|
-
|
|
53825
|
+
Ja.SizeExceedsPaddingSizeError = r;
|
|
53826
53826
|
class n extends e.BaseError {
|
|
53827
53827
|
constructor({ size: o, targetSize: i, type: s }) {
|
|
53828
53828
|
super(`${s.charAt(0).toUpperCase()}${s.slice(1).toLowerCase()} is expected to be ${i} ${s} long, but is ${o} ${s} long.`, { name: "InvalidBytesLengthError" });
|
|
53829
53829
|
}
|
|
53830
53830
|
}
|
|
53831
|
-
return
|
|
53831
|
+
return Ja.InvalidBytesLengthError = n, Ja;
|
|
53832
53832
|
}
|
|
53833
53833
|
var VD;
|
|
53834
53834
|
function jo() {
|
|
@@ -53868,7 +53868,7 @@ function jo() {
|
|
|
53868
53868
|
}
|
|
53869
53869
|
return Vc;
|
|
53870
53870
|
}
|
|
53871
|
-
var
|
|
53871
|
+
var Ya = {}, Jr = {}, WD;
|
|
53872
53872
|
function Ku() {
|
|
53873
53873
|
if (WD) return Jr;
|
|
53874
53874
|
WD = 1, Object.defineProperty(Jr, "__esModule", { value: !0 }), Jr.SizeOverflowError = Jr.InvalidHexValueError = Jr.InvalidHexBooleanError = Jr.InvalidBytesBooleanError = Jr.IntegerOutOfRangeError = void 0;
|
|
@@ -53907,7 +53907,7 @@ function Ku() {
|
|
|
53907
53907
|
return Jr.SizeOverflowError = o, Jr;
|
|
53908
53908
|
}
|
|
53909
53909
|
var L3 = {}, KD;
|
|
53910
|
-
function
|
|
53910
|
+
function Oa() {
|
|
53911
53911
|
if (KD) return L3;
|
|
53912
53912
|
KD = 1, Object.defineProperty(L3, "__esModule", { value: !0 }), L3.trim = e;
|
|
53913
53913
|
function e(t, { dir: r = "left" } = {}) {
|
|
@@ -53920,9 +53920,9 @@ function Ba() {
|
|
|
53920
53920
|
}
|
|
53921
53921
|
var ZD;
|
|
53922
53922
|
function xt() {
|
|
53923
|
-
if (ZD) return
|
|
53924
|
-
ZD = 1, Object.defineProperty(
|
|
53925
|
-
const e = Ku(), t = Zr(), r =
|
|
53923
|
+
if (ZD) return Ya;
|
|
53924
|
+
ZD = 1, Object.defineProperty(Ya, "__esModule", { value: !0 }), Ya.assertSize = a, Ya.fromHex = o, Ya.hexToBigInt = i, Ya.hexToBool = s, Ya.hexToNumber = c, Ya.hexToString = u;
|
|
53925
|
+
const e = Ku(), t = Zr(), r = Oa(), n = ut();
|
|
53926
53926
|
function a(l, { size: d }) {
|
|
53927
53927
|
if ((0, t.size)(l) > d)
|
|
53928
53928
|
throw new e.SizeOverflowError({
|
|
@@ -53967,7 +53967,7 @@ function xt() {
|
|
|
53967
53967
|
let f = (0, n.hexToBytes)(l);
|
|
53968
53968
|
return d.size && (a(f, { size: d.size }), f = (0, r.trim)(f, { dir: "right" })), new TextDecoder().decode(f);
|
|
53969
53969
|
}
|
|
53970
|
-
return
|
|
53970
|
+
return Ya;
|
|
53971
53971
|
}
|
|
53972
53972
|
var ti = {}, QD;
|
|
53973
53973
|
function _e() {
|
|
@@ -54656,9 +54656,9 @@ function In() {
|
|
|
54656
54656
|
}
|
|
54657
54657
|
return Kc;
|
|
54658
54658
|
}
|
|
54659
|
-
var
|
|
54659
|
+
var $a = {}, pL;
|
|
54660
54660
|
function iP() {
|
|
54661
|
-
return pL || (pL = 1, Object.defineProperty(
|
|
54661
|
+
return pL || (pL = 1, Object.defineProperty($a, "__esModule", { value: !0 }), $a.integerRegex = $a.bytesRegex = $a.arrayRegex = void 0, $a.arrayRegex = /^(.*)\[([0-9]*)\]$/, $a.bytesRegex = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/, $a.integerRegex = /^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/), $a;
|
|
54662
54662
|
}
|
|
54663
54663
|
var mL;
|
|
54664
54664
|
function ra() {
|
|
@@ -55049,9 +55049,9 @@ function Qr() {
|
|
|
55049
55049
|
}
|
|
55050
55050
|
return X3;
|
|
55051
55051
|
}
|
|
55052
|
-
var Y3 = {}, kr = {},
|
|
55052
|
+
var Y3 = {}, kr = {}, eo = {}, _L;
|
|
55053
55053
|
function NU() {
|
|
55054
|
-
return _L || (_L = 1, Object.defineProperty(
|
|
55054
|
+
return _L || (_L = 1, Object.defineProperty(eo, "__esModule", { value: !0 }), eo.solidityPanic = eo.solidityError = eo.panicReasons = void 0, eo.panicReasons = {
|
|
55055
55055
|
1: "An `assert` condition failed.",
|
|
55056
55056
|
17: "Arithmetic operation resulted in underflow or overflow.",
|
|
55057
55057
|
18: "Division or modulo by zero (e.g. `5 / 0` or `23 % 0`).",
|
|
@@ -55061,7 +55061,7 @@ function NU() {
|
|
|
55061
55061
|
50: "Array index is out of bounds.",
|
|
55062
55062
|
65: "Allocated too much memory or created an array which is too large.",
|
|
55063
55063
|
81: "Attempted to call a zero-initialized variable of internal function type."
|
|
55064
|
-
},
|
|
55064
|
+
}, eo.solidityError = {
|
|
55065
55065
|
inputs: [
|
|
55066
55066
|
{
|
|
55067
55067
|
name: "message",
|
|
@@ -55070,7 +55070,7 @@ function NU() {
|
|
|
55070
55070
|
],
|
|
55071
55071
|
name: "Error",
|
|
55072
55072
|
type: "error"
|
|
55073
|
-
},
|
|
55073
|
+
}, eo.solidityPanic = {
|
|
55074
55074
|
inputs: [
|
|
55075
55075
|
{
|
|
55076
55076
|
name: "reason",
|
|
@@ -55079,12 +55079,12 @@ function NU() {
|
|
|
55079
55079
|
],
|
|
55080
55080
|
name: "Panic",
|
|
55081
55081
|
type: "error"
|
|
55082
|
-
}),
|
|
55082
|
+
}), eo;
|
|
55083
55083
|
}
|
|
55084
|
-
var $3 = {}, e8 = {}, t8 = {},
|
|
55084
|
+
var $3 = {}, e8 = {}, t8 = {}, to = {}, kL;
|
|
55085
55085
|
function She() {
|
|
55086
|
-
if (kL) return
|
|
55087
|
-
kL = 1, Object.defineProperty(
|
|
55086
|
+
if (kL) return to;
|
|
55087
|
+
kL = 1, Object.defineProperty(to, "__esModule", { value: !0 }), to.RecursiveReadLimitExceededError = to.PositionOutOfBoundsError = to.NegativeOffsetError = void 0;
|
|
55088
55088
|
const e = Fe();
|
|
55089
55089
|
class t extends e.BaseError {
|
|
55090
55090
|
constructor({ offset: o }) {
|
|
@@ -55093,19 +55093,19 @@ function She() {
|
|
|
55093
55093
|
});
|
|
55094
55094
|
}
|
|
55095
55095
|
}
|
|
55096
|
-
|
|
55096
|
+
to.NegativeOffsetError = t;
|
|
55097
55097
|
class r extends e.BaseError {
|
|
55098
55098
|
constructor({ length: o, position: i }) {
|
|
55099
55099
|
super(`Position \`${i}\` is out of bounds (\`0 < position < ${o}\`).`, { name: "PositionOutOfBoundsError" });
|
|
55100
55100
|
}
|
|
55101
55101
|
}
|
|
55102
|
-
|
|
55102
|
+
to.PositionOutOfBoundsError = r;
|
|
55103
55103
|
class n extends e.BaseError {
|
|
55104
55104
|
constructor({ count: o, limit: i }) {
|
|
55105
55105
|
super(`Recursive read limit of \`${i}\` exceeded (recursive read count: \`${o}\`).`, { name: "RecursiveReadLimitExceededError" });
|
|
55106
55106
|
}
|
|
55107
55107
|
}
|
|
55108
|
-
return
|
|
55108
|
+
return to.RecursiveReadLimitExceededError = n, to;
|
|
55109
55109
|
}
|
|
55110
55110
|
var xL;
|
|
55111
55111
|
function Z_() {
|
|
@@ -55243,7 +55243,7 @@ var ri = {}, TL;
|
|
|
55243
55243
|
function DU() {
|
|
55244
55244
|
if (TL) return ri;
|
|
55245
55245
|
TL = 1, Object.defineProperty(ri, "__esModule", { value: !0 }), ri.fromBytes = a, ri.bytesToBigInt = o, ri.bytesToBool = i, ri.bytesToNumber = s, ri.bytesToString = c;
|
|
55246
|
-
const e = Ku(), t =
|
|
55246
|
+
const e = Ku(), t = Oa(), r = xt(), n = _e();
|
|
55247
55247
|
function a(u, l) {
|
|
55248
55248
|
const d = typeof l == "string" ? { to: l } : l, f = d.to;
|
|
55249
55249
|
return f === "number" ? s(u, d) : f === "bigint" ? o(u, d) : f === "boolean" ? i(u, d) : f === "string" ? c(u, d) : (0, n.bytesToHex)(u, d);
|
|
@@ -55274,7 +55274,7 @@ var jL;
|
|
|
55274
55274
|
function Ci() {
|
|
55275
55275
|
if (jL) return e8;
|
|
55276
55276
|
jL = 1, Object.defineProperty(e8, "__esModule", { value: !0 }), e8.decodeAbiParameters = l;
|
|
55277
|
-
const e = Ot(), t = hn(), r = Z_(), n = Zr(), a = In(), o =
|
|
55277
|
+
const e = Ot(), t = hn(), r = Z_(), n = Zr(), a = In(), o = Oa(), i = DU(), s = ut(), c = _e(), u = ra();
|
|
55278
55278
|
function l(x, k) {
|
|
55279
55279
|
const P = typeof k == "string" ? (0, s.hexToBytes)(k) : k, j = (0, r.createCursor)(P);
|
|
55280
55280
|
if ((0, n.size)(P) === 0 && x.length > 0)
|
|
@@ -55470,18 +55470,18 @@ function Bhe() {
|
|
|
55470
55470
|
}
|
|
55471
55471
|
return r8;
|
|
55472
55472
|
}
|
|
55473
|
-
var n8 = {},
|
|
55473
|
+
var n8 = {}, ro = {}, BL;
|
|
55474
55474
|
function Q_() {
|
|
55475
|
-
return BL || (BL = 1, Object.defineProperty(
|
|
55475
|
+
return BL || (BL = 1, Object.defineProperty(ro, "__esModule", { value: !0 }), ro.weiUnits = ro.gweiUnits = ro.etherUnits = void 0, ro.etherUnits = {
|
|
55476
55476
|
gwei: 9,
|
|
55477
55477
|
wei: 18
|
|
55478
|
-
},
|
|
55478
|
+
}, ro.gweiUnits = {
|
|
55479
55479
|
ether: -9,
|
|
55480
55480
|
wei: 9
|
|
55481
|
-
},
|
|
55481
|
+
}, ro.weiUnits = {
|
|
55482
55482
|
ether: -18,
|
|
55483
55483
|
gwei: -9
|
|
55484
|
-
}),
|
|
55484
|
+
}), ro;
|
|
55485
55485
|
}
|
|
55486
55486
|
var a8 = {}, OL;
|
|
55487
55487
|
function uP() {
|
|
@@ -55519,10 +55519,10 @@ function ic() {
|
|
|
55519
55519
|
}
|
|
55520
55520
|
return o8;
|
|
55521
55521
|
}
|
|
55522
|
-
var
|
|
55522
|
+
var no = {}, ML;
|
|
55523
55523
|
function LU() {
|
|
55524
|
-
if (ML) return
|
|
55525
|
-
ML = 1, Object.defineProperty(
|
|
55524
|
+
if (ML) return no;
|
|
55525
|
+
ML = 1, Object.defineProperty(no, "__esModule", { value: !0 }), no.StateAssignmentConflictError = no.AccountStateConflictError = void 0, no.prettyStateMapping = n, no.prettyStateOverride = a;
|
|
55526
55526
|
const e = Fe();
|
|
55527
55527
|
class t extends e.BaseError {
|
|
55528
55528
|
constructor({ address: i }) {
|
|
@@ -55531,7 +55531,7 @@ function LU() {
|
|
|
55531
55531
|
});
|
|
55532
55532
|
}
|
|
55533
55533
|
}
|
|
55534
|
-
|
|
55534
|
+
no.AccountStateConflictError = t;
|
|
55535
55535
|
class r extends e.BaseError {
|
|
55536
55536
|
constructor() {
|
|
55537
55537
|
super("state and stateDiff are set on the same account.", {
|
|
@@ -55539,7 +55539,7 @@ function LU() {
|
|
|
55539
55539
|
});
|
|
55540
55540
|
}
|
|
55541
55541
|
}
|
|
55542
|
-
|
|
55542
|
+
no.StateAssignmentConflictError = r;
|
|
55543
55543
|
function n(o) {
|
|
55544
55544
|
return o.reduce((i, { slot: s, value: c }) => `${i} ${s}: ${c}
|
|
55545
55545
|
`, "");
|
|
@@ -55557,7 +55557,7 @@ function LU() {
|
|
|
55557
55557
|
}, ` State Override:
|
|
55558
55558
|
`).slice(0, -1);
|
|
55559
55559
|
}
|
|
55560
|
-
return
|
|
55560
|
+
return no;
|
|
55561
55561
|
}
|
|
55562
55562
|
var wt = {}, UL;
|
|
55563
55563
|
function Xr() {
|
|
@@ -58795,7 +58795,7 @@ function Mhe() {
|
|
|
58795
58795
|
return Of.EstimateGasExecutionError = a, Of;
|
|
58796
58796
|
}
|
|
58797
58797
|
var yt = {}, oH;
|
|
58798
|
-
function
|
|
58798
|
+
function Ia() {
|
|
58799
58799
|
if (oH) return yt;
|
|
58800
58800
|
oH = 1, Object.defineProperty(yt, "__esModule", { value: !0 }), yt.UnknownNodeError = yt.TipAboveFeeCapError = yt.TransactionTypeNotSupportedError = yt.IntrinsicGasTooLowError = yt.IntrinsicGasTooHighError = yt.InsufficientFundsError = yt.NonceMaxValueError = yt.NonceTooLowError = yt.NonceTooHighError = yt.FeeCapTooLowError = yt.FeeCapTooHighError = yt.ExecutionRevertedError = void 0;
|
|
58801
58801
|
const e = ic(), t = Fe();
|
|
@@ -58984,7 +58984,7 @@ var If = {}, iH;
|
|
|
58984
58984
|
function e5() {
|
|
58985
58985
|
if (iH) return If;
|
|
58986
58986
|
iH = 1, Object.defineProperty(If, "__esModule", { value: !0 }), If.containsNodeError = a, If.getNodeError = o;
|
|
58987
|
-
const e = Fe(), t =
|
|
58987
|
+
const e = Fe(), t = Ia(), r = na(), n = ki();
|
|
58988
58988
|
function a(i) {
|
|
58989
58989
|
return i instanceof n.TransactionRejectedRpcError || i instanceof n.InvalidInputRpcError || i instanceof r.RpcRequestError && i.code === t.ExecutionRevertedError.code;
|
|
58990
58990
|
}
|
|
@@ -59016,7 +59016,7 @@ var sH;
|
|
|
59016
59016
|
function Uhe() {
|
|
59017
59017
|
if (sH) return f8;
|
|
59018
59018
|
sH = 1, Object.defineProperty(f8, "__esModule", { value: !0 }), f8.getEstimateGasError = n;
|
|
59019
|
-
const e = Mhe(), t =
|
|
59019
|
+
const e = Mhe(), t = Ia(), r = e5();
|
|
59020
59020
|
function n(a, { docsPath: o, ...i }) {
|
|
59021
59021
|
const s = (() => {
|
|
59022
59022
|
const c = (0, r.getNodeError)(a, i);
|
|
@@ -59154,7 +59154,7 @@ var pH;
|
|
|
59154
59154
|
function Mn() {
|
|
59155
59155
|
if (pH) return h8;
|
|
59156
59156
|
pH = 1, Object.defineProperty(h8, "__esModule", { value: !0 }), h8.assertRequest = o;
|
|
59157
|
-
const e = Et(), t = r5(), r = Or(), n =
|
|
59157
|
+
const e = Et(), t = r5(), r = Or(), n = Ia(), a = sr();
|
|
59158
59158
|
function o(i) {
|
|
59159
59159
|
const { account: s, maxFeePerGas: c, maxPriorityFeePerGas: u, to: l } = i, d = s ? (0, e.parseAccount)(s) : void 0;
|
|
59160
59160
|
if (d && !(0, a.isAddress)(d.address))
|
|
@@ -59168,10 +59168,10 @@ function Mn() {
|
|
|
59168
59168
|
}
|
|
59169
59169
|
return h8;
|
|
59170
59170
|
}
|
|
59171
|
-
var FO = {}, Rf = {},
|
|
59171
|
+
var FO = {}, Rf = {}, ao = {}, mH;
|
|
59172
59172
|
function n5() {
|
|
59173
|
-
if (mH) return
|
|
59174
|
-
mH = 1, Object.defineProperty(
|
|
59173
|
+
if (mH) return ao;
|
|
59174
|
+
mH = 1, Object.defineProperty(ao, "__esModule", { value: !0 }), ao.MaxFeePerGasTooLowError = ao.Eip1559FeesNotSupportedError = ao.BaseFeeScalarError = void 0;
|
|
59175
59175
|
const e = ic(), t = Fe();
|
|
59176
59176
|
class r extends t.BaseError {
|
|
59177
59177
|
constructor() {
|
|
@@ -59180,7 +59180,7 @@ function n5() {
|
|
|
59180
59180
|
});
|
|
59181
59181
|
}
|
|
59182
59182
|
}
|
|
59183
|
-
|
|
59183
|
+
ao.BaseFeeScalarError = r;
|
|
59184
59184
|
class n extends t.BaseError {
|
|
59185
59185
|
constructor() {
|
|
59186
59186
|
super("Chain does not support EIP-1559 fees.", {
|
|
@@ -59188,13 +59188,13 @@ function n5() {
|
|
|
59188
59188
|
});
|
|
59189
59189
|
}
|
|
59190
59190
|
}
|
|
59191
|
-
|
|
59191
|
+
ao.Eip1559FeesNotSupportedError = n;
|
|
59192
59192
|
class a extends t.BaseError {
|
|
59193
59193
|
constructor({ maxPriorityFeePerGas: i }) {
|
|
59194
59194
|
super(`\`maxFeePerGas\` cannot be less than the \`maxPriorityFeePerGas\` (${(0, e.formatGwei)(i)} gwei).`, { name: "MaxFeePerGasTooLowError" });
|
|
59195
59195
|
}
|
|
59196
59196
|
}
|
|
59197
|
-
return
|
|
59197
|
+
return ao.MaxFeePerGasTooLowError = a, ao;
|
|
59198
59198
|
}
|
|
59199
59199
|
var Mf = {}, b8 = {}, Uf = {}, hH;
|
|
59200
59200
|
function QU() {
|
|
@@ -59634,7 +59634,7 @@ var j8 = {}, A8 = {}, MH;
|
|
|
59634
59634
|
function o5() {
|
|
59635
59635
|
if (MH) return A8;
|
|
59636
59636
|
MH = 1, Object.defineProperty(A8, "__esModule", { value: !0 }), A8.getTransactionError = n;
|
|
59637
|
-
const e =
|
|
59637
|
+
const e = Ia(), t = Xr(), r = e5();
|
|
59638
59638
|
function n(a, { docsPath: o, ...i }) {
|
|
59639
59639
|
const s = (() => {
|
|
59640
59640
|
const c = (0, r.getNodeError)(a, i);
|
|
@@ -60141,7 +60141,7 @@ function c5() {
|
|
|
60141
60141
|
return O8;
|
|
60142
60142
|
}
|
|
60143
60143
|
var M8 = {}, GH;
|
|
60144
|
-
function
|
|
60144
|
+
function Ra() {
|
|
60145
60145
|
if (GH) return M8;
|
|
60146
60146
|
GH = 1, Object.defineProperty(M8, "__esModule", { value: !0 }), M8.formatLog = e;
|
|
60147
60147
|
function e(t, { args: r, eventName: n } = {}) {
|
|
@@ -60162,7 +60162,7 @@ var VH;
|
|
|
60162
60162
|
function tq() {
|
|
60163
60163
|
if (VH) return B8;
|
|
60164
60164
|
VH = 1, Object.defineProperty(B8, "__esModule", { value: !0 }), B8.getLogs = a;
|
|
60165
|
-
const e = oc(), t = c5(), r = _e(), n =
|
|
60165
|
+
const e = oc(), t = c5(), r = _e(), n = Ra();
|
|
60166
60166
|
async function a(o, { address: i, blockHash: s, fromBlock: c, toBlock: u, event: l, events: d, args: f, strict: h } = {}) {
|
|
60167
60167
|
const b = h ?? !1, m = d ?? (l ? [l] : void 0);
|
|
60168
60168
|
let g = [];
|
|
@@ -60242,7 +60242,7 @@ function So() {
|
|
|
60242
60242
|
}
|
|
60243
60243
|
return q8;
|
|
60244
60244
|
}
|
|
60245
|
-
var zf = {}, Ff = {},
|
|
60245
|
+
var zf = {}, Ff = {}, Ke = {}, et = {}, Nf = {}, Yc = {}, Df = {}, ZH;
|
|
60246
60246
|
function ILe() {
|
|
60247
60247
|
return ZH || (ZH = 1, Object.defineProperty(Df, "__esModule", { value: !0 }), Df.version = void 0, Df.version = "0.1.1"), Df;
|
|
60248
60248
|
}
|
|
@@ -60683,8 +60683,8 @@ function bn() {
|
|
|
60683
60683
|
}
|
|
60684
60684
|
var tG;
|
|
60685
60685
|
function Qe() {
|
|
60686
|
-
if (tG) return
|
|
60687
|
-
tG = 1, Object.defineProperty(
|
|
60686
|
+
if (tG) return Ke;
|
|
60687
|
+
tG = 1, Object.defineProperty(Ke, "__esModule", { value: !0 }), Ke.SizeExceedsPaddingSizeError = Ke.SliceOffsetOutOfBoundsError = Ke.SizeOverflowError = Ke.InvalidLengthError = Ke.InvalidHexValueError = Ke.InvalidHexTypeError = Ke.InvalidHexBooleanError = Ke.IntegerOutOfRangeError = void 0, Ke.assert = c, Ke.concat = u, Ke.from = l, Ke.fromBoolean = d, Ke.fromBytes = f, Ke.fromNumber = h, Ke.fromString = b, Ke.isEqual = m, Ke.padLeft = g, Ke.padRight = C, Ke.random = _, Ke.slice = w, Ke.size = y, Ke.trimLeft = E, Ke.trimRight = x, Ke.toBigInt = k, Ke.toBoolean = P, Ke.toBytes = j, Ke.toNumber = A, Ke.toString = I, Ke.validate = O;
|
|
60688
60688
|
const e = /* @__PURE__ */ sc(), t = bn(), r = Xt(), n = Ghe(), a = Vhe(), o = u5(), i = new TextEncoder(), s = Array.from({ length: 256 }, (U, V) => V.toString(16).padStart(2, "0"));
|
|
60689
60689
|
function c(U, V = {}) {
|
|
60690
60690
|
const { strict: Q = !1 } = V;
|
|
@@ -60810,7 +60810,7 @@ function Qe() {
|
|
|
60810
60810
|
});
|
|
60811
60811
|
}
|
|
60812
60812
|
}
|
|
60813
|
-
|
|
60813
|
+
Ke.IntegerOutOfRangeError = S;
|
|
60814
60814
|
class z extends r.BaseError {
|
|
60815
60815
|
constructor(V) {
|
|
60816
60816
|
super(`Hex value \`"${V}"\` is not a valid boolean.`, {
|
|
@@ -60825,7 +60825,7 @@ function Qe() {
|
|
|
60825
60825
|
});
|
|
60826
60826
|
}
|
|
60827
60827
|
}
|
|
60828
|
-
|
|
60828
|
+
Ke.InvalidHexBooleanError = z;
|
|
60829
60829
|
class L extends r.BaseError {
|
|
60830
60830
|
constructor(V) {
|
|
60831
60831
|
super(`Value \`${typeof V == "object" ? o.stringify(V) : V}\` of type \`${typeof V}\` is an invalid hex type.`, {
|
|
@@ -60838,7 +60838,7 @@ function Qe() {
|
|
|
60838
60838
|
});
|
|
60839
60839
|
}
|
|
60840
60840
|
}
|
|
60841
|
-
|
|
60841
|
+
Ke.InvalidHexTypeError = L;
|
|
60842
60842
|
class F extends r.BaseError {
|
|
60843
60843
|
constructor(V) {
|
|
60844
60844
|
super(`Value \`${V}\` is an invalid hex value.`, {
|
|
@@ -60853,7 +60853,7 @@ function Qe() {
|
|
|
60853
60853
|
});
|
|
60854
60854
|
}
|
|
60855
60855
|
}
|
|
60856
|
-
|
|
60856
|
+
Ke.InvalidHexValueError = F;
|
|
60857
60857
|
class q extends r.BaseError {
|
|
60858
60858
|
constructor(V) {
|
|
60859
60859
|
super(`Hex value \`"${V}"\` is an odd length (${V.length - 2} nibbles).`, {
|
|
@@ -60866,7 +60866,7 @@ function Qe() {
|
|
|
60866
60866
|
});
|
|
60867
60867
|
}
|
|
60868
60868
|
}
|
|
60869
|
-
|
|
60869
|
+
Ke.InvalidLengthError = q;
|
|
60870
60870
|
class H extends r.BaseError {
|
|
60871
60871
|
constructor({ givenSize: V, maxSize: Q }) {
|
|
60872
60872
|
super(`Size cannot exceed \`${Q}\` bytes. Given size: \`${V}\` bytes.`), Object.defineProperty(this, "name", {
|
|
@@ -60877,7 +60877,7 @@ function Qe() {
|
|
|
60877
60877
|
});
|
|
60878
60878
|
}
|
|
60879
60879
|
}
|
|
60880
|
-
|
|
60880
|
+
Ke.SizeOverflowError = H;
|
|
60881
60881
|
class N extends r.BaseError {
|
|
60882
60882
|
constructor({ offset: V, position: Q, size: K }) {
|
|
60883
60883
|
super(`Slice ${Q === "start" ? "starting" : "ending"} at offset \`${V}\` is out-of-bounds (size: \`${K}\`).`), Object.defineProperty(this, "name", {
|
|
@@ -60888,7 +60888,7 @@ function Qe() {
|
|
|
60888
60888
|
});
|
|
60889
60889
|
}
|
|
60890
60890
|
}
|
|
60891
|
-
|
|
60891
|
+
Ke.SliceOffsetOutOfBoundsError = N;
|
|
60892
60892
|
class D extends r.BaseError {
|
|
60893
60893
|
constructor({ size: V, targetSize: Q, type: K }) {
|
|
60894
60894
|
super(`${K.charAt(0).toUpperCase()}${K.slice(1).toLowerCase()} size (\`${V}\`) exceeds padding size (\`${Q}\`).`), Object.defineProperty(this, "name", {
|
|
@@ -60899,7 +60899,7 @@ function Qe() {
|
|
|
60899
60899
|
});
|
|
60900
60900
|
}
|
|
60901
60901
|
}
|
|
60902
|
-
return
|
|
60902
|
+
return Ke.SizeExceedsPaddingSizeError = D, Ke;
|
|
60903
60903
|
}
|
|
60904
60904
|
var Hf = {}, rG;
|
|
60905
60905
|
function MLe() {
|
|
@@ -63042,7 +63042,7 @@ var N8 = {}, lG;
|
|
|
63042
63042
|
function hP() {
|
|
63043
63043
|
if (lG) return N8;
|
|
63044
63044
|
lG = 1, Object.defineProperty(N8, "__esModule", { value: !0 }), N8.getCallError = n;
|
|
63045
|
-
const e = _i(), t =
|
|
63045
|
+
const e = _i(), t = Ia(), r = e5();
|
|
63046
63046
|
function n(a, { docsPath: o, ...i }) {
|
|
63047
63047
|
const s = (() => {
|
|
63048
63048
|
const c = (0, r.getNodeError)(a, i);
|
|
@@ -63102,10 +63102,10 @@ function aq() {
|
|
|
63102
63102
|
}
|
|
63103
63103
|
return D8;
|
|
63104
63104
|
}
|
|
63105
|
-
var HO = {},
|
|
63105
|
+
var HO = {}, oo = {}, pG;
|
|
63106
63106
|
function qLe() {
|
|
63107
|
-
if (pG) return
|
|
63108
|
-
pG = 1, Object.defineProperty(
|
|
63107
|
+
if (pG) return oo;
|
|
63108
|
+
pG = 1, Object.defineProperty(oo, "__esModule", { value: !0 }), oo.OffchainLookupSenderMismatchError = oo.OffchainLookupResponseMalformedError = oo.OffchainLookupError = void 0;
|
|
63109
63109
|
const e = pr(), t = Fe(), r = HU();
|
|
63110
63110
|
class n extends t.BaseError {
|
|
63111
63111
|
constructor({ callbackSelector: s, cause: c, data: u, extraData: l, sender: d, urls: f }) {
|
|
@@ -63128,7 +63128,7 @@ function qLe() {
|
|
|
63128
63128
|
});
|
|
63129
63129
|
}
|
|
63130
63130
|
}
|
|
63131
|
-
|
|
63131
|
+
oo.OffchainLookupError = n;
|
|
63132
63132
|
class a extends t.BaseError {
|
|
63133
63133
|
constructor({ result: s, url: c }) {
|
|
63134
63134
|
super("Offchain gateway response is malformed. Response data must be a hex value.", {
|
|
@@ -63140,7 +63140,7 @@ function qLe() {
|
|
|
63140
63140
|
});
|
|
63141
63141
|
}
|
|
63142
63142
|
}
|
|
63143
|
-
|
|
63143
|
+
oo.OffchainLookupResponseMalformedError = a;
|
|
63144
63144
|
class o extends t.BaseError {
|
|
63145
63145
|
constructor({ sender: s, to: c }) {
|
|
63146
63146
|
super("Reverted sender address does not match target contract address (`to`).", {
|
|
@@ -63152,7 +63152,7 @@ function qLe() {
|
|
|
63152
63152
|
});
|
|
63153
63153
|
}
|
|
63154
63154
|
}
|
|
63155
|
-
return
|
|
63155
|
+
return oo.OffchainLookupSenderMismatchError = o, oo;
|
|
63156
63156
|
}
|
|
63157
63157
|
var GO = {}, H8 = {}, mG;
|
|
63158
63158
|
function oq() {
|
|
@@ -63521,7 +63521,7 @@ function f5() {
|
|
|
63521
63521
|
return zf;
|
|
63522
63522
|
}
|
|
63523
63523
|
var wG;
|
|
63524
|
-
function
|
|
63524
|
+
function Ma() {
|
|
63525
63525
|
if (wG) return U8;
|
|
63526
63526
|
wG = 1, Object.defineProperty(U8, "__esModule", { value: !0 }), U8.readContract = o;
|
|
63527
63527
|
const e = So(), t = Qr(), r = xi(), n = at(), a = f5();
|
|
@@ -63722,7 +63722,7 @@ var X8 = {}, jG;
|
|
|
63722
63722
|
function yP() {
|
|
63723
63723
|
if (jG) return X8;
|
|
63724
63724
|
jG = 1, Object.defineProperty(X8, "__esModule", { value: !0 }), X8.getFilterChanges = r;
|
|
63725
|
-
const e = c5(), t =
|
|
63725
|
+
const e = c5(), t = Ra();
|
|
63726
63726
|
async function r(n, { filter: a }) {
|
|
63727
63727
|
const o = "strict" in a && a.strict, i = await a.request({
|
|
63728
63728
|
method: "eth_getFilterChanges",
|
|
@@ -63755,7 +63755,7 @@ var PG;
|
|
|
63755
63755
|
function Qhe() {
|
|
63756
63756
|
if (PG) return K8;
|
|
63757
63757
|
PG = 1, Object.defineProperty(K8, "__esModule", { value: !0 }), K8.watchContractEvent = b;
|
|
63758
|
-
const e = Ot(), t = ki(), r = s5(), n = oc(), a =
|
|
63758
|
+
const e = Ot(), t = ki(), r = s5(), n = oc(), a = Ra(), o = at(), i = dc(), s = Xu(), c = pr(), u = FU(), l = p5(), d = rq(), f = yP(), h = gP();
|
|
63759
63759
|
function b(m, g) {
|
|
63760
63760
|
const { abi: C, address: _, args: w, batch: y = !0, eventName: E, fromBlock: x, onError: k, onLogs: P, poll: j, pollingInterval: A = m.pollingInterval, strict: I } = g;
|
|
63761
63761
|
return (typeof j < "u" ? j : typeof x == "bigint" ? !0 : !(m.transport.type === "webSocket" || m.transport.type === "ipc" || m.transport.type === "fallback" && (m.transport.transports[0].config.type === "webSocket" || m.transport.transports[0].config.type === "ipc"))) ? (() => {
|
|
@@ -64107,7 +64107,7 @@ var MG;
|
|
|
64107
64107
|
function zLe() {
|
|
64108
64108
|
if (MG) return Hc;
|
|
64109
64109
|
MG = 1, Object.defineProperty(Hc, "__esModule", { value: !0 }), Hc.getContract = c, Hc.getFunctionParameters = u, Hc.getEventParameters = l;
|
|
64110
|
-
const e = at(), t = FU(), r = Hhe(), n = rq(), a =
|
|
64110
|
+
const e = at(), t = FU(), r = Hhe(), n = rq(), a = Ma(), o = Khe(), i = Qhe(), s = dq();
|
|
64111
64111
|
function c({ abi: d, address: f, client: h }) {
|
|
64112
64112
|
const b = h, [m, g] = b ? "public" in b && "wallet" in b ? [b.public, b.wallet] : "public" in b ? [b.public, void 0] : "wallet" in b ? [void 0, b.wallet] : [b, b] : [void 0, void 0], C = m != null, _ = g != null, w = {};
|
|
64113
64113
|
let y = !1, E = !1, x = !1;
|
|
@@ -64269,7 +64269,7 @@ var rx = {}, KO = {}, zG;
|
|
|
64269
64269
|
function Io() {
|
|
64270
64270
|
return zG || (zG = 1, (function(e) {
|
|
64271
64271
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.defineTransactionReceipt = e.receiptStatuses = void 0, e.formatTransactionReceipt = o;
|
|
64272
|
-
const t = xt(), r = t5(), n =
|
|
64272
|
+
const t = xt(), r = t5(), n = Ra(), a = aa();
|
|
64273
64273
|
e.receiptStatuses = {
|
|
64274
64274
|
"0x0": "reverted",
|
|
64275
64275
|
"0x1": "success"
|
|
@@ -64393,7 +64393,7 @@ var NG;
|
|
|
64393
64393
|
function Jhe() {
|
|
64394
64394
|
if (NG) return rx;
|
|
64395
64395
|
NG = 1, Object.defineProperty(rx, "__esModule", { value: !0 }), rx.getCallsStatus = o;
|
|
64396
|
-
const e = In(), t =
|
|
64396
|
+
const e = In(), t = Oa(), r = xt(), n = Io(), a = fq();
|
|
64397
64397
|
async function o(i, s) {
|
|
64398
64398
|
async function c(g) {
|
|
64399
64399
|
if (g.endsWith(a.fallbackMagicIdentifier.slice(2))) {
|
|
@@ -64627,7 +64627,7 @@ var XG;
|
|
|
64627
64627
|
function NLe() {
|
|
64628
64628
|
if (XG) return ix;
|
|
64629
64629
|
XG = 1, Object.defineProperty(ix, "__esModule", { value: !0 }), ix.getEnsAddress = f;
|
|
64630
|
-
const e = Pi(), t = So(), r = Qr(), n = Bo(), a =
|
|
64630
|
+
const e = Pi(), t = So(), r = Qr(), n = Bo(), a = Oa(), o = _e(), i = mq(), s = bP(), c = hq(), u = bq(), l = at(), d = Ma();
|
|
64631
64631
|
async function f(h, b) {
|
|
64632
64632
|
const { blockNumber: m, blockTag: g, coinType: C, name: _, gatewayUrls: w, strict: y } = b, { chain: E } = h, x = (() => {
|
|
64633
64633
|
if (b.universalResolverAddress)
|
|
@@ -64730,7 +64730,7 @@ var YG;
|
|
|
64730
64730
|
function DLe() {
|
|
64731
64731
|
if (YG) return Vn;
|
|
64732
64732
|
YG = 1, Object.defineProperty(Vn, "__esModule", { value: !0 }), Vn.isImageUri = i, Vn.getGateway = s, Vn.resolveAvatarUri = c, Vn.getJsonImage = u, Vn.getMetadataAvatarUri = l, Vn.parseAvatarUri = d, Vn.parseNftUri = f, Vn.getNftTokenUri = h;
|
|
64733
|
-
const e =
|
|
64733
|
+
const e = Ma(), t = yq(), r = /(?<protocol>https?:\/\/[^/]*|ipfs:\/|ipns:\/|ar:\/)?(?<root>\/)?(?<subpath>ipfs\/|ipns\/)?(?<target>[\w\-.]+)(?<subtarget>\/.*)?/, n = /^(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})(\/(?<target>[\w\-.]+))?(?<subtarget>\/.*)?$/, a = /^data:([a-zA-Z\-/+]*);base64,([^"].*)/, o = /^data:([a-zA-Z\-/+]*)?(;[a-zA-Z0-9].*?)?(,)/;
|
|
64734
64734
|
async function i(b) {
|
|
64735
64735
|
try {
|
|
64736
64736
|
const m = await fetch(b, { method: "HEAD" });
|
|
@@ -64885,7 +64885,7 @@ var hx = {}, eV;
|
|
|
64885
64885
|
function t0e() {
|
|
64886
64886
|
if (eV) return hx;
|
|
64887
64887
|
eV = 1, Object.defineProperty(hx, "__esModule", { value: !0 }), hx.getEnsText = d;
|
|
64888
|
-
const e = Pi(), t = So(), r = Qr(), n = Bo(), a = _e(), o = mq(), i = bP(), s = hq(), c = bq(), u = at(), l =
|
|
64888
|
+
const e = Pi(), t = So(), r = Qr(), n = Bo(), a = _e(), o = mq(), i = bP(), s = hq(), c = bq(), u = at(), l = Ma();
|
|
64889
64889
|
async function d(f, h) {
|
|
64890
64890
|
const { blockNumber: b, blockTag: m, key: g, name: C, gatewayUrls: _, strict: w } = h, { chain: y } = f, E = (() => {
|
|
64891
64891
|
if (h.universalResolverAddress)
|
|
@@ -64967,7 +64967,7 @@ var bx = {}, rV;
|
|
|
64967
64967
|
function GLe() {
|
|
64968
64968
|
if (rV) return bx;
|
|
64969
64969
|
rV = 1, Object.defineProperty(bx, "__esModule", { value: !0 }), bx.getEnsName = i;
|
|
64970
|
-
const e = Pi(), t = Bo(), r = mq(), n = bP(), a = at(), o =
|
|
64970
|
+
const e = Pi(), t = Bo(), r = mq(), n = bP(), a = at(), o = Ma();
|
|
64971
64971
|
async function i(s, c) {
|
|
64972
64972
|
const { address: u, blockNumber: l, blockTag: d, coinType: f = 60n, gatewayUrls: h, strict: b } = c, { chain: m } = s, g = (() => {
|
|
64973
64973
|
if (c.universalResolverAddress)
|
|
@@ -65004,7 +65004,7 @@ var yx = {}, nV;
|
|
|
65004
65004
|
function VLe() {
|
|
65005
65005
|
if (nV) return yx;
|
|
65006
65006
|
nV = 1, Object.defineProperty(yx, "__esModule", { value: !0 }), yx.getEnsResolver = o;
|
|
65007
|
-
const e = Bo(), t = _e(), r = bq(), n = at(), a =
|
|
65007
|
+
const e = Bo(), t = _e(), r = bq(), n = at(), a = Ma();
|
|
65008
65008
|
async function o(i, s) {
|
|
65009
65009
|
const { blockNumber: c, blockTag: u, name: l } = s, { chain: d } = i, f = (() => {
|
|
65010
65010
|
if (s.universalResolverAddress)
|
|
@@ -65235,7 +65235,7 @@ var pV;
|
|
|
65235
65235
|
function JLe() {
|
|
65236
65236
|
if (pV) return Tx;
|
|
65237
65237
|
pV = 1, Object.defineProperty(Tx, "__esModule", { value: !0 }), Tx.getEip712Domain = n;
|
|
65238
|
-
const e = XLe(), t = at(), r =
|
|
65238
|
+
const e = XLe(), t = at(), r = Ma();
|
|
65239
65239
|
async function n(o, i) {
|
|
65240
65240
|
const { address: s, factory: c, factoryData: u } = i;
|
|
65241
65241
|
try {
|
|
@@ -65317,7 +65317,7 @@ var Px = {}, bV;
|
|
|
65317
65317
|
function eHe() {
|
|
65318
65318
|
if (bV) return Px;
|
|
65319
65319
|
bV = 1, Object.defineProperty(Px, "__esModule", { value: !0 }), Px.getFilterLogs = r;
|
|
65320
|
-
const e = c5(), t =
|
|
65320
|
+
const e = c5(), t = Ra();
|
|
65321
65321
|
async function r(n, { filter: a }) {
|
|
65322
65322
|
const o = a.strict ?? !1, s = (await a.request({
|
|
65323
65323
|
method: "eth_getFilterLogs",
|
|
@@ -65427,7 +65427,7 @@ var Rx = {}, Xf = {}, oi = {}, wV;
|
|
|
65427
65427
|
function CP() {
|
|
65428
65428
|
if (wV) return oi;
|
|
65429
65429
|
wV = 1, Object.defineProperty(oi, "__esModule", { value: !0 }), oi.assertTransactionEIP7702 = d, oi.assertTransactionEIP4844 = f, oi.assertTransactionEIP1559 = h, oi.assertTransactionEIP2930 = b, oi.assertTransactionLegacy = m;
|
|
65430
|
-
const e = Nhe(), t = r5(), r = Or(), n = Fe(), a = Dhe(), o = lc(), i =
|
|
65430
|
+
const e = Nhe(), t = r5(), r = Or(), n = Fe(), a = Dhe(), o = lc(), i = Ia(), s = sr(), c = Zr(), u = In(), l = xt();
|
|
65431
65431
|
function d(g) {
|
|
65432
65432
|
const { authorizationList: C } = g;
|
|
65433
65433
|
if (C)
|
|
@@ -65519,7 +65519,7 @@ var CV;
|
|
|
65519
65519
|
function Ro() {
|
|
65520
65520
|
if (CV) return Xf;
|
|
65521
65521
|
CV = 1, Object.defineProperty(Xf, "__esModule", { value: !0 }), Xf.serializeTransaction = h, Xf.toYParitySignatureArray = w;
|
|
65522
|
-
const e = Xr(), t = s0e(), r = dP(), n = fP(), a = YU(), o = mP(), i = It(), s =
|
|
65522
|
+
const e = Xr(), t = s0e(), r = dP(), n = fP(), a = YU(), o = mP(), i = It(), s = Oa(), c = _e(), u = ji(), l = CP(), d = a5(), f = _P();
|
|
65523
65523
|
function h(y, E) {
|
|
65524
65524
|
const x = (0, d.getTransactionType)(y);
|
|
65525
65525
|
return x === "eip1559" ? g(y, E) : x === "eip2930" ? C(y, E) : x === "eip4844" ? m(y, E) : x === "eip7702" ? b(y, E) : _(y, E);
|
|
@@ -66571,10 +66571,10 @@ function Yu() {
|
|
|
66571
66571
|
}
|
|
66572
66572
|
return Hx;
|
|
66573
66573
|
}
|
|
66574
|
-
var fs = {}, ps = {},
|
|
66574
|
+
var fs = {}, ps = {}, io = {}, ZV;
|
|
66575
66575
|
function C0e() {
|
|
66576
|
-
if (ZV) return
|
|
66577
|
-
ZV = 1, Object.defineProperty(
|
|
66576
|
+
if (ZV) return io;
|
|
66577
|
+
ZV = 1, Object.defineProperty(io, "__esModule", { value: !0 }), io.InvalidStructTypeError = io.InvalidPrimaryTypeError = io.InvalidDomainError = void 0;
|
|
66578
66578
|
const e = pr(), t = Fe();
|
|
66579
66579
|
class r extends t.BaseError {
|
|
66580
66580
|
constructor({ domain: i }) {
|
|
@@ -66583,7 +66583,7 @@ function C0e() {
|
|
|
66583
66583
|
});
|
|
66584
66584
|
}
|
|
66585
66585
|
}
|
|
66586
|
-
|
|
66586
|
+
io.InvalidDomainError = r;
|
|
66587
66587
|
class n extends t.BaseError {
|
|
66588
66588
|
constructor({ primaryType: i, types: s }) {
|
|
66589
66589
|
super(`Invalid primary type \`${i}\` must be one of \`${JSON.stringify(Object.keys(s))}\`.`, {
|
|
@@ -66592,7 +66592,7 @@ function C0e() {
|
|
|
66592
66592
|
});
|
|
66593
66593
|
}
|
|
66594
66594
|
}
|
|
66595
|
-
|
|
66595
|
+
io.InvalidPrimaryTypeError = n;
|
|
66596
66596
|
class a extends t.BaseError {
|
|
66597
66597
|
constructor({ type: i }) {
|
|
66598
66598
|
super(`Struct type "${i}" is invalid.`, {
|
|
@@ -66601,7 +66601,7 @@ function C0e() {
|
|
|
66601
66601
|
});
|
|
66602
66602
|
}
|
|
66603
66603
|
}
|
|
66604
|
-
return
|
|
66604
|
+
return io.InvalidStructTypeError = a, io;
|
|
66605
66605
|
}
|
|
66606
66606
|
var QV;
|
|
66607
66607
|
function kP() {
|
|
@@ -66867,10 +66867,10 @@ function ia() {
|
|
|
66867
66867
|
}
|
|
66868
66868
|
return hs;
|
|
66869
66869
|
}
|
|
66870
|
-
var
|
|
66870
|
+
var Dt = {}, rW;
|
|
66871
66871
|
function xP() {
|
|
66872
|
-
if (rW) return
|
|
66873
|
-
rW = 1, Object.defineProperty(
|
|
66872
|
+
if (rW) return Dt;
|
|
66873
|
+
rW = 1, Object.defineProperty(Dt, "__esModule", { value: !0 }), Dt.InvalidSerializedSizeError = Dt.InvalidUncompressedPrefixError = Dt.InvalidCompressedPrefixError = Dt.InvalidPrefixError = Dt.InvalidError = void 0, Dt.assert = a, Dt.compress = o, Dt.from = i, Dt.fromBytes = s, Dt.fromHex = c, Dt.toBytes = u, Dt.toHex = l, Dt.validate = d;
|
|
66874
66874
|
const e = bn(), t = Xt(), r = Qe(), n = u5();
|
|
66875
66875
|
function a(C, _ = {}) {
|
|
66876
66876
|
const { compressed: w } = _, { prefix: y, x: E, y: x } = C;
|
|
@@ -66969,7 +66969,7 @@ function xP() {
|
|
|
66969
66969
|
});
|
|
66970
66970
|
}
|
|
66971
66971
|
}
|
|
66972
|
-
|
|
66972
|
+
Dt.InvalidError = f;
|
|
66973
66973
|
class h extends t.BaseError {
|
|
66974
66974
|
constructor({ prefix: _, cause: w }) {
|
|
66975
66975
|
super(`Prefix "${_}" is invalid.`, {
|
|
@@ -66982,7 +66982,7 @@ function xP() {
|
|
|
66982
66982
|
});
|
|
66983
66983
|
}
|
|
66984
66984
|
}
|
|
66985
|
-
|
|
66985
|
+
Dt.InvalidPrefixError = h;
|
|
66986
66986
|
class b extends t.BaseError {
|
|
66987
66987
|
constructor() {
|
|
66988
66988
|
super("Prefix must be 2 or 3 for compressed public keys."), Object.defineProperty(this, "name", {
|
|
@@ -66993,7 +66993,7 @@ function xP() {
|
|
|
66993
66993
|
});
|
|
66994
66994
|
}
|
|
66995
66995
|
}
|
|
66996
|
-
|
|
66996
|
+
Dt.InvalidCompressedPrefixError = b;
|
|
66997
66997
|
class m extends t.BaseError {
|
|
66998
66998
|
constructor() {
|
|
66999
66999
|
super("Prefix must be 4 for uncompressed public keys."), Object.defineProperty(this, "name", {
|
|
@@ -67004,7 +67004,7 @@ function xP() {
|
|
|
67004
67004
|
});
|
|
67005
67005
|
}
|
|
67006
67006
|
}
|
|
67007
|
-
|
|
67007
|
+
Dt.InvalidUncompressedPrefixError = m;
|
|
67008
67008
|
class g extends t.BaseError {
|
|
67009
67009
|
constructor({ publicKey: _ }) {
|
|
67010
67010
|
super(`Value \`${_}\` is an invalid public key size.`, {
|
|
@@ -67020,7 +67020,7 @@ function xP() {
|
|
|
67020
67020
|
});
|
|
67021
67021
|
}
|
|
67022
67022
|
}
|
|
67023
|
-
return
|
|
67023
|
+
return Dt.InvalidSerializedSizeError = g, Dt;
|
|
67024
67024
|
}
|
|
67025
67025
|
var nW;
|
|
67026
67026
|
function Si() {
|
|
@@ -68500,7 +68500,7 @@ var nu = {}, TW;
|
|
|
68500
68500
|
function AP() {
|
|
68501
68501
|
if (TW) return nu;
|
|
68502
68502
|
TW = 1, Object.defineProperty(nu, "__esModule", { value: !0 }), nu.parseTransaction = f, nu.toTransactionArray = _, nu.parseAccessList = w;
|
|
68503
|
-
const e = Or(), t = Xr(), r = sr(), n = mP(), a = Er(), o = jo(), i =
|
|
68503
|
+
const e = Or(), t = Xr(), r = sr(), n = mP(), a = Er(), o = jo(), i = Oa(), s = xt(), c = Eq(), u = Cq(), l = CP(), d = Mq();
|
|
68504
68504
|
function f(x) {
|
|
68505
68505
|
const k = (0, d.getSerializedTransactionType)(x);
|
|
68506
68506
|
return k === "eip1559" ? m(x) : k === "eip2930" ? g(x) : k === "eip4844" ? b(x) : k === "eip7702" ? h(x) : C(x);
|
|
@@ -68953,7 +68953,7 @@ function Uq() {
|
|
|
68953
68953
|
} }), Object.defineProperty(e, "sliceHex", { enumerable: !0, get: function() {
|
|
68954
68954
|
return Q.sliceHex;
|
|
68955
68955
|
} });
|
|
68956
|
-
var K =
|
|
68956
|
+
var K = Oa();
|
|
68957
68957
|
Object.defineProperty(e, "trim", { enumerable: !0, get: function() {
|
|
68958
68958
|
return K.trim;
|
|
68959
68959
|
} });
|
|
@@ -69051,7 +69051,7 @@ function Uq() {
|
|
|
69051
69051
|
Object.defineProperty(e, "defineFormatter", { enumerable: !0, get: function() {
|
|
69052
69052
|
return ke.defineFormatter;
|
|
69053
69053
|
} });
|
|
69054
|
-
var qe =
|
|
69054
|
+
var qe = Ra();
|
|
69055
69055
|
Object.defineProperty(e, "formatLog", { enumerable: !0, get: function() {
|
|
69056
69056
|
return qe.formatLog;
|
|
69057
69057
|
} });
|
|
@@ -69139,11 +69139,11 @@ function Uq() {
|
|
|
69139
69139
|
} }), Object.defineProperty(e, "integerRegex", { enumerable: !0, get: function() {
|
|
69140
69140
|
return Jt.integerRegex;
|
|
69141
69141
|
} });
|
|
69142
|
-
var
|
|
69142
|
+
var zt = v0e();
|
|
69143
69143
|
Object.defineProperty(e, "getSocket", { enumerable: !0, get: function() {
|
|
69144
|
-
return
|
|
69144
|
+
return zt.getSocket;
|
|
69145
69145
|
} }), Object.defineProperty(e, "rpc", { enumerable: !0, get: function() {
|
|
69146
|
-
return
|
|
69146
|
+
return zt.rpc;
|
|
69147
69147
|
} });
|
|
69148
69148
|
var He = xq();
|
|
69149
69149
|
Object.defineProperty(e, "getHttpRpcClient", { enumerable: !0, get: function() {
|
|
@@ -69155,9 +69155,9 @@ function Uq() {
|
|
|
69155
69155
|
} }), Object.defineProperty(e, "socketClientCache", { enumerable: !0, get: function() {
|
|
69156
69156
|
return Ue.socketClientCache;
|
|
69157
69157
|
} });
|
|
69158
|
-
var
|
|
69158
|
+
var Ft = Tq();
|
|
69159
69159
|
Object.defineProperty(e, "getWebSocketRpcClient", { enumerable: !0, get: function() {
|
|
69160
|
-
return
|
|
69160
|
+
return Ft.getWebSocketRpcClient;
|
|
69161
69161
|
} });
|
|
69162
69162
|
var gn = Yu();
|
|
69163
69163
|
Object.defineProperty(e, "hashMessage", { enumerable: !0, get: function() {
|
|
@@ -69181,17 +69181,17 @@ function Uq() {
|
|
|
69181
69181
|
Object.defineProperty(e, "parseErc6492Signature", { enumerable: !0, get: function() {
|
|
69182
69182
|
return Oi.parseErc6492Signature;
|
|
69183
69183
|
} });
|
|
69184
|
-
var
|
|
69184
|
+
var Ua = T0e();
|
|
69185
69185
|
Object.defineProperty(e, "parseErc8010Signature", { enumerable: !0, get: function() {
|
|
69186
|
-
return
|
|
69186
|
+
return Ua.parseErc8010Signature;
|
|
69187
69187
|
} });
|
|
69188
69188
|
var Ii = Ti();
|
|
69189
69189
|
Object.defineProperty(e, "recoverAddress", { enumerable: !0, get: function() {
|
|
69190
69190
|
return Ii.recoverAddress;
|
|
69191
69191
|
} });
|
|
69192
|
-
var
|
|
69192
|
+
var qa = Iq();
|
|
69193
69193
|
Object.defineProperty(e, "recoverMessageAddress", { enumerable: !0, get: function() {
|
|
69194
|
-
return
|
|
69194
|
+
return qa.recoverMessageAddress;
|
|
69195
69195
|
} });
|
|
69196
69196
|
var Ri = WU();
|
|
69197
69197
|
Object.defineProperty(e, "recoverPublicKey", { enumerable: !0, get: function() {
|
|
@@ -69249,9 +69249,9 @@ function Uq() {
|
|
|
69249
69249
|
Object.defineProperty(e, "parseTransaction", { enumerable: !0, get: function() {
|
|
69250
69250
|
return qi.parseTransaction;
|
|
69251
69251
|
} });
|
|
69252
|
-
var
|
|
69252
|
+
var za = _P();
|
|
69253
69253
|
Object.defineProperty(e, "serializeAccessList", { enumerable: !0, get: function() {
|
|
69254
|
-
return
|
|
69254
|
+
return za.serializeAccessList;
|
|
69255
69255
|
} });
|
|
69256
69256
|
var qo = Ro();
|
|
69257
69257
|
Object.defineProperty(e, "serializeTransaction", { enumerable: !0, get: function() {
|
|
@@ -69283,9 +69283,9 @@ function Uq() {
|
|
|
69283
69283
|
Object.defineProperty(e, "parseGwei", { enumerable: !0, get: function() {
|
|
69284
69284
|
return Di.parseGwei;
|
|
69285
69285
|
} });
|
|
69286
|
-
var
|
|
69286
|
+
var Fa = PP();
|
|
69287
69287
|
Object.defineProperty(e, "parseUnits", { enumerable: !0, get: function() {
|
|
69288
|
-
return
|
|
69288
|
+
return Fa.parseUnits;
|
|
69289
69289
|
} });
|
|
69290
69290
|
})(QO)), QO;
|
|
69291
69291
|
}
|
|
@@ -69404,7 +69404,7 @@ var lT = {}, zW;
|
|
|
69404
69404
|
function mHe() {
|
|
69405
69405
|
if (zW) return lT;
|
|
69406
69406
|
zW = 1, Object.defineProperty(lT, "__esModule", { value: !0 }), lT.multicall = d;
|
|
69407
|
-
const e = Pi(), t = l5(), r = Ot(), n = Fe(), a = _i(), o = So(), i = Qr(), s = Bo(), c = xi(), u = at(), l =
|
|
69407
|
+
const e = Pi(), t = l5(), r = Ot(), n = Fe(), a = _i(), o = So(), i = Qr(), s = Bo(), c = xi(), u = at(), l = Ma();
|
|
69408
69408
|
async function d(f, h) {
|
|
69409
69409
|
const { account: b, authorizationList: m, allowFailure: g = !0, blockNumber: C, blockOverrides: _, blockTag: w, stateOverride: y } = h, E = h.contracts, { batchSize: x = h.batchSize ?? 1024, deployless: k = h.deployless ?? !1 } = typeof f.batch?.multicall == "object" ? f.batch.multicall : {}, P = (() => {
|
|
69410
69410
|
if (h.multicallAddress)
|
|
@@ -69517,7 +69517,7 @@ var dT = {}, FW;
|
|
|
69517
69517
|
function U0e() {
|
|
69518
69518
|
if (FW) return dT;
|
|
69519
69519
|
FW = 1, Object.defineProperty(dT, "__esModule", { value: !0 }), dT.simulateBlocks = g;
|
|
69520
|
-
const e = /* @__PURE__ */ Whe(), t = Et(), r = Ot(), n = _i(), a =
|
|
69520
|
+
const e = /* @__PURE__ */ Whe(), t = Et(), r = Ot(), n = _i(), a = Ia(), o = So(), i = Qr(), s = It(), c = _e(), u = xi(), l = e5(), d = cc(), f = Ra(), h = Cr(), b = ZU(), m = Mn();
|
|
69521
69521
|
async function g(C, _) {
|
|
69522
69522
|
const { blockNumber: w, blockTag: y = C.experimental_blockTag ?? "latest", blocks: E, returnFullTransactions: x, traceTransfers: k, validation: P } = _;
|
|
69523
69523
|
try {
|
|
@@ -70188,7 +70188,7 @@ var QW;
|
|
|
70188
70188
|
function m5() {
|
|
70189
70189
|
if (QW) return ou;
|
|
70190
70190
|
QW = 1, Object.defineProperty(ou, "__esModule", { value: !0 }), ou.verifyHash = y, ou.verifyErc8010 = E, ou.verifyErc1271 = k;
|
|
70191
|
-
const e = /* @__PURE__ */ wHe(), t = /* @__PURE__ */ jP(), r = Pi(), n = l5(), a = _i(), o = d5(), i = Qr(), s = hn(), c = oa(), u = c0e(), l = It(), d = Er(), f = xt(), h = _e(), b = at(), m = Ti(), g = SP(), C = f5(), _ = gq(), w =
|
|
70191
|
+
const e = /* @__PURE__ */ wHe(), t = /* @__PURE__ */ jP(), r = Pi(), n = l5(), a = _i(), o = d5(), i = Qr(), s = hn(), c = oa(), u = c0e(), l = It(), d = Er(), f = xt(), h = _e(), b = at(), m = Ti(), g = SP(), C = f5(), _ = gq(), w = Ma();
|
|
70192
70192
|
async function y(j, A) {
|
|
70193
70193
|
const { address: I, chain: O = j.chain, hash: S, erc6492VerifierAddress: z = A.universalSignatureVerifierAddress ?? O?.contracts?.erc6492Verifier?.address, multicallAddress: L = A.multicallAddress ?? O?.contracts?.multicall3?.address } = A;
|
|
70194
70194
|
if (O?.verifyHash)
|
|
@@ -70607,7 +70607,7 @@ var vT = {}, tK;
|
|
|
70607
70607
|
function kHe() {
|
|
70608
70608
|
if (tK) return vT;
|
|
70609
70609
|
tK = 1, Object.defineProperty(vT, "__esModule", { value: !0 }), vT.watchEvent = b;
|
|
70610
|
-
const e = Ot(), t = ki(), r = s5(), n = oc(), a =
|
|
70610
|
+
const e = Ot(), t = ki(), r = s5(), n = oc(), a = Ra(), o = at(), i = dc(), s = Xu(), c = pr(), u = n0e(), l = p5(), d = yP(), f = tq(), h = gP();
|
|
70611
70611
|
function b(m, { address: g, args: C, batch: _ = !0, event: w, events: y, fromBlock: E, onError: x, onLogs: k, poll: P, pollingInterval: j = m.pollingInterval, strict: A }) {
|
|
70612
70612
|
const I = typeof P < "u" ? P : typeof E == "bigint" ? !0 : !(m.transport.type === "webSocket" || m.transport.type === "ipc" || m.transport.type === "fallback" && (m.transport.transports[0].config.type === "webSocket" || m.transport.transports[0].config.type === "ipc")), O = A ?? !1;
|
|
70613
70613
|
return I ? (() => {
|
|
@@ -70888,7 +70888,7 @@ var sK;
|
|
|
70888
70888
|
function D0e() {
|
|
70889
70889
|
if (sK) return ox;
|
|
70890
70890
|
sK = 1, Object.defineProperty(ox, "__esModule", { value: !0 }), ox.publicActions = qe;
|
|
70891
|
-
const e = NLe(), t = HLe(), r = GLe(), n = VLe(), a = t0e(), o = f5(), i = r0e(), s = WLe(), c = FU(), u = n0e(), l = a0e(), d = Hhe(), f = zhe(), h = eq(), b = qhe(), m = $U(), g = KLe(), C = ZLe(), _ = uc(), w = p5(), y = QLe(), E = Ai(), x = gq(), k = rq(), P = JLe(), j = $Le(), A = yP(), I = eHe(), O = XU(), S = tq(), z = dHe(), L = fHe(), F = qq(), q = pHe(), H = lP(), N = M0e(), D = mHe(), U =
|
|
70891
|
+
const e = NLe(), t = HLe(), r = GLe(), n = VLe(), a = t0e(), o = f5(), i = r0e(), s = WLe(), c = FU(), u = n0e(), l = a0e(), d = Hhe(), f = zhe(), h = eq(), b = qhe(), m = $U(), g = KLe(), C = ZLe(), _ = uc(), w = p5(), y = QLe(), E = Ai(), x = gq(), k = rq(), P = JLe(), j = $Le(), A = yP(), I = eHe(), O = XU(), S = tq(), z = dHe(), L = fHe(), F = qq(), q = pHe(), H = lP(), N = M0e(), D = mHe(), U = Ma(), V = U0e(), Q = gHe(), K = Khe(), Z = gP(), J = m5(), Y = EHe(), ne = CHe(), te = N0e(), oe = F0e(), ae = _He(), we = Qhe(), le = kHe(), de = xHe(), he = AHe(), ge = i5(), Ee = lq(), ke = zq();
|
|
70892
70892
|
function qe(be) {
|
|
70893
70893
|
return {
|
|
70894
70894
|
call: (ue) => (0, o.call)(be, ue),
|
|
@@ -71962,7 +71962,7 @@ var iu = {}, uZ;
|
|
|
71962
71962
|
function xGe() {
|
|
71963
71963
|
if (uZ) return iu;
|
|
71964
71964
|
uZ = 1, Object.defineProperty(iu, "__esModule", { value: !0 }), iu.fallback = a, iu.shouldThrow = o, iu.rankTransports = i;
|
|
71965
|
-
const e =
|
|
71965
|
+
const e = Ia(), t = ki(), r = uq(), n = h5();
|
|
71966
71966
|
function a(s, c = {}) {
|
|
71967
71967
|
const { key: u = "fallback", name: l = "Fallback", rank: d = !1, shouldThrow: f = o, retryCount: h, retryDelay: b } = c;
|
|
71968
71968
|
return (({ chain: m, pollingInterval: g = 4e3, timeout: C, ..._ }) => {
|
|
@@ -72937,7 +72937,7 @@ function b5() {
|
|
|
72937
72937
|
Object.defineProperty(e, "FilterTypeNotSupportedError", { enumerable: !0, get: function() {
|
|
72938
72938
|
return N.FilterTypeNotSupportedError;
|
|
72939
72939
|
} });
|
|
72940
|
-
var D =
|
|
72940
|
+
var D = Ia();
|
|
72941
72941
|
Object.defineProperty(e, "ExecutionRevertedError", { enumerable: !0, get: function() {
|
|
72942
72942
|
return D.ExecutionRevertedError;
|
|
72943
72943
|
} }), Object.defineProperty(e, "FeeCapTooHighError", { enumerable: !0, get: function() {
|
|
@@ -73195,9 +73195,9 @@ function b5() {
|
|
|
73195
73195
|
Object.defineProperty(e, "toBlobSidecars", { enumerable: !0, get: function() {
|
|
73196
73196
|
return Jt.toBlobSidecars;
|
|
73197
73197
|
} });
|
|
73198
|
-
var
|
|
73198
|
+
var zt = Lhe();
|
|
73199
73199
|
Object.defineProperty(e, "toBlobs", { enumerable: !0, get: function() {
|
|
73200
|
-
return
|
|
73200
|
+
return zt.toBlobs;
|
|
73201
73201
|
} });
|
|
73202
73202
|
var He = cq();
|
|
73203
73203
|
Object.defineProperty(e, "ccipRequest", { enumerable: !0, get: function() {
|
|
@@ -73215,11 +73215,11 @@ function b5() {
|
|
|
73215
73215
|
Object.defineProperty(e, "assertCurrentChain", { enumerable: !0, get: function() {
|
|
73216
73216
|
return Ue.assertCurrentChain;
|
|
73217
73217
|
} });
|
|
73218
|
-
var
|
|
73218
|
+
var Ft = R();
|
|
73219
73219
|
Object.defineProperty(e, "defineChain", { enumerable: !0, get: function() {
|
|
73220
|
-
return
|
|
73220
|
+
return Ft.defineChain;
|
|
73221
73221
|
} }), Object.defineProperty(e, "extendSchema", { enumerable: !0, get: function() {
|
|
73222
|
-
return
|
|
73222
|
+
return Ft.extendSchema;
|
|
73223
73223
|
} });
|
|
73224
73224
|
var gn = wq();
|
|
73225
73225
|
Object.defineProperty(e, "extractChain", { enumerable: !0, get: function() {
|
|
@@ -73245,27 +73245,27 @@ function b5() {
|
|
|
73245
73245
|
Object.defineProperty(e, "isHex", { enumerable: !0, get: function() {
|
|
73246
73246
|
return Oi.isHex;
|
|
73247
73247
|
} });
|
|
73248
|
-
var
|
|
73248
|
+
var Ua = jo();
|
|
73249
73249
|
Object.defineProperty(e, "pad", { enumerable: !0, get: function() {
|
|
73250
|
-
return
|
|
73250
|
+
return Ua.pad;
|
|
73251
73251
|
} }), Object.defineProperty(e, "padBytes", { enumerable: !0, get: function() {
|
|
73252
|
-
return
|
|
73252
|
+
return Ua.padBytes;
|
|
73253
73253
|
} }), Object.defineProperty(e, "padHex", { enumerable: !0, get: function() {
|
|
73254
|
-
return
|
|
73254
|
+
return Ua.padHex;
|
|
73255
73255
|
} });
|
|
73256
73256
|
var Ii = Zr();
|
|
73257
73257
|
Object.defineProperty(e, "size", { enumerable: !0, get: function() {
|
|
73258
73258
|
return Ii.size;
|
|
73259
73259
|
} });
|
|
73260
|
-
var
|
|
73260
|
+
var qa = In();
|
|
73261
73261
|
Object.defineProperty(e, "slice", { enumerable: !0, get: function() {
|
|
73262
|
-
return
|
|
73262
|
+
return qa.slice;
|
|
73263
73263
|
} }), Object.defineProperty(e, "sliceBytes", { enumerable: !0, get: function() {
|
|
73264
|
-
return
|
|
73264
|
+
return qa.sliceBytes;
|
|
73265
73265
|
} }), Object.defineProperty(e, "sliceHex", { enumerable: !0, get: function() {
|
|
73266
|
-
return
|
|
73266
|
+
return qa.sliceHex;
|
|
73267
73267
|
} });
|
|
73268
|
-
var Ri =
|
|
73268
|
+
var Ri = Oa();
|
|
73269
73269
|
Object.defineProperty(e, "trim", { enumerable: !0, get: function() {
|
|
73270
73270
|
return Ri.trim;
|
|
73271
73271
|
} });
|
|
@@ -73351,17 +73351,17 @@ function b5() {
|
|
|
73351
73351
|
} }), Object.defineProperty(e, "formatBlock", { enumerable: !0, get: function() {
|
|
73352
73352
|
return Uo.formatBlock;
|
|
73353
73353
|
} });
|
|
73354
|
-
var qi =
|
|
73354
|
+
var qi = Ra();
|
|
73355
73355
|
Object.defineProperty(e, "formatLog", { enumerable: !0, get: function() {
|
|
73356
73356
|
return qi.formatLog;
|
|
73357
73357
|
} });
|
|
73358
|
-
var
|
|
73358
|
+
var za = aa();
|
|
73359
73359
|
Object.defineProperty(e, "defineTransaction", { enumerable: !0, get: function() {
|
|
73360
|
-
return
|
|
73360
|
+
return za.defineTransaction;
|
|
73361
73361
|
} }), Object.defineProperty(e, "formatTransaction", { enumerable: !0, get: function() {
|
|
73362
|
-
return
|
|
73362
|
+
return za.formatTransaction;
|
|
73363
73363
|
} }), Object.defineProperty(e, "transactionType", { enumerable: !0, get: function() {
|
|
73364
|
-
return
|
|
73364
|
+
return za.transactionType;
|
|
73365
73365
|
} });
|
|
73366
73366
|
var qo = Io();
|
|
73367
73367
|
Object.defineProperty(e, "defineTransactionReceipt", { enumerable: !0, get: function() {
|
|
@@ -73397,11 +73397,11 @@ function b5() {
|
|
|
73397
73397
|
Object.defineProperty(e, "toEventHash", { enumerable: !0, get: function() {
|
|
73398
73398
|
return Di.toEventHash;
|
|
73399
73399
|
} });
|
|
73400
|
-
var
|
|
73400
|
+
var Fa = Zu();
|
|
73401
73401
|
Object.defineProperty(e, "toEventSelector", { enumerable: !0, get: function() {
|
|
73402
|
-
return
|
|
73402
|
+
return Fa.toEventSelector;
|
|
73403
73403
|
} }), Object.defineProperty(e, "getEventSelector", { enumerable: !0, get: function() {
|
|
73404
|
-
return
|
|
73404
|
+
return Fa.toEventSelector;
|
|
73405
73405
|
} });
|
|
73406
73406
|
var hc = m0e();
|
|
73407
73407
|
Object.defineProperty(e, "toEventSignature", { enumerable: !0, get: function() {
|
|
@@ -73447,9 +73447,9 @@ function b5() {
|
|
|
73447
73447
|
Object.defineProperty(e, "withRetry", { enumerable: !0, get: function() {
|
|
73448
73448
|
return ol.withRetry;
|
|
73449
73449
|
} });
|
|
73450
|
-
var
|
|
73450
|
+
var Na = kq();
|
|
73451
73451
|
Object.defineProperty(e, "withTimeout", { enumerable: !0, get: function() {
|
|
73452
|
-
return
|
|
73452
|
+
return Na.withTimeout;
|
|
73453
73453
|
} });
|
|
73454
73454
|
var il = RGe();
|
|
73455
73455
|
Object.defineProperty(e, "compactSignatureToSignature", { enumerable: !0, get: function() {
|
|
@@ -74213,7 +74213,7 @@ function Z0e() {
|
|
|
74213
74213
|
e.HDKey = C;
|
|
74214
74214
|
})(oI)), oI;
|
|
74215
74215
|
}
|
|
74216
|
-
var Fj = {},
|
|
74216
|
+
var Fj = {}, so = {}, cp = {}, PZ;
|
|
74217
74217
|
function NGe() {
|
|
74218
74218
|
if (PZ) return cp;
|
|
74219
74219
|
PZ = 1, Object.defineProperty(cp, "__esModule", { value: !0 }), cp.pbkdf2 = a, cp.pbkdf2Async = o;
|
|
@@ -74262,8 +74262,8 @@ function NGe() {
|
|
|
74262
74262
|
}
|
|
74263
74263
|
var SZ;
|
|
74264
74264
|
function Q0e() {
|
|
74265
|
-
if (SZ) return
|
|
74266
|
-
SZ = 1, Object.defineProperty(
|
|
74265
|
+
if (SZ) return so;
|
|
74266
|
+
SZ = 1, Object.defineProperty(so, "__esModule", { value: !0 }), so.generateMnemonic = c, so.mnemonicToEntropy = d, so.entropyToMnemonic = f, so.validateMnemonic = h, so.mnemonicToSeed = m, so.mnemonicToSeedSync = g;
|
|
74267
74267
|
const e = /* @__PURE__ */ NGe(), t = /* @__PURE__ */ Y_(), r = /* @__PURE__ */ ta(), n = /* @__PURE__ */ K0e(), a = (C) => C[0] === "あいこくしん";
|
|
74268
74268
|
function o(C) {
|
|
74269
74269
|
if (typeof C != "string")
|
|
@@ -74318,7 +74318,7 @@ function Q0e() {
|
|
|
74318
74318
|
function g(C, _ = "") {
|
|
74319
74319
|
return (0, e.pbkdf2)(t.sha512, i(C).nfkd, b(_), { c: 2048, dkLen: 64 });
|
|
74320
74320
|
}
|
|
74321
|
-
return
|
|
74321
|
+
return so;
|
|
74322
74322
|
}
|
|
74323
74323
|
var BZ;
|
|
74324
74324
|
function DGe() {
|
|
@@ -95333,18 +95333,18 @@ function sVe() {
|
|
|
95333
95333
|
testnet: !1
|
|
95334
95334
|
}), xp;
|
|
95335
95335
|
}
|
|
95336
|
-
var Tp = {}, jp = {}, uI = {},
|
|
95336
|
+
var Tp = {}, jp = {}, uI = {}, co = {}, sQ;
|
|
95337
95337
|
function BP() {
|
|
95338
|
-
if (sQ) return
|
|
95339
|
-
sQ = 1, Object.defineProperty(
|
|
95338
|
+
if (sQ) return co;
|
|
95339
|
+
sQ = 1, Object.defineProperty(co, "__esModule", { value: !0 }), co.requiredL1ToL2GasPerPubdataLimit = co.maxBytecodeSize = co.gasPerPubdataDefault = void 0;
|
|
95340
95340
|
const e = r5();
|
|
95341
|
-
return
|
|
95341
|
+
return co.gasPerPubdataDefault = 50000n, co.maxBytecodeSize = e.maxUint16 * 32n, co.requiredL1ToL2GasPerPubdataLimit = 800n, co;
|
|
95342
95342
|
}
|
|
95343
95343
|
var cQ;
|
|
95344
95344
|
function cVe() {
|
|
95345
95345
|
return cQ || (cQ = 1, (function(e) {
|
|
95346
95346
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.formatters = void 0;
|
|
95347
|
-
const t = xt(), r = ut(), n = _e(), a = cc(), o =
|
|
95347
|
+
const t = xt(), r = ut(), n = _e(), a = cc(), o = Ra(), i = aa(), s = Io(), c = Cr(), u = BP();
|
|
95348
95348
|
e.formatters = {
|
|
95349
95349
|
block: (0, a.defineBlock)({
|
|
95350
95350
|
format(l) {
|
|
@@ -95521,29 +95521,29 @@ function lVe() {
|
|
|
95521
95521
|
}
|
|
95522
95522
|
return su;
|
|
95523
95523
|
}
|
|
95524
|
-
var Pp = {}, Yj = {},
|
|
95524
|
+
var Pp = {}, Yj = {}, uo = {}, pQ;
|
|
95525
95525
|
function dVe() {
|
|
95526
|
-
if (pQ) return
|
|
95527
|
-
pQ = 1, Object.defineProperty(
|
|
95526
|
+
if (pQ) return uo;
|
|
95527
|
+
pQ = 1, Object.defineProperty(uo, "__esModule", { value: !0 }), uo.BytecodeLengthMustBeDivisibleBy32Error = uo.BytecodeLengthInWordsMustBeOddError = uo.BytecodeLengthExceedsMaxSizeError = void 0;
|
|
95528
95528
|
const e = Fe();
|
|
95529
95529
|
class t extends e.BaseError {
|
|
95530
95530
|
constructor({ givenLength: o, maxBytecodeSize: i }) {
|
|
95531
95531
|
super(`Bytecode cannot be longer than ${i} bytes. Given length: ${o}`, { name: "BytecodeLengthExceedsMaxSizeError" });
|
|
95532
95532
|
}
|
|
95533
95533
|
}
|
|
95534
|
-
|
|
95534
|
+
uo.BytecodeLengthExceedsMaxSizeError = t;
|
|
95535
95535
|
class r extends e.BaseError {
|
|
95536
95536
|
constructor({ givenLengthInWords: o }) {
|
|
95537
95537
|
super(`Bytecode length in 32-byte words must be odd. Given length in words: ${o}`, { name: "BytecodeLengthInWordsMustBeOddError" });
|
|
95538
95538
|
}
|
|
95539
95539
|
}
|
|
95540
|
-
|
|
95540
|
+
uo.BytecodeLengthInWordsMustBeOddError = r;
|
|
95541
95541
|
class n extends e.BaseError {
|
|
95542
95542
|
constructor({ givenLength: o }) {
|
|
95543
95543
|
super(`The bytecode length in bytes must be divisible by 32. Given length: ${o}`, { name: "BytecodeLengthMustBeDivisibleBy32Error" });
|
|
95544
95544
|
}
|
|
95545
95545
|
}
|
|
95546
|
-
return
|
|
95546
|
+
return uo.BytecodeLengthMustBeDivisibleBy32Error = n, uo;
|
|
95547
95547
|
}
|
|
95548
95548
|
var mQ;
|
|
95549
95549
|
function fVe() {
|
|
@@ -98638,7 +98638,7 @@ var gh = {}, vs = {}, sJ;
|
|
|
98638
98638
|
function sbe() {
|
|
98639
98639
|
if (sJ) return vs;
|
|
98640
98640
|
sJ = 1, Object.defineProperty(vs, "__esModule", { value: !0 }), vs.isEmpty = t, vs.isPresent = r, vs.isEIP1559 = n, vs.isCIP64 = a;
|
|
98641
|
-
const e =
|
|
98641
|
+
const e = Oa();
|
|
98642
98642
|
function t(o) {
|
|
98643
98643
|
return o === 0 || o === 0n || o === void 0 || o === null || o === "0" || o === "" || typeof o == "string" && ((0, e.trim)(o).toLowerCase() === "0x" || (0, e.trim)(o).toLowerCase() === "0x00");
|
|
98644
98644
|
}
|
|
@@ -98698,7 +98698,7 @@ var si = {}, uJ;
|
|
|
98698
98698
|
function tKe() {
|
|
98699
98699
|
if (uJ) return si;
|
|
98700
98700
|
uJ = 1, Object.defineProperty(si, "__esModule", { value: !0 }), si.serializers = void 0, si.serializeTransaction = h, si.assertTransactionCIP42 = g, si.assertTransactionCIP64 = C;
|
|
98701
|
-
const e = r5(), t = Or(), r = Fe(), n = lc(), a =
|
|
98701
|
+
const e = r5(), t = Or(), r = Fe(), n = lc(), a = Ia(), o = ibe(), i = sr(), s = It(), c = _e(), u = ji(), l = _P(), d = Ro(), f = sbe();
|
|
98702
98702
|
function h(_, w) {
|
|
98703
98703
|
return (0, f.isCIP64)(_) ? b(_, w) : (0, o.serializeTransaction)(_, w);
|
|
98704
98704
|
}
|
|
@@ -113777,10 +113777,10 @@ function lbe() {
|
|
|
113777
113777
|
}
|
|
113778
113778
|
return kn;
|
|
113779
113779
|
}
|
|
113780
|
-
var bI = {},
|
|
113780
|
+
var bI = {}, lo = {}, xie;
|
|
113781
113781
|
function mrt() {
|
|
113782
|
-
if (xie) return
|
|
113783
|
-
xie = 1, Object.defineProperty(
|
|
113782
|
+
if (xie) return lo;
|
|
113783
|
+
xie = 1, Object.defineProperty(lo, "__esModule", { value: !0 }), lo.fromBytes = i, lo.fromHex = s, lo.fromString = c, lo.toBytes = u, lo.toHex = l, lo.toString = d;
|
|
113784
113784
|
const e = bn(), t = Qe(), r = new TextEncoder(), n = new TextDecoder(), a = Object.fromEntries(Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").map((f, h) => [h, f.charCodeAt(0)])), o = {
|
|
113785
113785
|
...Object.fromEntries(Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").map((f, h) => [f.charCodeAt(0), h])),
|
|
113786
113786
|
61: 0,
|
|
@@ -113819,7 +113819,7 @@ function mrt() {
|
|
|
113819
113819
|
function d(f) {
|
|
113820
113820
|
return e.toString(u(f));
|
|
113821
113821
|
}
|
|
113822
|
-
return
|
|
113822
|
+
return lo;
|
|
113823
113823
|
}
|
|
113824
113824
|
var Aw = {}, Tie;
|
|
113825
113825
|
function hrt() {
|
|
@@ -114791,7 +114791,7 @@ function pbe() {
|
|
|
114791
114791
|
}
|
|
114792
114792
|
})(vI)), vI;
|
|
114793
114793
|
}
|
|
114794
|
-
var
|
|
114794
|
+
var fo = {}, EI = {}, Pw = {}, qie;
|
|
114795
114795
|
function vrt() {
|
|
114796
114796
|
if (qie) return Pw;
|
|
114797
114797
|
qie = 1, Object.defineProperty(Pw, "__esModule", { value: !0 }), Pw.fromRpc = t, Pw.toRpc = r;
|
|
@@ -114883,13 +114883,13 @@ function wrt() {
|
|
|
114883
114883
|
}
|
|
114884
114884
|
var Fie;
|
|
114885
114885
|
function Ert() {
|
|
114886
|
-
if (Fie) return
|
|
114887
|
-
Fie = 1, Object.defineProperty(
|
|
114886
|
+
if (Fie) return fo;
|
|
114887
|
+
Fie = 1, Object.defineProperty(fo, "__esModule", { value: !0 }), fo.toRpcType = fo.fromRpcType = void 0, fo.fromRpc = t, fo.toRpc = r;
|
|
114888
114888
|
const e = wrt();
|
|
114889
|
-
|
|
114889
|
+
fo.fromRpcType = {
|
|
114890
114890
|
...e.fromRpcType,
|
|
114891
114891
|
"0x76": "tempo"
|
|
114892
|
-
},
|
|
114892
|
+
}, fo.toRpcType = {
|
|
114893
114893
|
...e.toRpcType,
|
|
114894
114894
|
tempo: "0x76"
|
|
114895
114895
|
};
|
|
@@ -114903,7 +114903,7 @@ function Ert() {
|
|
|
114903
114903
|
feeToken: n.feeToken
|
|
114904
114904
|
};
|
|
114905
114905
|
}
|
|
114906
|
-
return
|
|
114906
|
+
return fo;
|
|
114907
114907
|
}
|
|
114908
114908
|
var t7 = {}, Sw = {}, Nie;
|
|
114909
114909
|
function Crt() {
|
|
@@ -118677,9 +118677,9 @@ function v5() {
|
|
|
118677
118677
|
Object.defineProperty(e, "bitlayer", { enumerable: !0, get: function() {
|
|
118678
118678
|
return Jt.bitlayer;
|
|
118679
118679
|
} });
|
|
118680
|
-
var
|
|
118680
|
+
var zt = xWe();
|
|
118681
118681
|
Object.defineProperty(e, "bitlayerTestnet", { enumerable: !0, get: function() {
|
|
118682
|
-
return
|
|
118682
|
+
return zt.bitlayerTestnet;
|
|
118683
118683
|
} });
|
|
118684
118684
|
var He = TWe();
|
|
118685
118685
|
Object.defineProperty(e, "bitrock", { enumerable: !0, get: function() {
|
|
@@ -118689,9 +118689,9 @@ function v5() {
|
|
|
118689
118689
|
Object.defineProperty(e, "bitTorrent", { enumerable: !0, get: function() {
|
|
118690
118690
|
return Ue.bitTorrent;
|
|
118691
118691
|
} });
|
|
118692
|
-
var
|
|
118692
|
+
var Ft = AWe();
|
|
118693
118693
|
Object.defineProperty(e, "bitTorrentTestnet", { enumerable: !0, get: function() {
|
|
118694
|
-
return
|
|
118694
|
+
return Ft.bitTorrentTestnet;
|
|
118695
118695
|
} });
|
|
118696
118696
|
var gn = PWe();
|
|
118697
118697
|
Object.defineProperty(e, "blast", { enumerable: !0, get: function() {
|
|
@@ -118713,17 +118713,17 @@ function v5() {
|
|
|
118713
118713
|
Object.defineProperty(e, "bobaSepolia", { enumerable: !0, get: function() {
|
|
118714
118714
|
return Oi.bobaSepolia;
|
|
118715
118715
|
} });
|
|
118716
|
-
var
|
|
118716
|
+
var Ua = RWe();
|
|
118717
118717
|
Object.defineProperty(e, "bobSepolia", { enumerable: !0, get: function() {
|
|
118718
|
-
return
|
|
118718
|
+
return Ua.bobSepolia;
|
|
118719
118719
|
} });
|
|
118720
118720
|
var Ii = MWe();
|
|
118721
118721
|
Object.defineProperty(e, "boolBetaMainnet", { enumerable: !0, get: function() {
|
|
118722
118722
|
return Ii.boolBetaMainnet;
|
|
118723
118723
|
} });
|
|
118724
|
-
var
|
|
118724
|
+
var qa = UWe();
|
|
118725
118725
|
Object.defineProperty(e, "botanix", { enumerable: !0, get: function() {
|
|
118726
|
-
return
|
|
118726
|
+
return qa.botanix;
|
|
118727
118727
|
} });
|
|
118728
118728
|
var Ri = qWe();
|
|
118729
118729
|
Object.defineProperty(e, "botanixTestnet", { enumerable: !0, get: function() {
|
|
@@ -118777,9 +118777,9 @@ function v5() {
|
|
|
118777
118777
|
Object.defineProperty(e, "bxn", { enumerable: !0, get: function() {
|
|
118778
118778
|
return qi.bxn;
|
|
118779
118779
|
} });
|
|
118780
|
-
var
|
|
118780
|
+
var za = XWe();
|
|
118781
118781
|
Object.defineProperty(e, "bxnTestnet", { enumerable: !0, get: function() {
|
|
118782
|
-
return
|
|
118782
|
+
return za.bxnTestnet;
|
|
118783
118783
|
} });
|
|
118784
118784
|
var qo = JWe();
|
|
118785
118785
|
Object.defineProperty(e, "cannon", { enumerable: !0, get: function() {
|
|
@@ -118809,9 +118809,9 @@ function v5() {
|
|
|
118809
118809
|
Object.defineProperty(e, "chiliz", { enumerable: !0, get: function() {
|
|
118810
118810
|
return Di.chiliz;
|
|
118811
118811
|
} });
|
|
118812
|
-
var
|
|
118812
|
+
var Fa = sKe();
|
|
118813
118813
|
Object.defineProperty(e, "chips", { enumerable: !0, get: function() {
|
|
118814
|
-
return
|
|
118814
|
+
return Fa.chips;
|
|
118815
118815
|
} });
|
|
118816
118816
|
var hc = cKe();
|
|
118817
118817
|
Object.defineProperty(e, "citreaTestnet", { enumerable: !0, get: function() {
|
|
@@ -118849,9 +118849,9 @@ function v5() {
|
|
|
118849
118849
|
Object.defineProperty(e, "coreDao", { enumerable: !0, get: function() {
|
|
118850
118850
|
return ol.coreDao;
|
|
118851
118851
|
} });
|
|
118852
|
-
var
|
|
118852
|
+
var Na = yKe();
|
|
118853
118853
|
Object.defineProperty(e, "coreTestnet1", { enumerable: !0, get: function() {
|
|
118854
|
-
return
|
|
118854
|
+
return Na.coreTestnet1;
|
|
118855
118855
|
} });
|
|
118856
118856
|
var il = gKe();
|
|
118857
118857
|
Object.defineProperty(e, "coreTestnet2", { enumerable: !0, get: function() {
|
|
@@ -119403,9 +119403,9 @@ function v5() {
|
|
|
119403
119403
|
Object.defineProperty(e, "hederaTestnet", { enumerable: !0, get: function() {
|
|
119404
119404
|
return jc.hederaTestnet;
|
|
119405
119405
|
} });
|
|
119406
|
-
var
|
|
119406
|
+
var Da = KQe();
|
|
119407
119407
|
Object.defineProperty(e, "hela", { enumerable: !0, get: function() {
|
|
119408
|
-
return
|
|
119408
|
+
return Da.hela;
|
|
119409
119409
|
} });
|
|
119410
119410
|
var GS = ZQe();
|
|
119411
119411
|
Object.defineProperty(e, "heliosTestnet", { enumerable: !0, get: function() {
|
|
@@ -119553,9 +119553,9 @@ function v5() {
|
|
|
119553
119553
|
Object.defineProperty(e, "iSunCoin", { enumerable: !0, get: function() {
|
|
119554
119554
|
return Z5.iSunCoin;
|
|
119555
119555
|
} });
|
|
119556
|
-
var
|
|
119556
|
+
var La = SXe();
|
|
119557
119557
|
Object.defineProperty(e, "jasmyChain", { enumerable: !0, get: function() {
|
|
119558
|
-
return
|
|
119558
|
+
return La.jasmyChain;
|
|
119559
119559
|
} });
|
|
119560
119560
|
var Q5 = BXe();
|
|
119561
119561
|
Object.defineProperty(e, "jasmyChainTestnet", { enumerable: !0, get: function() {
|
|
@@ -120053,9 +120053,9 @@ function v5() {
|
|
|
120053
120053
|
Object.defineProperty(e, "nomina", { enumerable: !0, get: function() {
|
|
120054
120054
|
return G4.nomina;
|
|
120055
120055
|
} });
|
|
120056
|
-
var
|
|
120056
|
+
var Ha = ZYe();
|
|
120057
120057
|
Object.defineProperty(e, "oasisTestnet", { enumerable: !0, get: function() {
|
|
120058
|
-
return
|
|
120058
|
+
return Ha.oasisTestnet;
|
|
120059
120059
|
} });
|
|
120060
120060
|
var V4 = QYe();
|
|
120061
120061
|
Object.defineProperty(e, "oasys", { enumerable: !0, get: function() {
|
|
@@ -120273,9 +120273,9 @@ function v5() {
|
|
|
120273
120273
|
Object.defineProperty(e, "ql1", { enumerable: !0, get: function() {
|
|
120274
120274
|
return je.ql1;
|
|
120275
120275
|
} });
|
|
120276
|
-
var
|
|
120276
|
+
var Nt = Q$e();
|
|
120277
120277
|
Object.defineProperty(e, "qMainnet", { enumerable: !0, get: function() {
|
|
120278
|
-
return
|
|
120278
|
+
return Nt.qMainnet;
|
|
120279
120279
|
} });
|
|
120280
120280
|
var cr = X$e();
|
|
120281
120281
|
Object.defineProperty(e, "qTestnet", { enumerable: !0, get: function() {
|
|
@@ -122212,17 +122212,17 @@ dt.RollingValueProvider;
|
|
|
122212
122212
|
const Ebe = dt.Solver, Iat = dt.Lock, Cbe = tNe({
|
|
122213
122213
|
appName: "Multichain Library",
|
|
122214
122214
|
projectId: "5119e426ef93d637395e119c5169ad79",
|
|
122215
|
-
chains: [
|
|
122215
|
+
chains: [Pa, Y7, l_, c_, Au, J7],
|
|
122216
122216
|
ssr: !1,
|
|
122217
122217
|
transports: {
|
|
122218
|
-
[
|
|
122218
|
+
[Pa.id]: ci([lr("https://ethereum-rpc.publicnode.com"), lr()]),
|
|
122219
122219
|
[Y7.id]: ci([lr("https://polygon.drpc.org"), lr()]),
|
|
122220
122220
|
[l_.id]: ci([lr()]),
|
|
122221
122221
|
[c_.id]: ci([lr()]),
|
|
122222
122222
|
[Au.id]: ci([lr()]),
|
|
122223
122223
|
[J7.id]: ci([lr("https://xdai.fairdatasociety.org"), lr()])
|
|
122224
122224
|
}
|
|
122225
|
-
}), _be = [
|
|
122225
|
+
}), _be = [Pa, Y7, l_, c_, Au, J7].map(
|
|
122226
122226
|
Gu
|
|
122227
122227
|
);
|
|
122228
122228
|
console.log("Relay chains", _be);
|
|
@@ -122277,7 +122277,7 @@ function Uat({ children: e, gap: t }) {
|
|
|
122277
122277
|
function Zs({ theme: e, children: t }) {
|
|
122278
122278
|
return /* @__PURE__ */ se.jsx(Uat, { gap: e.labelSpacing, children: t });
|
|
122279
122279
|
}
|
|
122280
|
-
function
|
|
122280
|
+
function Ca({ theme: e, children: t, color: r, small: n }) {
|
|
122281
122281
|
return /* @__PURE__ */ se.jsx(
|
|
122282
122282
|
"span",
|
|
122283
122283
|
{
|
|
@@ -122292,7 +122292,7 @@ function ho({ theme: e, children: t, color: r, small: n }) {
|
|
|
122292
122292
|
}
|
|
122293
122293
|
);
|
|
122294
122294
|
}
|
|
122295
|
-
function
|
|
122295
|
+
function Ut({ theme: e, children: t, testId: r, small: n, secondary: a }) {
|
|
122296
122296
|
return /* @__PURE__ */ se.jsx(
|
|
122297
122297
|
"p",
|
|
122298
122298
|
{
|
|
@@ -122308,34 +122308,34 @@ function Lt({ theme: e, children: t, testId: r, small: n, secondary: a }) {
|
|
|
122308
122308
|
}
|
|
122309
122309
|
);
|
|
122310
122310
|
}
|
|
122311
|
-
function zR({ theme: e, label: t, value: r, onChange: n,
|
|
122312
|
-
const [
|
|
122313
|
-
function
|
|
122314
|
-
let
|
|
122315
|
-
for (;
|
|
122316
|
-
|
|
122317
|
-
let
|
|
122318
|
-
if (isNaN(
|
|
122319
|
-
|
|
122311
|
+
function zR({ theme: e, label: t, value: r, onChange: n, onChangeRaw: a, min: o, max: i, placeholder: s, testId: c }) {
|
|
122312
|
+
const [u, l] = We(r.toString()), [d, f] = We(null);
|
|
122313
|
+
function h(b) {
|
|
122314
|
+
let m = b.target.value;
|
|
122315
|
+
for (a && a(m); m.startsWith("0") && m.length > 1 && !["."].includes(m[1]); )
|
|
122316
|
+
m = m.substring(1);
|
|
122317
|
+
let g = Number(m);
|
|
122318
|
+
if (isNaN(g)) {
|
|
122319
|
+
l(r.toString());
|
|
122320
122320
|
return;
|
|
122321
122321
|
}
|
|
122322
|
-
|
|
122322
|
+
l(m), g > i ? (g = i, l(g.toString()), f(`Maximum value is ${i}`)) : g < o ? (g = o, l(g.toString()), f(`Minimum value is ${o}`)) : f(null), n(g);
|
|
122323
122323
|
}
|
|
122324
122324
|
return /* @__PURE__ */ se.jsx("div", { className: "multichain__column multichain__column--full", children: /* @__PURE__ */ se.jsxs(Zs, { theme: e, children: [
|
|
122325
|
-
/* @__PURE__ */ se.jsxs(
|
|
122325
|
+
/* @__PURE__ */ se.jsxs(Ut, { theme: e, testId: `${c}__label`, children: [
|
|
122326
122326
|
t,
|
|
122327
|
-
/* @__PURE__ */ se.jsx(
|
|
122328
|
-
|
|
122327
|
+
/* @__PURE__ */ se.jsx(Ca, { theme: e, color: e.buttonBackgroundColor, children: "*" }),
|
|
122328
|
+
d && /* @__PURE__ */ se.jsxs(Ca, { theme: e, small: !0, color: e.errorTextColor, children: [
|
|
122329
122329
|
" ",
|
|
122330
|
-
|
|
122330
|
+
d
|
|
122331
122331
|
] })
|
|
122332
122332
|
] }),
|
|
122333
122333
|
/* @__PURE__ */ se.jsx(
|
|
122334
122334
|
"input",
|
|
122335
122335
|
{
|
|
122336
|
-
placeholder:
|
|
122337
|
-
value:
|
|
122338
|
-
onChange: (
|
|
122336
|
+
placeholder: s,
|
|
122337
|
+
value: u,
|
|
122338
|
+
onChange: (b) => h(b),
|
|
122339
122339
|
className: "multichain__input",
|
|
122340
122340
|
style: {
|
|
122341
122341
|
paddingTop: e.inputVerticalPadding,
|
|
@@ -122350,7 +122350,7 @@ function zR({ theme: e, label: t, value: r, onChange: n, min: a, max: o, placeho
|
|
|
122350
122350
|
fontSize: e.fontSize,
|
|
122351
122351
|
fontWeight: e.fontWeight
|
|
122352
122352
|
},
|
|
122353
|
-
"data-test-id":
|
|
122353
|
+
"data-test-id": c
|
|
122354
122354
|
}
|
|
122355
122355
|
)
|
|
122356
122356
|
] }) });
|
|
@@ -122435,7 +122435,7 @@ function Hat(e) {
|
|
|
122435
122435
|
}
|
|
122436
122436
|
}
|
|
122437
122437
|
function Gat({ theme: e, library: t, setSwapData: r }) {
|
|
122438
|
-
const n = Lat("reserved-slots") ? Number(ks("reserved-slots")) : 0, [a, o] =
|
|
122438
|
+
const n = Lat("reserved-slots") ? Number(ks("reserved-slots")) : 0, [a, o] = We(19 + n), [i, s] = We(7);
|
|
122439
122439
|
return ct(() => {
|
|
122440
122440
|
Dat(t).then((c) => {
|
|
122441
122441
|
r((u) => ({
|
|
@@ -122461,9 +122461,9 @@ function Gat({ theme: e, library: t, setSwapData: r }) {
|
|
|
122461
122461
|
}
|
|
122462
122462
|
),
|
|
122463
122463
|
/* @__PURE__ */ se.jsx("div", { className: "multichain__column multichain__column--full", children: /* @__PURE__ */ se.jsxs(Zs, { theme: e, children: [
|
|
122464
|
-
/* @__PURE__ */ se.jsxs(
|
|
122464
|
+
/* @__PURE__ */ se.jsxs(Ut, { theme: e, testId: "capacity-depth-input__label", children: [
|
|
122465
122465
|
"Capacity",
|
|
122466
|
-
/* @__PURE__ */ se.jsx(
|
|
122466
|
+
/* @__PURE__ */ se.jsx(Ca, { theme: e, color: e.buttonBackgroundColor, children: "*" })
|
|
122467
122467
|
] }),
|
|
122468
122468
|
/* @__PURE__ */ se.jsx(
|
|
122469
122469
|
qat,
|
|
@@ -122480,7 +122480,7 @@ function Gat({ theme: e, library: t, setSwapData: r }) {
|
|
|
122480
122480
|
] }) })
|
|
122481
122481
|
] });
|
|
122482
122482
|
}
|
|
122483
|
-
function Vat({ theme: e, swapData: t, setSwapData: r }) {
|
|
122483
|
+
function Vat({ theme: e, swapData: t, setSwapData: r, setNativeAmountRaw: n }) {
|
|
122484
122484
|
return /* @__PURE__ */ se.jsxs("div", { className: "multichain__row", children: [
|
|
122485
122485
|
/* @__PURE__ */ se.jsx(
|
|
122486
122486
|
zR,
|
|
@@ -122491,7 +122491,8 @@ function Vat({ theme: e, swapData: t, setSwapData: r }) {
|
|
|
122491
122491
|
max: 10,
|
|
122492
122492
|
min: 0,
|
|
122493
122493
|
value: t.nativeAmount,
|
|
122494
|
-
onChange: (
|
|
122494
|
+
onChange: (a) => r((o) => ({ ...o, nativeAmount: a })),
|
|
122495
|
+
onChangeRaw: (a) => n(a),
|
|
122495
122496
|
testId: "xdai-input"
|
|
122496
122497
|
}
|
|
122497
122498
|
),
|
|
@@ -122504,7 +122505,7 @@ function Vat({ theme: e, swapData: t, setSwapData: r }) {
|
|
|
122504
122505
|
max: 200,
|
|
122505
122506
|
min: 0,
|
|
122506
122507
|
value: t.bzzAmount,
|
|
122507
|
-
onChange: (
|
|
122508
|
+
onChange: (a) => r((o) => ({ ...o, bzzAmount: Number(a) })),
|
|
122508
122509
|
testId: "xbzz-input"
|
|
122509
122510
|
}
|
|
122510
122511
|
)
|
|
@@ -122554,7 +122555,7 @@ function Kat({ theme: e, intent: t }) {
|
|
|
122554
122555
|
}
|
|
122555
122556
|
)
|
|
122556
122557
|
] }),
|
|
122557
|
-
/* @__PURE__ */ se.jsx(
|
|
122558
|
+
/* @__PURE__ */ se.jsx(Ut, { theme: e, testId: "intent", children: Wat[t] })
|
|
122558
122559
|
] });
|
|
122559
122560
|
}
|
|
122560
122561
|
function Zat() {
|
|
@@ -122597,7 +122598,7 @@ function Zat() {
|
|
|
122597
122598
|
] });
|
|
122598
122599
|
}
|
|
122599
122600
|
function oA({ theme: e, onClick: t, disabled: r, children: n, secondary: a, tooltip: o, testId: i, icon: s }) {
|
|
122600
|
-
const [c, u] =
|
|
122601
|
+
const [c, u] = We(!1);
|
|
122601
122602
|
return /* @__PURE__ */ se.jsxs(
|
|
122602
122603
|
"button",
|
|
122603
122604
|
{
|
|
@@ -122634,7 +122635,7 @@ function oA({ theme: e, onClick: t, disabled: r, children: n, secondary: a, tool
|
|
|
122634
122635
|
borderRadius: e.borderRadius,
|
|
122635
122636
|
opacity: c ? 1 : 0
|
|
122636
122637
|
},
|
|
122637
|
-
children: /* @__PURE__ */ se.jsx(
|
|
122638
|
+
children: /* @__PURE__ */ se.jsx(Ut, { theme: e, testId: `${i}_tooltip`, small: !0, children: o })
|
|
122638
122639
|
}
|
|
122639
122640
|
),
|
|
122640
122641
|
s && /* @__PURE__ */ se.jsx("span", { className: "multichain__button-icon", children: s })
|
|
@@ -122681,37 +122682,37 @@ function Xat({
|
|
|
122681
122682
|
setInitialChainId: s,
|
|
122682
122683
|
bzzUsdPrice: c
|
|
122683
122684
|
}) {
|
|
122684
|
-
const { address: u } = wr(), l = M_(), d = o.bzzAmount >= uue;
|
|
122685
|
-
let
|
|
122685
|
+
const { address: u } = wr(), l = M_(), [d, f] = We(o.nativeAmount.toString()), h = d === "", b = o.bzzAmount >= uue;
|
|
122686
|
+
let m = !1, g = !1;
|
|
122686
122687
|
if (o.targetAddress)
|
|
122687
122688
|
try {
|
|
122688
|
-
|
|
122689
|
-
const
|
|
122690
|
-
|
|
122689
|
+
m = !0;
|
|
122690
|
+
const w = qr.asHexString(o.targetAddress, { byteLength: 20 });
|
|
122691
|
+
m = !1, w.match(/[A-F]/) && (g = UR.checksumEncode(S7.hexToUint8Array(w)) !== o.targetAddress);
|
|
122691
122692
|
} catch {
|
|
122692
122693
|
}
|
|
122693
|
-
function
|
|
122694
|
+
function C() {
|
|
122694
122695
|
if (u && o.targetAddress) {
|
|
122695
122696
|
if (!l) {
|
|
122696
122697
|
alert("Cannot detect connected chain ID.");
|
|
122697
122698
|
return;
|
|
122698
122699
|
}
|
|
122699
|
-
i((
|
|
122700
|
+
i((w) => ({ ...w, sourceAddress: qr.asHexString(u) })), s(l), a(2);
|
|
122700
122701
|
}
|
|
122701
122702
|
}
|
|
122702
|
-
function
|
|
122703
|
-
const
|
|
122704
|
-
for (const
|
|
122705
|
-
if (
|
|
122706
|
-
const [
|
|
122707
|
-
|
|
122703
|
+
function _() {
|
|
122704
|
+
const w = [];
|
|
122705
|
+
for (const k in localStorage)
|
|
122706
|
+
if (k.startsWith(`${Qat}_`)) {
|
|
122707
|
+
const [P, j] = k.split("_"), A = localStorage.getItem(k);
|
|
122708
|
+
A && w.push({ privateKey: A, date: new Date(Number(j)).toLocaleString() });
|
|
122708
122709
|
}
|
|
122709
|
-
if (!
|
|
122710
|
+
if (!w.length) {
|
|
122710
122711
|
alert("No session keys found in local storage.");
|
|
122711
122712
|
return;
|
|
122712
122713
|
}
|
|
122713
|
-
const
|
|
122714
|
-
|
|
122714
|
+
const y = new Blob([JSON.stringify(w, null, 2)], { type: "application/json" }), E = URL.createObjectURL(y), x = document.createElement("a");
|
|
122715
|
+
x.href = E, x.download = "multichain-private-keys.json", x.click();
|
|
122715
122716
|
}
|
|
122716
122717
|
return /* @__PURE__ */ se.jsxs(
|
|
122717
122718
|
"div",
|
|
@@ -122721,9 +122722,9 @@ function Xat({
|
|
|
122721
122722
|
children: [
|
|
122722
122723
|
/* @__PURE__ */ se.jsx(Kat, { theme: e, intent: n }),
|
|
122723
122724
|
/* @__PURE__ */ se.jsxs(Zs, { theme: e, children: [
|
|
122724
|
-
/* @__PURE__ */ se.jsxs(
|
|
122725
|
+
/* @__PURE__ */ se.jsxs(Ut, { theme: e, testId: "target-address-input__label", children: [
|
|
122725
122726
|
"Target Address",
|
|
122726
|
-
/* @__PURE__ */ se.jsx(
|
|
122727
|
+
/* @__PURE__ */ se.jsx(Ca, { theme: e, color: e.buttonBackgroundColor, children: "*" })
|
|
122727
122728
|
] }),
|
|
122728
122729
|
/* @__PURE__ */ se.jsx(
|
|
122729
122730
|
FR,
|
|
@@ -122731,36 +122732,45 @@ function Xat({
|
|
|
122731
122732
|
theme: e,
|
|
122732
122733
|
placeholder: "0x...",
|
|
122733
122734
|
value: o.targetAddress,
|
|
122734
|
-
onChange: (
|
|
122735
|
+
onChange: (w) => i((y) => ({ ...y, targetAddress: w })),
|
|
122735
122736
|
testId: "target-address-input"
|
|
122736
122737
|
}
|
|
122737
122738
|
)
|
|
122738
122739
|
] }),
|
|
122739
|
-
t === "funding" ? /* @__PURE__ */ se.jsx(
|
|
122740
|
+
t === "funding" ? /* @__PURE__ */ se.jsx(
|
|
122741
|
+
Vat,
|
|
122742
|
+
{
|
|
122743
|
+
theme: e,
|
|
122744
|
+
swapData: o,
|
|
122745
|
+
setSwapData: i,
|
|
122746
|
+
setNativeAmountRaw: f
|
|
122747
|
+
}
|
|
122748
|
+
) : t === "batch" ? /* @__PURE__ */ se.jsx(Gat, { theme: e, library: r, swapData: o, setSwapData: i }) : null,
|
|
122740
122749
|
/* @__PURE__ */ se.jsx(TU, { chainStatus: "none", showBalance: !1 }),
|
|
122741
122750
|
/* @__PURE__ */ se.jsx(
|
|
122742
122751
|
oA,
|
|
122743
122752
|
{
|
|
122744
122753
|
theme: e,
|
|
122745
|
-
onClick:
|
|
122746
|
-
disabled: !u || !o.targetAddress || !
|
|
122754
|
+
onClick: C,
|
|
122755
|
+
disabled: !u || !o.targetAddress || !b || h || m || g || c === null,
|
|
122747
122756
|
testId: "continue",
|
|
122748
122757
|
children: "Continue"
|
|
122749
122758
|
}
|
|
122750
122759
|
),
|
|
122751
|
-
!
|
|
122760
|
+
!b && /* @__PURE__ */ se.jsx(Ut, { theme: e, testId: "error-not-enough-bzz", children: /* @__PURE__ */ se.jsxs(Ca, { theme: e, color: e.errorTextColor, small: !0, children: [
|
|
122752
122761
|
"*At least ",
|
|
122753
122762
|
uue,
|
|
122754
122763
|
" xBZZ is required to perform the swap."
|
|
122755
122764
|
] }) }),
|
|
122756
|
-
|
|
122757
|
-
|
|
122765
|
+
m && /* @__PURE__ */ se.jsx(Ut, { theme: e, testId: "error-invalid-address", children: /* @__PURE__ */ se.jsx(Ca, { theme: e, color: e.errorTextColor, small: !0, children: "*Address is not a valid Ethereum address." }) }),
|
|
122766
|
+
g && /* @__PURE__ */ se.jsx(Ut, { theme: e, testId: "error-bad-address-checksum", children: /* @__PURE__ */ se.jsx(Ca, { theme: e, color: e.errorTextColor, small: !0, children: "*Address has an invalid checksum. Please check and try again." }) }),
|
|
122767
|
+
h && /* @__PURE__ */ se.jsx(Ut, { theme: e, testId: "error-bad-address-checksum", children: /* @__PURE__ */ se.jsx(Ca, { theme: e, color: e.errorTextColor, small: !0, children: "*Please enter the amount of xDAI you want to swap (0-10)." }) }),
|
|
122758
122768
|
/* @__PURE__ */ se.jsx(
|
|
122759
122769
|
oA,
|
|
122760
122770
|
{
|
|
122761
122771
|
theme: e,
|
|
122762
122772
|
secondary: !0,
|
|
122763
|
-
onClick:
|
|
122773
|
+
onClick: _,
|
|
122764
122774
|
testId: "export-keys",
|
|
122765
122775
|
tooltip: "If swapping fails or is interrupted, you can export the helper private keys generated by this application and import them in your wallet manager later to recover your funds manually.",
|
|
122766
122776
|
icon: /* @__PURE__ */ se.jsx(Zat, {}),
|
|
@@ -122814,7 +122824,7 @@ function rot(e, t, r) {
|
|
|
122814
122824
|
return {
|
|
122815
122825
|
...n,
|
|
122816
122826
|
viemChains: a?.map((o) => o.viemChain),
|
|
122817
|
-
chains: a || [Gu(
|
|
122827
|
+
chains: a || [Gu(Pa)]
|
|
122818
122828
|
};
|
|
122819
122829
|
}, [n.data, n.data?.chains, n.error, n.isLoading]);
|
|
122820
122830
|
}
|
|
@@ -122856,8 +122866,8 @@ function dr({ theme: e, children: t, status: r, testId: n, tx: a }) {
|
|
|
122856
122866
|
let o = /* @__PURE__ */ se.jsx(m7, { color: "#AAAAAA", testId: `${n}__pending` });
|
|
122857
122867
|
return r === "skipped" && (o = /* @__PURE__ */ se.jsx(m7, { color: "#FFDC00", testId: `${n}__skipped` })), r === "completed" && (o = /* @__PURE__ */ se.jsx(m7, { color: "#2ECC40", testId: `${n}__completed` })), r === "in-progress" && (o = /* @__PURE__ */ se.jsx(not, { testId: `${n}__in-progress` })), r === "failed" && (o = /* @__PURE__ */ se.jsx(m7, { color: "#FF4136", testId: `${n}__failed` })), /* @__PURE__ */ se.jsxs("div", { className: "multichain__row", "data-test-id": n, children: [
|
|
122858
122868
|
o,
|
|
122859
|
-
/* @__PURE__ */ se.jsx(
|
|
122860
|
-
a && /* @__PURE__ */ se.jsx(
|
|
122869
|
+
/* @__PURE__ */ se.jsx(Ut, { theme: e, testId: `${n}__description`, children: t }),
|
|
122870
|
+
a && /* @__PURE__ */ se.jsx(Ut, { theme: e, testId: `${n}__metadata`, children: /* @__PURE__ */ se.jsx(
|
|
122861
122871
|
"a",
|
|
122862
122872
|
{
|
|
122863
122873
|
href: a,
|
|
@@ -122917,8 +122927,8 @@ function lue({ theme: e, leftLabel: t, rightLabel: r, testId: n }) {
|
|
|
122917
122927
|
fontWeight: e.fontWeight
|
|
122918
122928
|
},
|
|
122919
122929
|
children: [
|
|
122920
|
-
/* @__PURE__ */ se.jsx(
|
|
122921
|
-
/* @__PURE__ */ se.jsx(
|
|
122930
|
+
/* @__PURE__ */ se.jsx(Ut, { theme: e, testId: `${n}__left`, children: t }),
|
|
122931
|
+
/* @__PURE__ */ se.jsx(Ut, { theme: e, testId: `${n}__right`, small: !0, secondary: !0, children: r })
|
|
122922
122932
|
]
|
|
122923
122933
|
}
|
|
122924
122934
|
);
|
|
@@ -122964,7 +122974,7 @@ function cot(e) {
|
|
|
122964
122974
|
amount: e.batchAmount.toString(),
|
|
122965
122975
|
blockNumber: a.blockNumber
|
|
122966
122976
|
};
|
|
122967
|
-
console.log("Postage batch created", o), postMessage(o, "*"), t.set("batchId", n.batchId);
|
|
122977
|
+
console.log("Postage batch created", o), window.parent.postMessage(o, "*"), t.set("batchId", n.batchId);
|
|
122968
122978
|
}
|
|
122969
122979
|
};
|
|
122970
122980
|
}
|
|
@@ -122988,7 +122998,7 @@ function lot(e) {
|
|
|
122988
122998
|
amount: e.batchAmount.toString(),
|
|
122989
122999
|
blockNumber: "0x2aa1944"
|
|
122990
123000
|
};
|
|
122991
|
-
console.log("Postage batch created", n), postMessage(n, "*"), t.set("batchId", r);
|
|
123001
|
+
console.log("Postage batch created", n), window.parent.postMessage(n, "*"), t.set("batchId", r);
|
|
122992
123002
|
}
|
|
122993
123003
|
};
|
|
122994
123004
|
}
|
|
@@ -123182,7 +123192,7 @@ function mot() {
|
|
|
123182
123192
|
});
|
|
123183
123193
|
}
|
|
123184
123194
|
function due({ theme: e, value: t, label: r, onChange: n, onChangeGuard: a, options: o, testId: i }) {
|
|
123185
|
-
const [s, c] =
|
|
123195
|
+
const [s, c] = We(!1), u = o.find((l) => l.value === t);
|
|
123186
123196
|
return /* @__PURE__ */ se.jsxs("div", { className: "multichain__select-container", children: [
|
|
123187
123197
|
/* @__PURE__ */ se.jsxs(
|
|
123188
123198
|
"button",
|
|
@@ -123207,10 +123217,10 @@ function due({ theme: e, value: t, label: r, onChange: n, onChangeGuard: a, opti
|
|
|
123207
123217
|
children: [
|
|
123208
123218
|
/* @__PURE__ */ se.jsxs("div", { className: "multichain__select-left", children: [
|
|
123209
123219
|
u && u.image ? /* @__PURE__ */ se.jsx("img", { src: u.image, alt: u.label, className: "multichain__select-img" }) : void 0,
|
|
123210
|
-
/* @__PURE__ */ se.jsx(
|
|
123220
|
+
/* @__PURE__ */ se.jsx(Ut, { theme: e, testId: `${i}__loading`, children: u ? u.label : "Loading..." })
|
|
123211
123221
|
] }),
|
|
123212
123222
|
/* @__PURE__ */ se.jsxs("div", { className: "multichain__row", children: [
|
|
123213
|
-
r !== void 0 ? /* @__PURE__ */ se.jsx(
|
|
123223
|
+
r !== void 0 ? /* @__PURE__ */ se.jsx(Ut, { theme: e, testId: `${i}__selected`, small: !0, secondary: !0, children: r }) : null,
|
|
123214
123224
|
/* @__PURE__ */ se.jsx(
|
|
123215
123225
|
"svg",
|
|
123216
123226
|
{
|
|
@@ -123259,7 +123269,7 @@ function due({ theme: e, value: t, label: r, onChange: n, onChangeGuard: a, opti
|
|
|
123259
123269
|
},
|
|
123260
123270
|
children: [
|
|
123261
123271
|
l.image ? /* @__PURE__ */ se.jsx("img", { src: l.image, alt: l.label, className: "multichain__select-img" }) : void 0,
|
|
123262
|
-
/* @__PURE__ */ se.jsx(
|
|
123272
|
+
/* @__PURE__ */ se.jsx(Ut, { theme: e, testId: `${i}__${l.value}`, children: l.label })
|
|
123263
123273
|
]
|
|
123264
123274
|
},
|
|
123265
123275
|
l.value
|
|
@@ -123269,7 +123279,7 @@ function due({ theme: e, value: t, label: r, onChange: n, onChangeGuard: a, opti
|
|
|
123269
123279
|
] });
|
|
123270
123280
|
}
|
|
123271
123281
|
function hot({ theme: e, mode: t, hooks: r, setTab: n, swapData: a, initialChainId: o, library: i, bzzUsdPrice: s }) {
|
|
123272
|
-
const [c, u] =
|
|
123282
|
+
const [c, u] = We(o), [l, d] = We(i.constants.nullAddress), [f, h] = We(null), [b, m] = We(null), [g, C] = We(!0), [_, w] = We(null), [y, E] = We("pending"), [x, k] = We({}), [P, j] = We({}), A = hhe({ chains: _be }), I = F3e(), { chains: O } = rot(), S = Ofe(), z = O && S ? O.filter((ae) => S.some((we) => ae.id === we.id)) : [], { data: L } = eot("https://api.relay.link", { chainIds: [c] }), { switchChainAsync: F } = Ife(), q = _?.details?.currencyIn, H = q?.amount && q.currency?.decimals ? new qR(q?.amount, q?.currency?.decimals) : null, N = z.find((ae) => ae.id === c)?.displayName || "N/A", D = (L || []).find((ae) => ae.address === l), U = D ? D.symbol : "N/A", V = An.xBZZ.fromFloat(a.bzzAmount), Q = a.nativeAmount + i.constants.daiDustAmount.toFloat(), K = V.toFloat() * s, Z = (K + Q) * 1.1, J = f && H ? f.value >= H.value : !0, { sendTransactionAsync: Y } = q3e();
|
|
123273
123283
|
ct(() => {
|
|
123274
123284
|
if (l)
|
|
123275
123285
|
return Oat.multicall([
|
|
@@ -123419,10 +123429,10 @@ function hot({ theme: e, mode: t, hooks: r, setTab: n, swapData: a, initialChain
|
|
|
123419
123429
|
k(ge);
|
|
123420
123430
|
},
|
|
123421
123431
|
onError: async (ge) => {
|
|
123422
|
-
console.error("Swap flow error:", ge), await r.onFatalError(ge), postMessage({ event: "error", error: ge }, "*");
|
|
123432
|
+
console.error("Swap flow error:", ge), await r.onFatalError(ge), window.parent.postMessage({ event: "error", error: ge }, "*");
|
|
123423
123433
|
},
|
|
123424
123434
|
onFinish: async () => {
|
|
123425
|
-
await r.onCompletion(), postMessage({ event: "finish" }, "*");
|
|
123435
|
+
await r.onCompletion(), window.parent.postMessage({ event: "finish" }, "*");
|
|
123426
123436
|
}
|
|
123427
123437
|
});
|
|
123428
123438
|
const de = mot(), he = await de.couldLock();
|
|
@@ -123434,7 +123444,7 @@ function hot({ theme: e, mode: t, hooks: r, setTab: n, swapData: a, initialChain
|
|
|
123434
123444
|
const ge = (he.getTime() - Date.now()) / 1e3, Ee = new Error(
|
|
123435
123445
|
`Another swap is currently in progress. Please wait ${Math.ceil(ge)} seconds and try again.`
|
|
123436
123446
|
);
|
|
123437
|
-
console.error("Swap flow error:", Ee), await r.onFatalError(Ee), postMessage({ event: "error", error: Ee }, "*");
|
|
123447
|
+
console.error("Swap flow error:", Ee), await r.onFatalError(Ee), window.parent.postMessage({ event: "error", error: Ee }, "*");
|
|
123438
123448
|
}
|
|
123439
123449
|
}
|
|
123440
123450
|
return /* @__PURE__ */ se.jsxs(
|
|
@@ -123464,7 +123474,7 @@ function hot({ theme: e, mode: t, hooks: r, setTab: n, swapData: a, initialChain
|
|
|
123464
123474
|
testId: "readonly-source-address"
|
|
123465
123475
|
}
|
|
123466
123476
|
) }),
|
|
123467
|
-
/* @__PURE__ */ se.jsx(
|
|
123477
|
+
/* @__PURE__ */ se.jsx(Ut, { theme: e, testId: "symbol-right", children: "→" }),
|
|
123468
123478
|
/* @__PURE__ */ se.jsx("div", { className: "multichain__column multichain__column--full", children: /* @__PURE__ */ se.jsx(
|
|
123469
123479
|
FR,
|
|
123470
123480
|
{
|
|
@@ -123476,14 +123486,14 @@ function hot({ theme: e, mode: t, hooks: r, setTab: n, swapData: a, initialChain
|
|
|
123476
123486
|
) })
|
|
123477
123487
|
] }),
|
|
123478
123488
|
y !== "pending" ? /* @__PURE__ */ se.jsxs(se.Fragment, { children: [
|
|
123479
|
-
/* @__PURE__ */ se.jsx(
|
|
123489
|
+
/* @__PURE__ */ se.jsx(Ut, { theme: e, testId: "duration-info", small: !0, secondary: !0, children: "Please allow up to 5 minutes for the steps to complete." }),
|
|
123480
123490
|
t === "funding" ? /* @__PURE__ */ se.jsx(oot, { theme: e, progress: x, metadata: P }) : t === "batch" ? /* @__PURE__ */ se.jsx(aot, { theme: e, progress: x, metadata: P }) : null
|
|
123481
123491
|
] }) : null,
|
|
123482
123492
|
y === "pending" ? /* @__PURE__ */ se.jsxs(se.Fragment, { children: [
|
|
123483
123493
|
/* @__PURE__ */ se.jsxs(Zs, { theme: e, children: [
|
|
123484
|
-
/* @__PURE__ */ se.jsxs(
|
|
123494
|
+
/* @__PURE__ */ se.jsxs(Ut, { theme: e, testId: "source-chain-input__label", children: [
|
|
123485
123495
|
"Select the Source Chain",
|
|
123486
|
-
/* @__PURE__ */ se.jsx(
|
|
123496
|
+
/* @__PURE__ */ se.jsx(Ca, { theme: e, color: e.buttonBackgroundColor, children: "*" })
|
|
123487
123497
|
] }),
|
|
123488
123498
|
/* @__PURE__ */ se.jsx(
|
|
123489
123499
|
due,
|
|
@@ -123512,16 +123522,16 @@ function hot({ theme: e, mode: t, hooks: r, setTab: n, swapData: a, initialChain
|
|
|
123512
123522
|
)
|
|
123513
123523
|
] }),
|
|
123514
123524
|
/* @__PURE__ */ se.jsxs(Zs, { theme: e, children: [
|
|
123515
|
-
/* @__PURE__ */ se.jsxs(
|
|
123525
|
+
/* @__PURE__ */ se.jsxs(Ut, { theme: e, testId: "source-token-input__label", children: [
|
|
123516
123526
|
"Select the Source Token",
|
|
123517
|
-
/* @__PURE__ */ se.jsx(
|
|
123527
|
+
/* @__PURE__ */ se.jsx(Ca, { theme: e, color: e.buttonBackgroundColor, children: "*" })
|
|
123518
123528
|
] }),
|
|
123519
123529
|
/* @__PURE__ */ se.jsx(
|
|
123520
123530
|
due,
|
|
123521
123531
|
{
|
|
123522
123532
|
theme: e,
|
|
123523
123533
|
onChange: (ae) => {
|
|
123524
|
-
h(null), d(ae);
|
|
123534
|
+
ae !== l && (h(null), d(ae));
|
|
123525
123535
|
},
|
|
123526
123536
|
value: l,
|
|
123527
123537
|
options: (L || []).filter((ae) => ae.address).map((ae) => ({
|
|
@@ -123540,7 +123550,7 @@ function hot({ theme: e, mode: t, hooks: r, setTab: n, swapData: a, initialChain
|
|
|
123540
123550
|
}
|
|
123541
123551
|
)
|
|
123542
123552
|
] }),
|
|
123543
|
-
H && b ? /* @__PURE__ */ se.jsxs(
|
|
123553
|
+
H && b ? /* @__PURE__ */ se.jsxs(Ut, { theme: e, small: !0, secondary: !0, testId: "swap-summary", children: [
|
|
123544
123554
|
"You will swap ",
|
|
123545
123555
|
TI.toSignificantDigits(H.toDecimalString(), 3),
|
|
123546
123556
|
" ",
|
|
@@ -123551,7 +123561,7 @@ function hot({ theme: e, mode: t, hooks: r, setTab: n, swapData: a, initialChain
|
|
|
123551
123561
|
" ",
|
|
123552
123562
|
N,
|
|
123553
123563
|
" to fund:"
|
|
123554
|
-
] }) : /* @__PURE__ */ se.jsx(
|
|
123564
|
+
] }) : /* @__PURE__ */ se.jsx(Ut, { theme: e, small: !0, secondary: !0, testId: "swap-summary", children: "Swap details are loading..." }),
|
|
123555
123565
|
/* @__PURE__ */ se.jsxs("div", { className: "multichain__row", children: [
|
|
123556
123566
|
/* @__PURE__ */ se.jsx("div", { className: "multichain__column multichain__column--full", children: /* @__PURE__ */ se.jsx(
|
|
123557
123567
|
lue,
|
|
@@ -123594,7 +123604,7 @@ const h7 = "multichain-session-key";
|
|
|
123594
123604
|
function bot({ theme: e, mode: t, hooks: r, library: n, intent: a, destination: o, dai: i, bzz: s }) {
|
|
123595
123605
|
const c = qr.asHexString(localStorage.getItem(h7) || Hq.randomHex(64));
|
|
123596
123606
|
localStorage.getItem(h7) !== c && (localStorage.setItem(h7, c), localStorage.setItem(`${h7}_${Date.now()}`, c));
|
|
123597
|
-
const [u, l] =
|
|
123607
|
+
const [u, l] = We(null), [d, f] = We({
|
|
123598
123608
|
bzzAmount: s,
|
|
123599
123609
|
nativeAmount: i,
|
|
123600
123610
|
sourceAddress: "",
|
|
@@ -123607,7 +123617,7 @@ function bot({ theme: e, mode: t, hooks: r, library: n, intent: a, destination:
|
|
|
123607
123617
|
)
|
|
123608
123618
|
)
|
|
123609
123619
|
)
|
|
123610
|
-
}), [h, b] =
|
|
123620
|
+
}), [h, b] = We(1), [m, g] = We(null);
|
|
123611
123621
|
return ct(() => Pn.runAndSetInterval(async () => {
|
|
123612
123622
|
const C = await n.getGnosisBzzTokenPrice();
|
|
123613
123623
|
l(C);
|
|
@@ -123641,7 +123651,7 @@ function bot({ theme: e, mode: t, hooks: r, library: n, intent: a, destination:
|
|
|
123641
123651
|
const yot = new n3e();
|
|
123642
123652
|
hhe({
|
|
123643
123653
|
baseApiUrl: W_,
|
|
123644
|
-
chains: [Gu(
|
|
123654
|
+
chains: [Gu(Pa)]
|
|
123645
123655
|
});
|
|
123646
123656
|
function fit({ theme: e, hooks: t, settings: r, intent: n, destination: a, dai: o, bzz: i }) {
|
|
123647
123657
|
const s = RC.deepMerge2(Mat(), e || {}), c = RC.deepMerge2(Rat(), t || {}), u = new An.MultichainLibrary(r), l = ks("destination"), d = ks("intent").toLowerCase(), f = ks("dai"), h = ks("bzz"), b = ks("mode").toLowerCase(), m = a || l || "", g = n || (d === "initial-funding" ? "initial-funding" : d === "postage-batch" ? "postage-batch" : "arbitrary"), C = o || (f ? Number(f) : 0.5), _ = i || (h ? Number(h) : 10), w = b === "batch" ? "batch" : "funding";
|
|
@@ -123687,7 +123697,7 @@ export {
|
|
|
123687
123697
|
nfe as X,
|
|
123688
123698
|
wi as Y,
|
|
123689
123699
|
cM as Z,
|
|
123690
|
-
|
|
123700
|
+
Aa as _,
|
|
123691
123701
|
h2e as a,
|
|
123692
123702
|
wo as a0,
|
|
123693
123703
|
zu as a1,
|
|
@@ -123696,7 +123706,7 @@ export {
|
|
|
123696
123706
|
Qxe as a4,
|
|
123697
123707
|
c_ as a5,
|
|
123698
123708
|
Y7 as a6,
|
|
123699
|
-
|
|
123709
|
+
Pa as a7,
|
|
123700
123710
|
zTe as a8,
|
|
123701
123711
|
Tpe as a9,
|
|
123702
123712
|
St as aA,
|
|
@@ -123744,7 +123754,7 @@ export {
|
|
|
123744
123754
|
oz as e,
|
|
123745
123755
|
Xs as f,
|
|
123746
123756
|
QR as g,
|
|
123747
|
-
|
|
123757
|
+
Ta as h,
|
|
123748
123758
|
A_ as i,
|
|
123749
123759
|
Wr as j,
|
|
123750
123760
|
dde as k,
|